SNMP monitoring using check_snmp
Posted: Mon Jun 17, 2013 11:37 am
Hello, I am trying to perform a POC for a client using Nagios XI, and need some help with SNMP checks.
I was reading the manual about check_snmp and it has a note for the -o command, "Max 8 OIDs".
I have just tried running this at the command line with 13 OIDs and received no errors, and it returned SNMP OK - 0 0 0 0 0 0 0 0 0 0 0 0 0, does this mean there isn't a limitation? Or that later if I have too many OIDs it might break?
The OID's I used were for 13 interfaces incoming error packets using: .1.3.6.1.2.1.2.2.1.14.[1-13]
My next question is that want to monitor In & Out Error Packets, In & Out Discards and Operational Status on the interfaces. On one switch we want that information from ports (interfaces): 11, 77, 78, 128, 344, 372, 383, 417, 418, 473, 480, 485 and none of the others, would that mean I have to set up every single switch differently, and create new commands for every swithc that I want monitored?
How would you go about monitoring a network switch under normal circumstances? Traps only?
I was reading the manual about check_snmp and it has a note for the -o command, "Max 8 OIDs".
I have just tried running this at the command line with 13 OIDs and received no errors, and it returned SNMP OK - 0 0 0 0 0 0 0 0 0 0 0 0 0, does this mean there isn't a limitation? Or that later if I have too many OIDs it might break?
The OID's I used were for 13 interfaces incoming error packets using: .1.3.6.1.2.1.2.2.1.14.[1-13]
My next question is that want to monitor In & Out Error Packets, In & Out Discards and Operational Status on the interfaces. On one switch we want that information from ports (interfaces): 11, 77, 78, 128, 344, 372, 383, 417, 418, 473, 480, 485 and none of the others, would that mean I have to set up every single switch differently, and create new commands for every swithc that I want monitored?
How would you go about monitoring a network switch under normal circumstances? Traps only?