Page 1 of 2

Unknown Status

Posted: Thu Nov 10, 2016 3:37 am
by bashar.abed
EDIT: Please wrap output in code tags

Hi,
I am Network administrator at Nagios System,
Information about My system:-
-Nagios XI
-Nagios version 5.3.2
-Nagios VM

My case is :- We have a server (Physical HP DL 380 G6) already added to Nagios System to check CPU,Memory and All Disk status ,the Service Status were running well , suddenly the services status become Unknown status ,i applied this command in Nagios "snmpwalk -v2c -c jawwal-snmp X.X.X.X", I see this logs

Code: Select all

Error in packet.
Reason: (genError) A general failure occured
Failed object: TCP-MIB::tcpConnectionState.unknown."".49179.unknown."".
I requested from Server administrator to restart the SNMP service and restart the server"HP DL 380 G6",the CPU become Okو but the Memory and ALL disk are still unknown status ,then I applied this command again "snmpwalk -v2c -c jawwal-snmp X.X.X.X" and i see this logs

Code: Select all

HOST-RESOURCES-MIB::hrStorageAllocationFailures.1 = Counter32: 0
HOST-RESOURCES-MIB::hrStorageAllocationFailures.2 = Counter32: 0
Timeout: No Response from X.X.X.X
You can see the attached file about this status

So we need to help us what is problem and how can solve it from Nagios system or from Server side
Thanks

Re: Unknown Status

Posted: Thu Nov 10, 2016 11:37 am
by avandemore
Please show the service definition for All Disks Usage and Memory Usage.

Also use the Run Check Command feature and post the output.

Re: Unknown Status

Posted: Thu Nov 10, 2016 12:44 pm
by bashar.abed
Hi ,
Can you send me the commands to check the service definition for disk and memory and run check command feature
Thanks

Re: Unknown Status

Posted: Thu Nov 10, 2016 1:01 pm
by avandemore
XI > Configure > CCM > Services > {Your Service}

Re: Unknown Status

Posted: Thu Nov 10, 2016 3:03 pm
by bashar.abed
Hi,

i send the files in private email for you

thanks

Re: Unknown Status

Posted: Thu Nov 10, 2016 4:45 pm
by avandemore
Please use the Run Check Command for All Disks Usageand Memory Usage and show the output for each.

Re: Unknown Status

Posted: Fri Nov 11, 2016 3:21 pm
by bashar.abed
Hi
How I can use run check command , send me the details about it

Re: Unknown Status

Posted: Mon Nov 14, 2016 10:05 am
by avandemore
It looks like this:
run_check_command.png

Re: Unknown Status

Posted: Sun Nov 20, 2016 9:05 am
by bashar.abed
Hi,

please see the below Run Check Command

All Disks Usage :-
[nagios@nms ~]# /usr/local/nagios/libexec/check_snmp_storage.pl -H x.x.x.x -C jawwal-snmp --v2c -m '^' -S --short=0,1,3 -w 90 -c 95 -f --storagetype=FixedDisk
ERROR: General time-out (Alarm signal)

Memory:-
[nagios@nms ~]# /usr/local/nagios/libexec/check_snmp_storage.pl -H x.x.x.x -C jawwal-snmp --v2c -m 'Physical Memory' -w 90 -c 95 -f
ERROR: General time-out (Alarm signal)

Re: Unknown Status

Posted: Mon Nov 21, 2016 10:12 am
by avandemore
We don't support 3rd party plugins so your best recourse is to ask the author. I believe this is their site:

http://nagios.manubulon.com/snmp_storage.html

That being said, I can give you a few pointers. First your command is timing out. There is a default timeout of 5 seconds for the plugin I linked to. You can try altering that. Also you should confirm SNMP is working, you can try this from the Nagios system:

Code: Select all

snmpwalk -v 2c -c jawwal-snmp x.x.x.x 1.3.6.1.2.1.25.2
If that doesn't return any data, you'll need to check things like is the host present, firewall issues, and if the SNMP service is running an configured appropriately on the target system.