Page 1 of 1

SNMPv3 configuration issue

Posted: Fri Dec 20, 2024 8:34 am
by WillWork
Hello forums,

I've been tasked with configuring SNMPv3 in Nagios XI across all our Cisco switches and I've been getting weird errors when configuring SNMPv3.

When I initially configure SNMPv3 with the walk configuration wizard, it recognizes the device, and the associated OID's I'm trying to monitor, even returning the output from of the device from SNMP.

The problem exists after I hit create. Essentially, during the config it can see the OIDs, and then when the host is created, it goes into an 'unknown' state and gives me the following error on the status information: "External command error: MIB search path: $HOME/.snmp/mibs/usr/share/snmp/mibs".

I don't know what is going on.

Another issue I have encountered is that ever since I started monitoring the fan state in Nagios, it can no longer see the power supply state (which are under the same MIB on the Cisco 2960s's). This is increasingly odd because I was able to monitor the power supplies, right before I started monitoring the fans.

Any help at all would be awesome.

Thanks so much!

Re: SNMPv3 configuration issue

Posted: Fri Dec 20, 2024 11:03 am
by sgardil
WillWork wrote: Fri Dec 20, 2024 8:34 am Hello forums,

I've been tasked with configuring SNMPv3 in Nagios XI across all our Cisco switches and I've been getting weird errors when configuring SNMPv3.

When I initially configure SNMPv3 with the walk configuration wizard, it recognizes the device, and the associated OID's I'm trying to monitor, even returning the output from of the device from SNMP.

The problem exists after I hit create. Essentially, during the config it can see the OIDs, and then when the host is created, it goes into an 'unknown' state and gives me the following error on the status information: "External command error: MIB search path: $HOME/.snmp/mibs/usr/share/snmp/mibs".

I don't know what is going on.

Another issue I have encountered is that ever since I started monitoring the fan state in Nagios, it can no longer see the power supply state (which are under the same MIB on the Cisco 2960s's). This is increasingly odd because I was able to monitor the power supplies, right before I started monitoring the fans.

Any help at all would be awesome.

Thanks so much!
Hey @WillWork

The error posted is showing that its having issue finding the path to the mib. Can you check that file location and see if it exists and if you know any of the mib file names could you do a search to see where those mib locations live. Also did you select some mibs when running the snmp walk wizard for this step? Let us know and we can start trouble shooting, also I will open an issue as this may be something wrong with our snmp walk wizard.

Re: SNMPv3 configuration issue

Posted: Mon Dec 23, 2024 3:34 am
by Mikasa23
You're not alone in encountering this! The error message you mentioned suggests Nagios can't locate the MIBs it's trying to work with. First, confirm that the MIB path in Nagios is correct and that your MIBs are installed in the appropriate directory. You might also need to clear out old or corrupted MIB files. The power supply visibility problem is likely a side effect of a misconfigured SNMP check. Try turning off the fan monitoring temporarily and see if the power supply data comes back into view. Once you get that sorted, then reintroduce the fan monitoring slowly and carefully to make sure both OIDs are being checked without causing any interference Sprunki