pcstru Posted March 28, 2013 Posted March 28, 2013 That suggests to me that ifOperStatus isn't getting translated into the correct dotted number. That's a hunch though - not a certainty!
Jwebb Posted March 28, 2013 Author Posted March 28, 2013 ./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?
Jwebb Posted March 28, 2013 Author Posted March 28, 2013 ^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)
pcstru Posted March 28, 2013 Posted March 28, 2013 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!
Jwebb Posted March 28, 2013 Author Posted March 28, 2013 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!
Jwebb Posted April 9, 2013 Author Posted April 9, 2013 Using [snmpwalk -v2c -On -c 'password here' 'Ip address here'] I have been able to find the OID for the device
cpjitservices Posted April 9, 2013 Posted April 9, 2013 IF you dont get along with Nagios, personally it think Ive found a better option.... Homepage of Zabbix :: An Enterprise-Class Open Source Distributed Monitoring Solution Zabbix is great, I work for an ISP and with added Mapping (Locations) It's spot on. I tried Nagios, and its good but was a headache to get working, Zabbix was a few hours work and it just looks really good!!
sparkeh Posted April 10, 2013 Posted April 10, 2013 (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 April 10, 2013 by sparkeh
Jwebb Posted April 18, 2013 Author Posted April 18, 2013 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.
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now