You can try to develop a perl script using the Nagios::Plugin library. It's simple to do so, and there is a sample skeleton script to start with.

http://search.cpan.org/~tonvoon/Nagios-Plugin-0.34/

see the file http://cpansearch.perl.org/src/TONVOON/Nagios-Plugin-0.34/README for instructions and to know where is the example script.

I don't know check_backup_jira..

Bye,
Emilio

Il 21/06/2010 17:28, Greg Fishback ha scritto:

Does anyone have examples of a service check that will monitor a directory to ensure there is always a file wthin X number of hours or days? I'd like to create a monitor for backups. Basically monitor a directory for any file or a specific file to send an alert if no files have been written within a predetermined time frame. I see that Nagios has a [check_backup_jira] command but was wondering how I could tie that all together.

Greg


_______________________________________________
Opsview-users mailing list
[email protected]
http://lists.opsview.org/lists/listinfo/opsview-users

_______________________________________________
Opsview-users mailing list
[email protected]
http://lists.opsview.org/lists/listinfo/opsview-users

Reply via email to