ViewVC logotype

Contents of /trunk/nl.nikhef.ndpf.tools/nagios-cmdline-tools/bin/force_allservice_check.sh

Parent Directory Parent Directory | Revision Log Revision Log

Revision 741 - (show annotations) (download) (as text)
Fri Sep 4 13:01:35 2009 UTC (13 years ago) by ronalds
File MIME type: application/x-shellscript
File size: 284 byte(s)
Draft of nagios-cmdline-tools, a set of shell scripts to interact with
the Nagios daemon via the command line

1 #!/bin/sh
2 # Submit the SCHEDULE_FORCED_HOST_SVC_CHECKS command to Nagios (foces all check
3 # of all services on a host)
5 now=`date +%s`
6 commandfile='/var/log/nagios/rw/nagios.cmd'
7 host=$1
9 /usr/bin/printf "[%lu] SCHEDULE_FORCED_HOST_SVC_CHECKS;$host;1110741500\n" $now > $commandfile


Name Value
svn:keywords id

ViewVC Help
Powered by ViewVC 1.1.28