Switch Ports

Support forum for Nagios Core, Nagios Plugins, NCPA, NRPE, NSCA, NDOUtils and more. Engage with the community of users including those using the open source solutions.
Locked
Emeii
Posts: 1
Joined: Sun Mar 16, 2014 9:15 am

Switch Ports

Post by Emeii »

Hello :)

I need help for my cisco switch
I want to monitor the ports but i get this error from nagios: (i am using a nagios 3.x version on ubuntu)
External command error: MIB search path: $HOME/.snmp/mibs:/usr/share/mibs/site:/usr/share/snmp/mibs:/usr/share/mibs/iana:/usr/share/mibs/ietf:/usr/share/mibs/netsnmp

Can somebody help me ? :/

I found out that it's something with MIB and OIDs but i have no idea what these are... sorry
If possible can this somebody explain too?

Thank you very much
^^
slansing
Posts: 7698
Joined: Mon Apr 23, 2012 4:28 pm
Location: Travelling through time and space...

Re: Switch Ports

Post by slansing »

I think that you should look into SNMP protocols before getting into it, it can be quite advanced. The differences and similarities between OIDS and MIBS can be found noted elsewhere, such as here:

http://www.paessler.com/knowledgebase/e ... -oids-work

I highly recommend you get familiar with SNMP first, but we can help you get through this if you need to do it right now. If so, I have a few questions:

1. Are you going to check this device via SNMP GET requests, or Traps?

2. If you are setting up active SNMP GET based checks, what plugins are you using, if any?

3. Furthermore, if you are using SNMP GET based plugins, please share an example service definition, and the host definition it is attached to, as well as the service's command definition.

And please, look into the link I posted above, and others linked within it... it's going to help you greatly.
Locked