• Forums
    • Public Forums
      • Community Connect
      • Dynatrace
        • Dynatrace Open Q&A
      • Application Monitoring & UEM
        • AppMon & UEM Open Q&A
      • Network Application Monitoring
        • NAM Open Q&A
  • Home /
  • Public Forums /
  • Application Monitoring & UEM /
  • AppMon & UEM Open Q&A /
avatar image
Question by Tom C. · Apr 24, 2015 at 08:53 PM · plugins

FTP File Checker

Hello!

Just started using the FTP file checker plugin, and have it all up and running and configured correctly when I put a test file in the FTP folder.

My issue now is that the files written to the FTP folder are within another folder, and that folders name changes constantly. I was curious as to whether this plugin can check another layer, or monitor if a new folder is written into the FTP location.

Thanks in advance!

Tom

Comment

People who like this

0 Show 0
10 |2000000 characters needed characters left characters exceeded
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Toggle Comment visibility. Current Visibility: Viewable by all users

Up to 10 attachments (including images) can be used with a maximum of 50.0 MiB each and 250.0 MiB total.

5 Replies

  • Sort: 
  • Most voted
  • Newest
  • Oldest
avatar image

Answer by Joe H. · Apr 25, 2015 at 12:44 AM

Tom,

The current version of the FTP File Checker Plugin is designed to test for files, not directories.  But I think it would be relatively easy to modify it to also handle directories.  But i'm not sure about the dynamic directory name.  Maybe it could check for the existence of any directory?  Might that work for you?

All plugins come with the source code, so you're welcome to fiddle with it yourself to adjust it to your needs.  Of course it would be great to get your updates posted back to the community. I'm happy to work with you to get that accomplished. Let me know what you decide.

joe

Comment

People who like this

0 Show 0 · Share
10 |2000000 characters needed characters left characters exceeded
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Toggle Comment visibility. Current Visibility: Viewable by all users

Up to 10 attachments (including images) can be used with a maximum of 50.0 MiB each and 250.0 MiB total.

avatar image

Answer by Tom C. · Apr 27, 2015 at 08:52 PM

Hi Joe,

The existence of a new directory would work with certain parameters (how long it had been there or how recently it was written etc)? Basically, files are written to our ftp folder, and if they are successfull they vanish after a minute or so, and if they fail they are written to a different location (with all of the older failed ones still in there). I will have a look at the source, but may be in over my head with it. I will have a nosy and see.

Thanks for your help on this!

Tom

 

Comment

People who like this

0 Show 0 · Share
10 |2000000 characters needed characters left characters exceeded
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Toggle Comment visibility. Current Visibility: Viewable by all users

Up to 10 attachments (including images) can be used with a maximum of 50.0 MiB each and 250.0 MiB total.

avatar image

Answer by Robert S. · May 11, 2015 at 11:22 PM

Hi Tom -

I've provided an update to this plugin. There is now a check for the existence of the specified directory. If the directory does not exist, the DirectoryExists measure is set to 0, along with the FileExists measure (the file is presumed not to exist if its directory does not).

Hope this helps.

Robert Statsiner

Comment

People who like this

0 Show 0 · Share
10 |2000000 characters needed characters left characters exceeded
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Toggle Comment visibility. Current Visibility: Viewable by all users

Up to 10 attachments (including images) can be used with a maximum of 50.0 MiB each and 250.0 MiB total.

avatar image

Answer by Tom C. · May 12, 2015 at 10:08 PM

Hi Robert,

Thanks for the update. I tried installing the plugin, but now I no longer have to option to create a monitor in the dashboard? I tried updating the plugin, which didn't work, and then completely removed and reintalled the plugin? Maybe I am doing something wrong (sad)

Thanks for the extra metric though, this is exactly what I need if I can get it to work! Can it check for the existence of any directory? Or only a specific directory? And could it check for a file within any subdirectory (without a given name, unfortunately the directory names are dynamic).

Tom 

Comment

People who like this

0 Show 0 · Share
10 |2000000 characters needed characters left characters exceeded
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Toggle Comment visibility. Current Visibility: Viewable by all users

Up to 10 attachments (including images) can be used with a maximum of 50.0 MiB each and 250.0 MiB total.

avatar image

Answer by Robert S. · May 18, 2015 at 08:27 PM

Hi Tom -

Sorry for the reply delay. I had no trouble deploying and configuring the new version. What version of Dynatrace are you using?

The plugin can be configured to check for the existence of any directory on the FTP server - you configure it just as you did the previous version (i.e. you pass it a directory name and a file name). It currently only looks for the file you specify in the directory you specify. It sounds like your use case is a little different. The plugin uses a pretty simple FTP client API (see http://www.sauronsoftware.it/projects/ftp4j/) - you should be able to make the plugin do anything that API can do. Hope this helps.

Robert Statsinger

Comment

People who like this

0 Show 0 · Share
10 |2000000 characters needed characters left characters exceeded
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Toggle Comment visibility. Current Visibility: Viewable by all users

Up to 10 attachments (including images) can be used with a maximum of 50.0 MiB each and 250.0 MiB total.

How to get started

First steps in the forum
Read Community User Guide
Best practices of using forum

NAM 2019 SP5 is available


Check the RHEL support added in the latest NAM service pack.

Learn more

LIVE WEBINAR

"Performance Clinic - Monitoring as a Self Service with Dynatrace"


JANUARY 15, 3:00 PM GMT / 10:00 AM ET

Register here

Follow this Question

Answers Answers and Comments

3 People are following this question.

avatar image avatar image avatar image

Related Questions

License Count Plugin support for AppMon 7.0

Oracle Plugin Issue

Monitor Unable to execute on Host

Data power plugin not working! No data in dashboard.

Email Alerting only when error count exceeds particular value in a time interval

Forum Tags

dotnet mobile monitoring load iis 6.5 kubernetes mainframe rest api dashboard framework 7.0 appmon 7 health monitoring adk log monitoring services auto-detection uem webserver test automation license web performance monitoring ios nam probe collector migration mq web services knowledge sharing reports window java hybris javascript appmon sensors good to know extensions search 6.3+ server documentation easytravel web dashboard kibana system profile purelytics docker splunk 6.1 process groups account 7.2 rest dynatrace saas spa guardian appmon administration production user actions postgresql upgrade oneagent measures security Dynatrace Managed transactionflow technologies diagnostics user session monitoring unique users continuous delivery sharing configuration alerting NGINX splitting business transaction client 6.3 installation database scheduler apache mobileapp RUM php dashlet azure purepath agent 7.1 appmonsaas messagebroker nodejs 6.2 android sensor performance warehouse
  • Forums
  • Public Forums
    • Community Connect
    • Dynatrace
      • Dynatrace Open Q&A
    • Application Monitoring & UEM
      • AppMon & UEM Open Q&A
    • Network Application Monitoring
      • NAM Open Q&A