SCHEDULE_HOST_SVC_CHECKS doesn't work
Posted: Mon Jul 17, 2017 3:40 am
Hi
I'm using Nagios Core 4.2.1
Linux version 2.6.32-573.3.1.el6.x86_64
Red Hat Enterprise Linux Server release 6.7 (Santiago)
I send this command to move forward the check time
The script is very simple
#!/bin/bash
ORASTART=`date +%s`
ORAEND=`date +%s -d '12 minutes'`
cmdfile=/var/spool/nagios/cmd/nagios.cmd
echo "[`date +%s`] SCHEDULE_HOST_SVC_CHECKS;$1;$ORAEND" > $cmdfile
I verify that the check time of the services does't change
I am sure that in the past this external command worked well
Any suggestion ?
Thanks
Emilio
I'm using Nagios Core 4.2.1
Linux version 2.6.32-573.3.1.el6.x86_64
Red Hat Enterprise Linux Server release 6.7 (Santiago)
I send this command to move forward the check time
The script is very simple
#!/bin/bash
ORASTART=`date +%s`
ORAEND=`date +%s -d '12 minutes'`
cmdfile=/var/spool/nagios/cmd/nagios.cmd
echo "[`date +%s`] SCHEDULE_HOST_SVC_CHECKS;$1;$ORAEND" > $cmdfile
I verify that the check time of the services does't change
I am sure that in the past this external command worked well
Any suggestion ?
Thanks
Emilio