Page 1 of 2

snmpwalk issue

Posted: Wed Aug 07, 2019 10:19 am
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

Re: snmpwalk issue

Posted: Thu Aug 08, 2019 1:23 pm
by mbellerue
Hello,

Could you send us your system profile, as well as which host and service is having the issue?

Re: snmpwalk issue

Posted: Fri Aug 09, 2019 4:28 am
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

Re: snmpwalk issue

Posted: Fri Aug 09, 2019 10:40 am
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?

Re: snmpwalk issue

Posted: Fri Aug 09, 2019 11:13 am
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 .

Re: snmpwalk issue

Posted: Fri Aug 09, 2019 12:30 pm
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?

Re: snmpwalk issue

Posted: Fri Aug 09, 2019 12:56 pm
by manimurugesan
Okay....I will try that

Re: snmpwalk issue

Posted: Fri Aug 09, 2019 3:53 pm
by ssax
Let us know the results.

Re: snmpwalk issue

Posted: Tue Aug 13, 2019 11:21 am
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 ?

Re: snmpwalk issue

Posted: Thu Aug 15, 2019 7:25 am
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