Page 1 of 1

Loading MIB's into Nagios

Posted: Thu Feb 07, 2013 11:40 am
by thennessey
I've downloaded the Sonicwall MIB's for my firewall. I put the files in /usr/share/snmp/mibs. In a guide, I read I am supposed to run check_snmp -m ALL. I tried that, but it didn't work. I installed check_snmp. It's in my libexec folder. When I run ./check_snmp -m ALL I get "SNMP Problem - No data received from host. CMD: /usr/bin/snmpget -t 1 -r 5 -m ALL -v 1 [authpriv] (null):161"

What am I doing wrong here? Thanks!

Re: Loading MIB's into Nagios

Posted: Thu Feb 07, 2013 11:49 am
by abrist
What is the full check_snmp command you are running (the check usually requires a host , oid, and a community string)? Which document did you follow for setting up the mibs?

Re: Loading MIB's into Nagios

Posted: Thu Feb 07, 2013 1:20 pm
by thennessey
http://techjournal.318.com/it-managemen ... sonicwall/

I later found a way to upload the MIB's within the GUI. In MIB Management I think.

Now I am trying to figure out how to add a service to my host using these MIB's. Is there a guide that will tell me what to enter for the Check Command and $Arg1$? I am doing this in the GUI. Basically I want to first create a service for my firewall that checks the CPU utilization. I know the OID.

Re: Loading MIB's into Nagios

Posted: Thu Feb 07, 2013 1:59 pm
by slansing
Yep! We certainly do have a guide, it is a rather large one too and is located here:

http://assets.nagios.com/downloads/nagi ... ith_XI.pdf

If you have further issues don't hesitate to let us know!

Re: Loading MIB's into Nagios

Posted: Thu Feb 07, 2013 4:27 pm
by thennessey
The addmib command is doing nothing. "command not found"

Is there no way to do any of thise in the GUI? In the Core configurato - Services, there is a place to Add Service. Once the MIB's are ready, can I create the services here? Is there a guide for that?

I've got the check_snmp command working with my OID's. Where do I use these commands on the Add Service page?

thanks again for the help

Re: Loading MIB's into Nagios

Posted: Thu Feb 07, 2013 5:06 pm
by slansing
You may upload MIB's to the Nagios Xi server via Admin > Manage MIBs.

You can create the service's from within the web GUI by using either the SNMP wizards or creating them by hand after the MIB's are uploaded.

Re: Loading MIB's into Nagios

Posted: Fri Feb 08, 2013 12:28 pm
by thennessey
Ok I figured out how to do it in the SNMP Wizard. Thanks.

Re: Loading MIB's into Nagios

Posted: Fri Feb 08, 2013 12:35 pm
by slansing
Excellent thanks for letting us know, closing the thread.