Parent Directory
|
Revision Log
Fixing some time stamps
1 | ronalds | 741 | #!/bin/sh |
2 | # Submit the SCHEDULE_FORCED_HOST_SVC_CHECKS command to Nagios (foces all check | ||
3 | # of all services on a host) | ||
4 | |||
5 | now=`date +%s` | ||
6 | commandfile='/var/log/nagios/rw/nagios.cmd' | ||
7 | host=$1 | ||
8 | |||
9 | ronalds | 742 | /usr/bin/printf "[%lu] SCHEDULE_FORCED_HOST_SVC_CHECKS;$host;%ul\n" $now $now > $commandfile |
Name | Value |
---|---|
svn:keywords | id |
grid.support@nikhef.nl | ViewVC Help |
Powered by ViewVC 1.1.28 |