snmpwalk issue

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
manimurugesan
Posts: 145
Joined: Wed Oct 03, 2018 9:15 am

snmpwalk issue

Post by manimurugesan »

Hello Team,

one switch suddenly started showing below warning error

WARNING: Interface noSuchInstance (index 20) is administratively down

my snmp string has special character and i have created macro for that and i tried to re-scan from network wizard using both macro as well original string but it's not fetching any interfaces .

i can run the snmp walk from my putty using my original string ,but snmpwalk is not working for my macro

switch end everything is fine.could you please suggest for this issue
User avatar
mbellerue
Posts: 1403
Joined: Fri Jul 12, 2019 11:10 am

Re: snmpwalk issue

Post by mbellerue »

Hello,

Could you send us your system profile, as well as which host and service is having the issue?
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.

Be sure to check out our Knowledgebase for helpful articles and solutions!
manimurugesan
Posts: 145
Joined: Wed Oct 03, 2018 9:15 am

Re: snmpwalk issue

Post by manimurugesan »

This is Fortinet-fortiswitch and monitoring has been enabled for only 3 services .i.e. Port 1 status and port 2 status and LAG<switch name>status.


Please find the system profile
Last edited by mbellerue on Fri Aug 09, 2019 10:03 am, edited 1 time in total.
Reason: Shared profile.zip with support team.
User avatar
mbellerue
Posts: 1403
Joined: Fri Jul 12, 2019 11:10 am

Re: snmpwalk issue

Post by mbellerue »

I am not seeing anything labeled fortinet-fortiswitch in the profile. I do see a check_fortigate command, which checks CPU and memory utilization. Just to confirm, is the macro in question $USER9$? I see that associated with two different checks. One is check_xi_service_ifoperstatus, and the other is check_nwc_health. Do both of those commands fail?
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.

Be sure to check out our Knowledgebase for helpful articles and solutions!
manimurugesan
Posts: 145
Joined: Wed Oct 03, 2018 9:15 am

Re: snmpwalk issue

Post by manimurugesan »

yes $USER9$ this macro only we are using and check_xi_service_ifoperstatus is a default plugin and check_nwc_health we are using for memory usage and cpu .
User avatar
mbellerue
Posts: 1403
Joined: Fri Jul 12, 2019 11:10 am

Re: snmpwalk issue

Post by mbellerue »

Everything in the profile looks good so far. You said that one switch was having a problem reporting back. Is it possible that the issue is with that one switch? Did it get reset somehow, and the community string is set back to public?
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.

Be sure to check out our Knowledgebase for helpful articles and solutions!
manimurugesan
Posts: 145
Joined: Wed Oct 03, 2018 9:15 am

Re: snmpwalk issue

Post by manimurugesan »

Okay....I will try that
ssax
Dreams In Code
Posts: 7682
Joined: Wed Feb 11, 2015 12:54 pm

Re: snmpwalk issue

Post by ssax »

Let us know the results.
manimurugesan
Posts: 145
Joined: Wed Oct 03, 2018 9:15 am

Re: snmpwalk issue

Post by manimurugesan »

i tried with "public" community string also but still i am facing the same issue .

But when I tried the below command from nagios i am getting below error

snmpwalk -v2c -c 'SNMPstring' <IP address> IF-MIB::ifName

Error: IF-MIB::ifName = No Such Instance currently exists at this OID

But when I tired the below command from nagios i am getting output and switch also receiving request from nagios .

snmpwalk -v2c -c <SNMPstring> <ip address>

Please help me resolve this issue ?
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: snmpwalk issue

Post by scottwilkerson »

Are you sure this device has that MIB/OID?

Can you run this

Code: Select all

snmpwalk -v2c -c <SNMPstring> <ip address>|grep ifName
Former Nagios employee
Creator:
ahumandesign.com
enneagrams.com
Locked