/[pdpsoft]/trunk/nl.nikhef.ndpf.tools/nagios-cmdline-tools/bin/force_host_check.sh
ViewVC logotype

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 742 - (show annotations) (download) (as text)
Fri Sep 4 13:41:45 2009 UTC (13 years, 1 month ago) by ronalds
File MIME type: application/x-shellscript
File size: 223 byte(s)
Fixing some time stamps

1 #!/bin/sh
2 # Submit the SCHEDULE_FORCED_SVC_CHECK command to Nagios
3
4 now=`date +%s`
5 commandfile='/var/log/nagios/rw/nagios.cmd'
6 host=$1
7
8 /usr/bin/printf "[%lu] SCHEDULE_FORCED_HOST_CHECK;$host;%ul\n" $now $now> $commandfile

Properties

Name Value
svn:keywords id

grid.support@nikhef.nl
ViewVC Help
Powered by ViewVC 1.1.28