XI snmp check: Physical memory error
-
ericssonvietnam
- Posts: 239
- Joined: Mon Jun 27, 2016 11:05 pm
XI snmp check: Physical memory error
./check_snmp_storage_wizard.pl -H hnrbt2 -C public --v2c -m Physical -w 80 -c 90 -f
Unknown storage : Physical : ERROR
./check_snmp_storage_wizard.pl -H HCSMS1-DB1 -C public --v2c -m Physical -w 80 -c 90 -f
Physical memory: 40%used(6568MB/16242MB) (<80%) : OK | 'Physical_memory'=6568MB;12994;14618;0;16242
I can ensure identical snmpd.conf on both client still i am getting above error for one and for others it's working fine. Any idea?
Also, is there any snmp config file other than snmpd.conf which should be identical across all client node get same result ?
Client integrated are solaris , susue and Linux. Planning to enroll windows in future..please suggest.
Also,
And what's wrong with this command ?
./check_snmp_mem.pl -H hnrbt2 -C public -2 -w 0 -c 98 -f
2 warnings and critical !
Usage: ./check_snmp_mem.pl [-v] -H <host> -C <snmp_community> [-2] | (-l login -x passwd [-X pass -L <authp>,<privp>]) [-p <port>] -w <warn level> -c <crit level> [-I|-N|-E] [-f] [-m] [-t <timeout>] [-V]
I am running XI latest version on redhat 6.
Unknown storage : Physical : ERROR
./check_snmp_storage_wizard.pl -H HCSMS1-DB1 -C public --v2c -m Physical -w 80 -c 90 -f
Physical memory: 40%used(6568MB/16242MB) (<80%) : OK | 'Physical_memory'=6568MB;12994;14618;0;16242
I can ensure identical snmpd.conf on both client still i am getting above error for one and for others it's working fine. Any idea?
Also, is there any snmp config file other than snmpd.conf which should be identical across all client node get same result ?
Client integrated are solaris , susue and Linux. Planning to enroll windows in future..please suggest.
Also,
And what's wrong with this command ?
./check_snmp_mem.pl -H hnrbt2 -C public -2 -w 0 -c 98 -f
2 warnings and critical !
Usage: ./check_snmp_mem.pl [-v] -H <host> -C <snmp_community> [-2] | (-l login -x passwd [-X pass -L <authp>,<privp>]) [-p <port>] -w <warn level> -c <crit level> [-I|-N|-E] [-f] [-m] [-t <timeout>] [-V]
I am running XI latest version on redhat 6.
Re: XI snmp check: Physical memory error
What OS are running on the servers called hnrbt2 and HCSMS1-DB1?
If the one is failing is running Solaris, the command will have to be changed from Physical to Real as the memory description are not the same as a Linux system.
Try running this instead.
What version of the check_snmp_mem.pl do you have installed? Run this and post the output.
Take a look at this site to see if you are running the latest version and for examples of the command line variables.
http://nagios.manubulon.com/snmp_mem.html
If the one is failing is running Solaris, the command will have to be changed from Physical to Real as the memory description are not the same as a Linux system.
Try running this instead.
Code: Select all
./check_snmp_storage_wizard.pl -H hnrbt2 -C public --v2c -m Real -w 80 -c 90 -fCode: Select all
/usr/local/nagios/libexec/check_snmp_mem.pl -Vhttp://nagios.manubulon.com/snmp_mem.html
Be sure to check out our Knowledgebase for helpful articles and solutions!
-
ericssonvietnam
- Posts: 239
- Joined: Mon Jun 27, 2016 11:05 pm
Re: XI snmp check: Physical memory error
[nagios@nagiosxi libexec]$ /usr/local/nagios/libexec/check_snmp_mem.pl -V
check_snmp_mem version : 1.1
Same issue we are facing with "CPU usage" getting the below alert on few boxes .
"Can't find CPU usage information : UNKNOWN"
check_snmp_mem version : 1.1
Same issue we are facing with "CPU usage" getting the below alert on few boxes .
"Can't find CPU usage information : UNKNOWN"
-
ericssonvietnam
- Posts: 239
- Joined: Mon Jun 27, 2016 11:05 pm
Re: XI snmp check: Physical memory error
we are getting "Can't find CPU usage information : UNKNOWN" message for few Linux servers but on most of the Linux servers its working fine
[root@nagiosxi libexec]# ./check_snmp_load_wizard.pl -H 10.10.179.11 -C public --v2c -w 90 -c 95 -f
Can't find CPU usage information : UNKNOWN
[root@nagiosxi libexec]# ./check_snmp_load_wizard.pl -H 10.10.179.21 -C public --v2c -w 90 -c 95 -f
4 CPU, average load 1.0% < 90% : OK | cpu_prct_used=1%;90;95
Please have a look and suggest the workaround.
Thanks
[root@nagiosxi libexec]# ./check_snmp_load_wizard.pl -H 10.10.179.11 -C public --v2c -w 90 -c 95 -f
Can't find CPU usage information : UNKNOWN
[root@nagiosxi libexec]# ./check_snmp_load_wizard.pl -H 10.10.179.21 -C public --v2c -w 90 -c 95 -f
4 CPU, average load 1.0% < 90% : OK | cpu_prct_used=1%;90;95
Please have a look and suggest the workaround.
Thanks
Re: XI snmp check: Physical memory error
What OS are running on the "problem" servers?
Run the following commands from the CLI on the Nagios XI server:
and upload "snmpwalk1.txt" and "snmpwalk2.txt" files that were generated in the "/tmp" directory.
Run the following commands from the CLI on the Nagios XI server:
Code: Select all
snmpwalk -v2c -c <community> <client ip> > /tmp/snmpwalk1.txt
snmpwalk -v2c -c <community> <client ip> -On > /tmp/snmpwalk2.txtBe sure to check out our Knowledgebase for helpful articles and solutions!
-
ericssonvietnam
- Posts: 239
- Joined: Mon Jun 27, 2016 11:05 pm
Re: XI snmp check: Physical memory error
These are Redhat Linux OS servers.
After running the above two commands the two blank files "snmpwalk1.txt" and "snmpwalk2.txt" are generated Below is the output of the snmpwalk command :-
[nagios@nagiosxi ~]$ snmpwalk -v2c -c fishingrocks 10.10.179.11 > /tmp/snmpwalk1.txt
No log handling enabled - turning on stderr logging
Cannot find module (NET-SNMP-PASS-MIB): At line 1 in (none)
Cannot find module (NET-SNMP-VACM-MIB): At line 1 in (none)
Timeout: No Response from 10.10.179.11
[nagios@nagiosxi ~]$ snmpwalk -v2c -c fishingrocks 10.10.179.11 -On > /tmp/snmpwalk2.txt
No log handling enabled - turning on stderr logging
Cannot find module (NET-SNMP-PASS-MIB): At line 1 in (none)
Cannot find module (NET-SNMP-VACM-MIB): At line 1 in (none)
Timeout: No Response from 10.10.179.11
After running the above two commands the two blank files "snmpwalk1.txt" and "snmpwalk2.txt" are generated Below is the output of the snmpwalk command :-
[nagios@nagiosxi ~]$ snmpwalk -v2c -c fishingrocks 10.10.179.11 > /tmp/snmpwalk1.txt
No log handling enabled - turning on stderr logging
Cannot find module (NET-SNMP-PASS-MIB): At line 1 in (none)
Cannot find module (NET-SNMP-VACM-MIB): At line 1 in (none)
Timeout: No Response from 10.10.179.11
[nagios@nagiosxi ~]$ snmpwalk -v2c -c fishingrocks 10.10.179.11 -On > /tmp/snmpwalk2.txt
No log handling enabled - turning on stderr logging
Cannot find module (NET-SNMP-PASS-MIB): At line 1 in (none)
Cannot find module (NET-SNMP-VACM-MIB): At line 1 in (none)
Timeout: No Response from 10.10.179.11
Re: XI snmp check: Physical memory error
I am sorry - I copied/pasted my community string by accident. You should use yours - "public" or whatever you are using. Rerun the commands with the correct community string, and post both files.
Code: Select all
snmpwalk -v2c -c <community> <client ip> > /tmp/snmpwalk1.txt
snmpwalk -v2c -c <community> <client ip> -On > /tmp/snmpwalk2.txtBe sure to check out our Knowledgebase for helpful articles and solutions!
-
ericssonvietnam
- Posts: 239
- Joined: Mon Jun 27, 2016 11:05 pm
Re: XI snmp check: Physical memory error
Hi , Please find the attached snmpwalk*.txt files for your reference.
Let me know if your require more info from my side.
Let me know if your require more info from my side.
You do not have the required permissions to view the files attached to this post.
Re: XI snmp check: Physical memory error
Please post a sanitized version of your /etc/snmp/snmpd.conf for the non-working one.
Run this command and send us any output:
Thank you
Run this command and send us any output:
Code: Select all
service snmpd restartThank you
Re: XI snmp check: Physical memory error
Most probably you will need to change the "view systemview included" line in the snmpd.conf (on the remote box) in order to enable access to the "HOST-RESOURCES-MIB".
Stop snmpd:
Open /etc/snmp/snmpd.conf in a text editor, and change this:
to this:
Save, exit, and start snmpd.
Test your check again.
BTW, you can allow full access by changing the line to:
Hope this helps.
Stop snmpd:
Code: Select all
service snmpd stopCode: Select all
view systemview included .1.3.6.1.2.1.25.1.1Code: Select all
view systemview included .1.3.6.1.2.1.25Code: Select all
service snmpd startBTW, you can allow full access by changing the line to:
Code: Select all
view systemview included .1Be sure to check out our Knowledgebase for helpful articles and solutions!