Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline
For some reason, I get no answer when I query that: What firmware is in your UPS, Albert? and, are you using the Smart UPS 1400 and 3000? details: It appears to be in the apc.mib, not the pwrchute.mib [EMAIL PROTECTED] root]# snmptranslate -m /usr/share/snmp/mibs/apc.mib= 1.3.6.1.4.1.318.1.1.2.1.1.0 =20 PowerNet-MIB::mUpsEnvironAmbientTemperature.0 (gets an answer) [EMAIL PROTECTED] root]# snmptranslate -m /usr/share/snmp/mibs/pwrchute.mib= 1.3.6.1.4.1.318.1.1.2.1.1.0 =20 APCUPS-MIB::products.1.2.1.1.0 (can't quite figure it out) So, export the MIB variable: [EMAIL PROTECTED] root]# export MIBS=3D/usr/share/snmp/mibs/apc.mib=20 Now, do some gets [EMAIL PROTECTED] root]# snmpget -v 1 -c comst= host 1.3.6.1.4.1.318.1.1.2.1.1.0 =20 Error in packet Reason: (noSuchName) There is no such variable name in this MIB. Failed object: PowerNet-MIB::mUpsEnvironAmbientTemperature.0 and [EMAIL PROTECTED] root]#=20 PowerNet-MIB::mUpsEnvironAmbientTemperature.0 [EMAIL PROTECTED] root]# snmpget -v 1 -c comst host= mUpsEnvironAmbientTemperature.0 =20 Error in packet Reason: (noSuchName) There is no such variable name in this MIB. Failed object: PowerNet-MIB::mUpsEnvironAmbientTemperature.0 and [EMAIL PROTECTED] root]# snmpget -v 1 -c comst host= mUpsEnvironRelativeHumidity.0 =20 Error in packet Reason: (noSuchName) There is no such variable name in this MIB. Failed object: PowerNet-MIB::mUpsEnvironRelativeHumidity.0 MRTG doesn't like this either: SNMP Error: Received SNMP response with error code error status: noSuchName index 1 (OID: 1.3.6.1.4.1.318.1.1.2.1.1.0) SNMPv1_Session (remote host: "host" [host].161) community: "commstr" request ID: 1718132554 PDU bufsize: 8000 bytes timeout: 2s retries: 5 backoff: 1) at /usr/bin/../lib/mrtg2/SNMP_util.pm line 450 SNMPGET Problem for 1.3.6.1.4.1.318.1.1.2.1.1.0 1.3.6.1.4.1.318.1.1.2.1.1.0= sysUptime sysName on mailto:[EMAIL PROTECTED] [EMAIL PROTECTED] at /usr/bin/mrtg line 1491 WARNING: Expected a number but got '' WARNING: Expected a number but got '' Any ideas on why the UPS doesn't respond to these values? ---- Message from mailto:<[EMAIL PROTECTED] "Albert Stadler"= <[EMAIL PROTECTED]> at 2004-02-17 22:41:48 ------ This is my oid for temp I graph it with 5 remote probes. Albert Stadler Network Administrator Information Services Missouri Southern State University-Joplin 3950 E. Newman Road Joplin, MO 64801-1595 E-mail: mailto:[EMAIL PROTECTED] [EMAIL PROTECTED] Voice: 417-625-9807 Fax: 417-659-4450 >>> <[EMAIL PROTECTED]> 2/17/2004 7:51:55 PM >>> Content-Type: text/plain; charset=3D"iso-8859-1" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Thanks for the corrected formula- the OIDS that Albert gave are for time-ticks, according to snmpwalk.. Does anyone have the OID for ambient temp, as opposed to internal battery=3D temp (listed below in my config) tim ---- Message from mailto:<[EMAIL PROTECTED] mailto:<[EMAIL PROTECTED] "Albert Stadler"=3D <[EMAIL PROTECTED]> at 2004-02-17 15:56:43 ------ 1. Temp 1.3.6.1.4.1.318.1.1.2.1.1.0&1.3.6.1.4.1.318.1.1.2.1.1.0:(SNMP)@(YOURIP) * 9 /5 + 32 2. Humid 1.3.6.1.4.1.318.1.1.2.1.2.0&1.3.6.1.4.1.318.1.1.2.1.2.0:(SNMP)@(YOURIP) Albert Stadler >>> Tim Reimers <[EMAIL PROTECTED]> 2/17/2004 3:43:49 PM >>> Hi everyone- I have two requests: 1. Does anyone have the OID for how to get the temp/humidity from the available external probe? This config is for the battery temp of the UPS 2. One other thing is that this is not doing the math right - the snmpwalk returns PowerNet-MIB::upsAdvBatteryTemperature.0 =3D3D Gauge32: 29 One formula using Fahrenheit on the right is: (C*1.8)+32=3D3DF or Target[apca1400]: (.1.3.6.1.4.1.318.1.1.1.2.2.2.0&1.3.6.1.4.1.318.1.1.1.2.2.2.0:[EMAIL PROTECTED] * 1.8) =3D3D 32 that doesn't work for MRTG though... Any other ideas on how to lay out the formula so that it's correct and right for MRTG as well? WorkDir: /var/www/html/mrtg Title[^]: CO APC 1400 in top of main server rack (degrees Fahrenheit) Target[apca1400]:.1.3.6.1.4.1.318.1.1.1.2.2.2.0&1.3.6.1.4.1.318.1.1.1.2.2.2= =3D .0:[EMAIL PROTECTED] / 10 * 1.8 + 32 XSize[apca1400]: 360 YSize[apca1400]: 75 Title[apca1400]: APC UPS top of rack - Temperature (F) MaxBytes[apca1400]: 212 AbsMax[apca1400]: 212 Options[apca1400]: growright,gauge,nopercent PageTop[apca1400]: <h1>APC UPS top of main rack - Temperature (F)</h1> YLegend[apca1400]: Deg F ShortLegend[apca1400]: °F Legend1[apca1400]: APC 1 - TEMP Thanks, tim http://www.gordano.com/ http://www.gordano.com - Messaging for educators. -- Unsubscribe mailto:[EMAIL PROTECTED] mailto:[EMAIL PROTECTED] Archive http://www.ee.ethz.ch/~slist/mrtg= http://www.ee.ethz.ch/~slist/mrtg FAQ http://faq.mrtg.org/ http://faq.mrtg.org Homepage= http://www.mrtg.org/ http://www.mrtg.org WebAdmin http://www.ee.ethz.ch/~slist/lsg2.cgi= http://www.ee.ethz.ch/~slist/lsg2.cgi -- Unsubscribe mailto:[EMAIL PROTECTED] mailto:[EMAIL PROTECTED] Archive http://www.ee.ethz.ch/~slist/mrtg= http://www.ee.ethz.ch/~slist/mrtg FAQ http://faq.mrtg.org/ http://faq.mrtg.org Homepage= http://www.mrtg.org/ http://www.mrtg.org WebAdmin http://www.ee.ethz.ch/~slist/lsg2.cgi= http://www.ee.ethz.ch/~slist/lsg2.cgi -- Attached file removed by Ecartis and put at URL below -- -- Type: text/directory -- Size: 169 bytes -- URL : http://www.ee.ethz.ch/~slist/p/05-tim_reimers.vcf= http://www.ee.ethz.ch/~slist/p/05-tim_reimers.vcf -- Binary/unsupported file stripped by Ecartis -- -- Err : No filename to use for decode, file stripped. -- Type: text/plain -- Unsubscribe mailto:[EMAIL PROTECTED] mailto:[EMAIL PROTECTED] Archive http://www.ee.ethz.ch/~slist/mrtg= http://www.ee.ethz.ch/~slist/mrtg FAQ http://faq.mrtg.org / http://faq.mrtg.org Homepage = http://www.mrtg.org/ http://www.mrtg.org WebAdmin http://www.ee.ethz.ch/~slist/lsg2.cgi= http://www.ee.ethz.ch/~slist/lsg2.cgi -- Attached file removed by Ecartis and put at URL below -- -- Type: text/directory -- Size: 169 bytes -- URL : http://www.ee.ethz.ch/~slist/p/07-tim_reimers.vcf -- Binary/unsupported file stripped by Ecartis -- -- Err : No filename to use for decode, file stripped. -- Type: text/plain -- Unsubscribe mailto:[EMAIL PROTECTED] Archive http://www.ee.ethz.ch/~slist/mrtg FAQ http://faq.mrtg.org Homepage http://www.mrtg.org WebAdmin http://www.ee.ethz.ch/~slist/lsg2.cgi
