Search found 196 matches

by imran_khan
Tue Feb 24, 2015 1:24 pm
Forum: Open Source Nagios Projects
Topic: Services issues
Replies: 45
Views: 15620

Re: Services issues

Hello,

Got it. There is no need to use Negate for time script.

Thanks for your support.

Thanks,
Imran Khan.
by imran_khan
Tue Feb 24, 2015 11:08 am
Forum: Open Source Nagios Projects
Topic: Services issues
Replies: 45
Views: 15620

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...
by imran_khan
Mon Feb 23, 2015 6:21 pm
Forum: Open Source Nagios Projects
Topic: Services issues
Replies: 45
Views: 15620

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...
by imran_khan
Mon Feb 23, 2015 1:52 pm
Forum: Open Source Nagios Projects
Topic: Services issues
Replies: 45
Views: 15620

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.
by imran_khan
Mon Feb 23, 2015 11:35 am
Forum: Open Source Nagios Projects
Topic: Services issues
Replies: 45
Views: 15620

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...
by imran_khan
Tue Feb 17, 2015 6:09 pm
Forum: Open Source Nagios Projects
Topic: Services issues
Replies: 45
Views: 15620

Re: Services issues

Hello,

Yes I am using same script. Please find the script file with this thread.

Thanks,
Imran Khan.
by imran_khan
Tue Feb 17, 2015 2:41 pm
Forum: Open Source Nagios Projects
Topic: Services issues
Replies: 45
Views: 15620

Re: Services issues

Hello,

OK, so where is the issue?

Thanks,
Imran Khan.
by imran_khan
Tue Feb 17, 2015 12:56 pm
Forum: Open Source Nagios Projects
Topic: Services issues
Replies: 45
Views: 15620

Re: Services issues

Hello,

SNMP Service is not running on Nagios box, so above mentioned command will not work.

Thanks,
Imran Khan.
by imran_khan
Mon Feb 16, 2015 5:39 pm
Forum: Open Source Nagios Projects
Topic: Services issues
Replies: 45
Views: 15620

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.
by imran_khan
Mon Feb 16, 2015 2:14 pm
Forum: Open Source Nagios Projects
Topic: Services issues
Replies: 45
Views: 15620

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.