nagios snmp checks
Nikhil Shah <[email protected]>
| Newsgroups | gmane.network.net-snmp.user |
|---|---|
| Message-ID | <CAMFqp=1aXjvamK+8YAXYmu35+F5wEn3oHrCbFXWuBKkau4GA0g@mail.gmail.com> |
I've got a nagios/snmp question that I've been struggling with. I've downloaded the super micro MIB files directly from their websites. I did an snmpwalk to view the data that it pulls by default. I, then, added the MIB files in /usr/share/snmp/mibs directory and ran the following command: snmptranslate -m +SUPERMICRO-HEALTH-MIB -IR -On smHealthMonitorMinReading .1.3.6.1.4.1.10876.2.1.1.1.1.8 ./check_snmp -H 192.168.31.116 -C orchard -o . *1.3.6.1.4.1.10876.2.1.1.1.1.8* SNMP CRITICAL - Unknown error: 2 I wasn't sure why it thew that error message, so I ran a snmpwalk to pull the OID mapping and ran the following: [root@nagios02 ~]# ./check_snmp -H 192.168.XX.XX -C $COMM -o . *1.3.6.1.4.1.10876.2.1.1.1.1.2.11* SNMP OK - CPU1 Vcore Voltage snmpwalk -v 2c -c orchard 192.168.XX.XX SUPERMICRO -O n .1.3.6.1.4.1.10876.2.1.1.1.1.2.1 = STRING: Fan1 Fan Speed .1.3.6.1.4.1.10876.2.1.1.1.1.2.2 = STRING: Fan2 Fan Speed .1.3.6.1.4.1.10876.2.1.1.1.1.2.3 = STRING: Fan3 Fan Speed .1.3.6.1.4.1.10876.2.1.1.1.1.2.4 = STRING: Fan4 Fan Speed .1.3.6.1.4.1.10876.2.1.1.1.1.2.5 = STRING: FanA Fan Speed .1.3.6.1.4.1.10876.2.1.1.1.1.2.6 = STRING: FanB Fan Speed .1.3.6.1.4.1.10876.2.1.1.1.1.2.7 = STRING: Power1 Fan 1 Speed .1.3.6.1.4.1.10876.2.1.1.1.1.2.8 = STRING: Power1 Fan 2 Speed .1.3.6.1.4.1.10876.2.1.1.1.1.2.9 = STRING: Power2 Fan 1 Speed .1.3.6.1.4.1.10876.2.1.1.1.1.2.10 = STRING: Power2 Fan 2 Speed *.1.3.6.1.4.1.10876.2.1.1.1.1.2.11 = STRING: CPU1 Vcore Voltage* .1.3.6.1.4.1.10876.2.1.1.1.1.2.12 = STRING: CPU2 Vcore Voltage .1.3.6.1.4.1.10876.2.1.1.1.1.2.13 = STRING: CPU1 VDIMM Voltage .1.3.6.1.4.1.10876.2.1.1.1.1.2.14 = STRING: CPU2 VDIMM Voltage .1.3.6.1.4.1.10876.2.1.1.1.1.2.15 = STRING: -12V Voltage .1.3.6.1.4.1.10876.2.1.1.1.1.2.16 = STRING: +5VSB Voltage .1.3.6.1.4.1.10876.2.1.1.1.1.2.17 = STRING: VTT Voltage .1.3.6.1.4.1.10876.2.1.1.1.1.2.18 = STRING: +1.5V Voltage .1.3.6.1.4.1.10876.2.1.1.1.1.2.19 = STRING: +5V Voltage .1.3.6.1.4.1.10876.2.1.1.1.1.2.20 = STRING: +12V Voltage .1.3.6.1.4.1.10876.2.1.1.1.1.2.21 = STRING: +3.3V Voltage .1.3.6.1.4.1.10876.2.1.1.1.1.2.22 = STRING: +3.3VSB Voltage What may be a dumb question... How in the world can I get the true status instead of stating what the string is. In other words, What is the current voltage of the below? I get the same value that is shown in snmpwalk, when I am looking for the value of the voltage reading -- * Nikhil Shah */ System Administrator [email protected] *The Orchard(R)* / www.theorchard.com t (+1) 212.308.5648 / f (+1) 212.201.9203 23 E. 4th St., 3rd Fl / New York, NY 10003 The Daily Rind(tm) / *www.dailyrindblog.com* <http://www.dailyrindblog.com/> *Facebook* <http://www.facebook.com/theorchard> / *@orchtweets*<http://www.twitter.com/orchtweets> Privileged And Confidential Communication. This electronic transmission, and any documents attached hereto, (a) are protected by the Electronic Communications Privacy Act (18 USC §§ 2510-2521), (b) may contain confidential and/or legally privileged information, and (c) are for the sole use of the intended recipient named above. If you have received this electronic message in error, please notify the sender and delete the electronic message. Any disclosure, copying, distribution, or use of the contents of the information received in error is strictly prohibited ------------------------------------------------------------------------------ Managing the Performance of Cloud-Based Applications Take advantage of what the Cloud has to offer - Avoid Common Pitfalls. Read the Whitepaper. http://pubads.g.doubleclick.net/gampad/clk?id=121054471&iu=/4140/ostg.clktrk _______________________________________________ Net-snmp-users mailing list [email protected] Please see the following page to unsubscribe or change other options: https://lists.sourceforge.net/lists/listinfo/net-snmp-users