Linux SNMP Monitoring not working for appliance

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
deek
Posts: 194
Joined: Fri Apr 26, 2019 2:01 am

Linux SNMP Monitoring not working for appliance

Post 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.
You do not have the required permissions to view the files attached to this post.
ssax
Dreams In Code
Posts: 7682
Joined: Wed Feb 11, 2015 12:54 pm

Re: Linux SNMP Monitoring not working for appliance

Post 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?
deek
Posts: 194
Joined: Fri Apr 26, 2019 2:01 am

Re: Linux SNMP Monitoring not working for appliance

Post 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
You do not have the required permissions to view the files attached to this post.
ssax
Dreams In Code
Posts: 7682
Joined: Wed Feb 11, 2015 12:54 pm

Re: Linux SNMP Monitoring not working for appliance

Post 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]
deek
Posts: 194
Joined: Fri Apr 26, 2019 2:01 am

Re: Linux SNMP Monitoring not working for appliance

Post 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
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: Linux SNMP Monitoring not working for appliance

Post 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
Former Nagios employee
Creator:
Human Design Website
Get Your Human Design Chart
Locked