Just wondering if anyone might have some pointers on a monitoring puzzle I've run into.
We have a couple of automated processes - one of them an automated FTP upload, the other an automated log file gatherer - which wind up causing essentially the same result: new files regularly getting added to a disk directory. I need to set up monitoring on this, since if we're not getting new files showing up then something has crashed and our system won't be getting updated properly. Not quite sure how to do this, though - i.e., which nagios plugin would help me get the job done. I've used the check_file_age plugin successfully in a couple of spots. E.g., to verify that a backup process has been run successfully I perform a unix "touch" on a "last-backup-date" file at the end of the backup, and then have the check_file_age plugin check the age of that file. I don't think I can use that plugin & technique here, however, since: a) Each uploaded file has a different (timestamped) name, which I don't know ahead of time. So I have no way to tell the check_file_age plugin which file to monitor. b) Unlike my backup process, which I wrote and was able to alter to touch the last-backup-date file, I don't have control over the external processes creating/uploading these files. I saw there were some rudimentary directory-monitoring plugins over at the Monitoring Exchange site, but they seem like they can only do things like monitor the number of files in a directory vs. a threshold minimum, which is not quite what I want. (I don't really care about how many files there are in the directory.) Anyone have any suggestions on an existing plugin (either part of the standard Nagios release, or available from Monitoring Exchange) that can help here? I'm not afraid to roll my own plugin if needed, but I'd obviously prefer to save myself some work and use an existing one if possible. Thanks, DR ------------------------------------------------------------------------------ Enter the BlackBerry Developer Challenge This is your chance to win up to $100,000 in prizes! For a limited time, vendors submitting new applications to BlackBerry App World(TM) will have the opportunity to enter the BlackBerry Developer Challenge. See full prize details at: http://p.sf.net/sfu/Challenge _______________________________________________ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null