Hello,
Got it. There is no need to use Negate for time script.
Thanks for your support.
Thanks,
Imran Khan.
Search found 196 matches
- Tue Feb 24, 2015 1:24 pm
- Forum: Open Source Nagios Projects
- Topic: Services issues
- Replies: 45
- Views: 15732
- Tue Feb 24, 2015 11:08 am
- Forum: Open Source Nagios Projects
- Topic: Services issues
- Replies: 45
- Views: 15732
Re: Services issues
Hello, As per your suggestion, I have changed the time script usr/local/nagios/libexec/check_snmp_time. Changed if [ ! "$rdatestring" ] ; then echo "Time difference could not be calculated; no time received." exit 3 fi to if [ ! "$rdatestring" ] ; then echo "Time d...
- Mon Feb 23, 2015 6:21 pm
- Forum: Open Source Nagios Projects
- Topic: Services issues
- Replies: 45
- Views: 15732
Re: Services issues
Hello, We have observed that, services of all the servers are going in “UNKNOWN” section instead of “CRITICAL” when server go down. It should show in “CRITICAL” section not in “UNKNOWN”. I have made the changes in Nagios for all the services and all the services return value 2 expect Time Skew servi...
- Mon Feb 23, 2015 1:52 pm
- Forum: Open Source Nagios Projects
- Topic: Services issues
- Replies: 45
- Views: 15732
Re: Services issues
Hello,
Here is the output of check_snmp_time command.
[root@NAGIOS ~]# /usr/local/nagios/libexec/check_snmp_time -H IP Address -C Community -w 30 -c 60 ; echo $?
Time difference is less than 30 seconds: 0|diff=0
0
Thanks,
Imran Khan.
Here is the output of check_snmp_time command.
[root@NAGIOS ~]# /usr/local/nagios/libexec/check_snmp_time -H IP Address -C Community -w 30 -c 60 ; echo $?
Time difference is less than 30 seconds: 0|diff=0
0
Thanks,
Imran Khan.
- Mon Feb 23, 2015 11:35 am
- Forum: Open Source Nagios Projects
- Topic: Services issues
- Replies: 45
- Views: 15732
Re: Services issues
Hello, Thanks for the reply. I have tried to put –t with negate but still getting “No data returned from command” error. Please suggest me on the same. [root@NAGIOS libexec]# ./negate -t 5 -u CRITICAL /usr/local/nagios/libexec/check_snmp_time -H Server_IP -C Community_Name -w 30 -c 60 No data return...
- Tue Feb 17, 2015 6:09 pm
- Forum: Open Source Nagios Projects
- Topic: Services issues
- Replies: 45
- Views: 15732
Re: Services issues
Hello,
Yes I am using same script. Please find the script file with this thread.
Thanks,
Imran Khan.
Yes I am using same script. Please find the script file with this thread.
Thanks,
Imran Khan.
- Tue Feb 17, 2015 2:41 pm
- Forum: Open Source Nagios Projects
- Topic: Services issues
- Replies: 45
- Views: 15732
Re: Services issues
Hello,
OK, so where is the issue?
Thanks,
Imran Khan.
OK, so where is the issue?
Thanks,
Imran Khan.
- Tue Feb 17, 2015 12:56 pm
- Forum: Open Source Nagios Projects
- Topic: Services issues
- Replies: 45
- Views: 15732
Re: Services issues
Hello,
SNMP Service is not running on Nagios box, so above mentioned command will not work.
Thanks,
Imran Khan.
SNMP Service is not running on Nagios box, so above mentioned command will not work.
Thanks,
Imran Khan.
- Mon Feb 16, 2015 5:39 pm
- Forum: Open Source Nagios Projects
- Topic: Services issues
- Replies: 45
- Views: 15732
Re: Services issues
Hello,
There is no special character in community name. My community name is combination of small and capital alphabet.
e.g.:- ComMUnItY
Thanks,
Imran Khan.
There is no special character in community name. My community name is combination of small and capital alphabet.
e.g.:- ComMUnItY
Thanks,
Imran Khan.
- Mon Feb 16, 2015 2:14 pm
- Forum: Open Source Nagios Projects
- Topic: Services issues
- Replies: 45
- Views: 15732
Re: Services issues
Hello,
I am using Negate version 2.0.3.
[root@NAGIOS libexec]# ./negate -V
negate v2.0.3 (nagios-plugins 2.0.3)
Thanks,
Imran Khan.
I am using Negate version 2.0.3.
[root@NAGIOS libexec]# ./negate -V
negate v2.0.3 (nagios-plugins 2.0.3)
Thanks,
Imran Khan.