Loading MIB's into Nagios

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
thennessey
Posts: 13
Joined: Tue Feb 05, 2013 10:33 am

Loading MIB's into Nagios

Post 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!
abrist
Red Shirt
Posts: 8334
Joined: Thu Nov 15, 2012 1:20 pm

Re: Loading MIB's into Nagios

Post 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?
Former Nagios employee
"It is turtles. All. The. Way. Down. . . .and maybe an elephant or two."
VI VI VI - The editor of the Beast!
Come to the Dark Side.
thennessey
Posts: 13
Joined: Tue Feb 05, 2013 10:33 am

Re: Loading MIB's into Nagios

Post 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.
slansing
Posts: 7698
Joined: Mon Apr 23, 2012 4:28 pm
Location: Travelling through time and space...

Re: Loading MIB's into Nagios

Post 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!
thennessey
Posts: 13
Joined: Tue Feb 05, 2013 10:33 am

Re: Loading MIB's into Nagios

Post 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
slansing
Posts: 7698
Joined: Mon Apr 23, 2012 4:28 pm
Location: Travelling through time and space...

Re: Loading MIB's into Nagios

Post 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.
thennessey
Posts: 13
Joined: Tue Feb 05, 2013 10:33 am

Re: Loading MIB's into Nagios

Post by thennessey »

Ok I figured out how to do it in the SNMP Wizard. Thanks.
slansing
Posts: 7698
Joined: Mon Apr 23, 2012 4:28 pm
Location: Travelling through time and space...

Re: Loading MIB's into Nagios

Post by slansing »

Excellent thanks for letting us know, closing the thread.
Locked