Well, there IS a space between the first OID and the second, and also more than one space between the target name and some of the other options added (although not sure if that's it). Finally, can you put the FULL OID in the target line? Perhaps MRTG is getting "weirded out" over that.
g -----Original Message----- From: Chan, Wilson [mailto:[EMAIL PROTECTED] Sent: Friday, July 11, 2003 7:33 PM To: '[EMAIL PROTECTED]' Subject: [mrtg] Error Message: WARNING: Could not match host:'[EMAIL PROTECTED]' ref:'' key:'' Hi, Im running MRTG 2.9.17 on a Win2K Server and I recently tried to add some Tripplite UPS into MRTG but im getting this error when running MRTG. Here is my .cfg file and screen output. BTW- I've already check the OID with snmputil and it's a valid OID. H:\>snmputil get 172.31.39.5 public 33.1.2.5.0 Variable = .33.1.2.5.0 Value = Integer32 546 C:\MRTG\bin>type tripplite.cfg WorkDir: c:\InetPub\wwwroot\tripplite Target[33.1.2.5.0]:33.1.2.5.0 & 33.1.2.5.0:[EMAIL PROTECTED] MaxBytes[33.1.2.5.0]: 600 Title[33.1.2.5.0]: Tripplite Battery Voltage PageTop[33.1.2.5.0]: <H1>Tripplite</H1> Options[33.1.2.5.0]: gauge, nopercent, noinfo, unknaszero YLegend[33.1.2.5.0]: Line Volts ShortLegend[33.1.2.5.0]: V DC LegendI[33.1.2.5.0]: High Line Voltage LegendO[33.1.2.5.0]: Low Line Voltage Legend1[33.1.2.5.0]: Max (High) Battery Voltage (UPS) Legend2[33.1.2.5.0]: Min (Low) Battery Voltage (UPS) Legend3[33.1.2.5.0]: Max HIGH value per interval on graph Legend4[33.1.2.5.0]: Max LOW value per interval on graph Colours[33.1.2.5.0]: GREEN#00eb0c,BLUE#0000ff,GRAY#AAAAAA,VIOLET#ff00ff WithPeak[33.1.2.5.0]: ymw C:\MRTG\bin>perl mrtg tripplite.cfg WARNING: Could not match host:'[EMAIL PROTECTED]' ref:'' key:'' How do you fix this Warning error? Also, the snmp value is displayed as an Integer value 546 but I need it to be graphed in MRTG as 54.6Volts and not 546Volts. How do you do this? Thanks! Wilson -- 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 -- 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
