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!
Loading MIB's into Nagios
Re: Loading MIB's into Nagios
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.
"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
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.
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
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!
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
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
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
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.
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
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
Excellent thanks for letting us know, closing the thread.