Page 2 of 2
Re: Nagios XI - SNMP walk wizard not using MIB's
Posted: Thu Oct 22, 2015 2:52 pm
by tgriep
Can you run the following to see if a snmpwalk will return the information you are looking for?
Code: Select all
snmpwalk 172.16.11.85 -v 2c -c public
How long did this take to run?
Can you go in to Admin > Manage Config wizards and update the SNMP Walk wizard to the latest version if it isn't at the latest and see if that helps?
Re: Nagios XI - SNMP walk wizard not using MIB's
Posted: Fri Oct 23, 2015 8:19 am
by jacek
I've setup the command but with 200 seconds timeout.
The command ended in ~20 seconds and resulted in 5952 lines (yes, 6 thousand!), but without the ones You can find in my first post.
Looks very bad

Re: Nagios XI - SNMP walk wizard not using MIB's
Posted: Fri Oct 23, 2015 11:45 am
by tgriep
If the snmpwalk isn't finding the OID's from the MIB file, Try renaming the MIB from
to
and see if that helps.
I cannot find out why they have to end in .txt but if that helps, let us know.
Re: Nagios XI - SNMP walk wizard not using MIB's
Posted: Mon Oct 26, 2015 5:26 am
by jacek
Hi, renamed the MIB as You told (via ssh, not by removing and adding as txt, is this right?), but no effect.
It is listing them as in the 2nd screen in 1st post.
Re: Nagios XI - SNMP walk wizard not using MIB's
Posted: Mon Oct 26, 2015 12:57 pm
by tgriep
Can you run the following from a shell and post the output?
Can you run this too and attach the /tmp/walk.txt file?
Code: Select all
snmpwalk 172.16.11.85 -v 2c -c public >/tmp/walk.txt
Thanks
Re: Nagios XI - SNMP walk wizard not using MIB's
Posted: Tue Oct 27, 2015 3:55 am
by jacek
gives:
Code: Select all
/root/.snmp/mibs:/usr/share/snmp/mibs
and the:
Code: Select all
snmpwalk 172.16.11.85 -v 2c -c public >/tmp/walk.txt
gives:
walk.txt
Re: Nagios XI - SNMP walk wizard not using MIB's
Posted: Tue Oct 27, 2015 3:21 pm
by tgriep
The snmpwalk isn't loading the MIB file. Lets create the snmp config file and set it up lo load all of the MIB files.
Create the file /etc/snmp/snmp.conf, and put into it:
Code: Select all
mibdirs /usr/share/snmp/mibs
mibs ALL
This tells the snmp* commands that they should load ALL mibs in the mibdirs /usr/share/snmp/mibs
Save the file, quit.
Now run the snmpwalk command and see if the OID's that you are looking for are found.
Re: Nagios XI - SNMP walk wizard not using MIB's
Posted: Wed Oct 28, 2015 5:34 am
by jacek
Finally!
Works like a charm!

Shouldn't this be configured from the beginning by nagiosxi?
Re: Nagios XI - SNMP walk wizard not using MIB's
Posted: Wed Oct 28, 2015 2:57 pm
by tgriep
It should search that folder for the MIB files by default without creating the snmp.conf file with those settings.
For some reason, your system isn't looking there.
Can I lock up this post?
Re: Nagios XI - SNMP walk wizard not using MIB's
Posted: Sun Nov 01, 2015 6:41 am
by jacek
Sure, if You think there is no point in searching for the reason

Thanks for the help!
