Jump to content

Recommended Posts

Posted
That suggests to me that ifOperStatus isn't getting translated into the correct dotted number. That's a hunch though - not a certainty!
Posted

./check_snmp -H 192.168.100.11 -C ****** -o .1.3.6.1.2.1.1.3.0

 

where you have the string of numbers after the "-o" what is that number called?

 

do you think it would be better for me to set it up with that number as oppsoed to the ifOperStatus way? Is that number switch specific?

Posted
^im thinking that if you are correct in your hunch and it isn't being converted correctly it'd be simpler to cut out the middle man and use the number directly (only problem is I dont know that number)
Posted

I think the number is the OID (Object ID). The entire collection of numbers represents the MIB (Management Information Base) for the particular entity (switch, WAP, server etc). ISTR I found the uptime was fairly consistent between switches (HP and CISCO), other things weren't. Using a browser (I linked to one earler) can be helpful in learning what is available on a device. One of the net-snmp commands will also walk the tree and return all possible nodes (but I can't remember what!).

 

Apologies for the vuageness - it's been 18 months or more since I set up our nagios. I ran into the same or very similar problems on ubuntu but I didn't take notes!

Posted

Dont worry! Thanks for the input and pointers you've given me its been very helpful - i've gotten it further than I had it the day before yesterday (:

 

I'm taking notes because i'll be using this as a work product xD - if i ever get this working I'll post exactly what i did for it to work on Ubuntu.

 

I'm going to have a go at net-snmp to hunt down that OID then, wish me luck!

  • 2 weeks later...
Posted
Using [snmpwalk -v2c -On -c 'password here' 'Ip address here'] I have been able to find the OID for the device
Posted (edited)
IF you dont get along with Nagios

I assume from the preceding posts that this project is as much about the journey and learning Linux as anything. And you certainly learn a lot trying to get Nagios up and running from scratch :)

However, in a production environment I use the free version of Opsview Open Source Network Monitoring | Open Source Monitoring Software | Opsview which sits on Nagios anyway.

Installation is a doddle - just add the repository and install and it does everything for you. Want it easier? It also comes as a virtual appliance.

 

Also has a nice mobile app so you can check you network on phone/tablet when roaming the halls.

Edited by sparkeh
  • 2 weeks later...
Posted
Thanks for your responses and you were right this was as much about my learning as it was to be used in the work place.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now



×
×
  • Create New...