Scripting within nrpe.cfg
A Cline
aaron.cline at gmail.com
Tue Mar 22 20:58:18 CET 2005
Hello:
I want to use the check_file_age plugin to tell me the age of the
newest file in a directory. Something like this works from the
command-line:
"/usr/local/nagios/libexec/check_file_age -w 600 -c 1200
/usr/hns/pdreceiver/received/`ls -t /usr/hns/pdreceiver/received |
head -n 1`"
but if I try to place this line in the nrpe.cfg file it doesn't work
right. Is there a way to do what I'm trying to accomplish?
Thanks
Aaron
-------------------------------------------------------
This SF.net email is sponsored by: 2005 Windows Mobile Application Contest
Submit applications for Windows Mobile(tm)-based Pocket PCs or Smartphones
for the chance to win $25,000 and application distribution. Enter today at
http://ads.osdn.com/?ad_id=6882&alloc_id=15148&op=click
_______________________________________________
Nagios-users mailing list
Nagios-users at 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
More information about the Users
mailing list