Page 1 of 1

Linux SNMP Monitoring not working for appliance

Posted: Tue May 19, 2020 2:54 am
by deek
Hi

We are trying monitor an appliance through Linux SNMP.
>>Ports 161 and 162 are opened -- We are able to send the request bi directionally.
>>snmpwalk is working fine as well.

While using the nagios Linux SNMP wizard, we are getting snmpwalk error. I have attached the snapshot for your reference.

Thanks
Deepan.

Re: Linux SNMP Monitoring not working for appliance

Posted: Tue May 19, 2020 2:01 pm
by ssax
Do you have any special characters in the SNMP community? Try surrounding the community with single-quotes.

Do you see any updates for the config wizard in Admin > Manage Config Wizards > Check for Updates? If so, please install them.

Just to confirm, snmpwalk from the CLI of the XI server works properly?

Re: Linux SNMP Monitoring not working for appliance

Posted: Thu May 21, 2020 1:45 am
by deek
Hi ssax

Here are my answers
Do you have any special characters in the SNMP community? Try surrounding the community with single-quotes.
<<There is no special characters. Its just a 6 letters string>>

Do you see any updates for the config wizard in Admin > Manage Config Wizards > Check for Updates? If so, please install them.
<<Validated. Its up to date.>>
Just to confirm, snmpwalk from the CLI of the XI server works properly?
<<Validated from both end. snmp walk works fine from the appliance side as well as xi server>>

Attached some documents for your reference.
snmp_port.JPG
-- 161 and 162 port requests
snmpwalk.txt
-- snmpwalk from appliance
snmpd.conf
-- Linux mib

Thanks

Re: Linux SNMP Monitoring not working for appliance

Posted: Thu May 21, 2020 3:44 pm
by ssax
Edit: Please change your snmpd.conf line from this:

Code: Select all

view   systemonly  included   .1.3.6.1.2.1.25.1
To this:

Code: Select all

view   systemonly  included   .1.3.6.1.2.1.25
Then restart snmpd on the remote appliance and test again:

service snmpd restart

Please run this command as root on the XI server:

Code: Select all

tail -Fn0 /var/log/httpd/error_log /var/log/httpd/ssl_error_log /var/log/apache/error.log
Then run through the wizard again and reproduce the error.

Once it fails, PM the entire output of the still running tail command.

Please PM a fresh copy of your profile, you can download it from Admin > System Profile > Download Profile button.

Additionally, do these return anything like the error shows to check? Please send the output.

Code: Select all

snmpwalk -v 2c -c 'COMMUNITY' X.X.X.X:161 HOST-RESOURCES-MIB::hrFSMountPoint -On
snmpwalk -v 2c -c 'COMMUNITY' X.X.X.X:161 HOST-RESOURCES-MIB::hrSWRunName -On
[/s]

Re: Linux SNMP Monitoring not working for appliance

Posted: Tue May 26, 2020 10:37 am
by deek
Hi Ssax

It worked. We were able to connect to the appliance after we made changes to "view systemonly included .1.3.6.1.2.1.25".
Thanks for your support. You can close the case.

Thanks
Deepan

Re: Linux SNMP Monitoring not working for appliance

Posted: Tue May 26, 2020 1:50 pm
by scottwilkerson
deek wrote:Hi Ssax

It worked. We were able to connect to the appliance after we made changes to "view systemonly included .1.3.6.1.2.1.25".
Thanks for your support. You can close the case.

Thanks
Deepan
Great!

Locking thread