Hello,
i'm a new nagios AND linux user and want to test nagios with our Sophos Firewall.
I already installed nagios 3.4.1 successfully, downloaded the MIB-File(.txt) from the Firewall but do not know how to add the mibs to nagios.
Is there a Plugin or sth. like that to add this customs MIB's?
thank you.
How to add Custom MIB.txt to Nagios
-
- Skynet Drone
- Posts: 2620
- Joined: Wed Feb 11, 2015 1:56 pm
Re: How to add Custom MIB.txt to Nagios
Nagios core just uses net-snmp. Copy the MIB to your MIBs directory (usually /usr/share/snmp/mibs) and you should be in business.
Re: How to add Custom MIB.txt to Nagios
Thank you for your quick answer!!!
I got the following Folder in: /usr/share/snmp/
mib2c-data and snmpconf-data.
Should i just creat the Folder "mib" and copy the txt there?
must i restart some Services or something like that?
Thank you
I got the following Folder in: /usr/share/snmp/
mib2c-data and snmpconf-data.
Should i just creat the Folder "mib" and copy the txt there?
must i restart some Services or something like that?
Thank you
Re: How to add Custom MIB.txt to Nagios
Thanks for your answer! In the SNMP Folder are following Directorys:
mib2c-data snmpconf-data
should i add the MIBS Directory and copy the Mib.txt in there?
Must i restart some services or something like that?
thanks
mib2c-data snmpconf-data
should i add the MIBS Directory and copy the Mib.txt in there?
Must i restart some services or something like that?
thanks
-
- Skynet Drone
- Posts: 2620
- Joined: Wed Feb 11, 2015 1:56 pm
Re: How to add Custom MIB.txt to Nagios
You may need to do some fiddling to find your mibs directory - your installation isn't what we would see as the standard here.
This is the documentation you need: http://www.net-snmp.org/wiki/index.php/ ... ading_MIBS
Note specifically this part:
This is the documentation you need: http://www.net-snmp.org/wiki/index.php/ ... ading_MIBS
Note specifically this part:
Once you get the mib in the right folder there is no need to restart any services or such.Note that many distributions change the default paths. To find out which directories are used on your system, run the following command:Code: Select all
net-snmp-config --default-mibdirs