Thanks for the help. Here is what I tried:
Target[10.45.0.131_Temps]: internalTemp&tempSensorTemp:[email protected] The log says: 2015-11-24 08:35:35 -- SNMP Error: receiving response PDU: An existing connection was forcibly closed by the remote host. SNMPv1_Session (remote host: "10.45.0.131" [10.45.0.131].161) community: "tcoe-snmp" request ID: 808880967 PDU bufsize: 8000 bytes timeout: 2s retries: 5 backoff: 1) at c:/mrtg/bin\..\lib\mrtg2/SNMP_util.pm line 497 2015-11-24 08:35:35 -- SNMPGET Problem for internalTemp tempSensorTemp sysUptime sysName on [email protected]::::::v4only at c:\mrtg\bin\mrtg line 2330 2015-11-24 08:35:35 -- 2015-11-24 08:35:35: ERROR: Target[10.45.0.131_temps][_IN_] ' $target->[0]{$mode} ' did not eval into defined data 2015-11-24 08:35:35 -- 2015-11-24 08:35:35: ERROR: Target[10.45.0.131_temps][_OUT_] ' $target->[0]{$mode} ' did not eval into defined data ------------------------------------------------------------ Date: Fri, 20 Nov 2015 20:38:50 +0000 From: "McDonald, Daniel (Dan)" <[email protected]> To: "[email protected]" <[email protected]> Subject: Re: [mrtg] MRTG and IT Watchdog sensor Message-ID: <[email protected]> Content-Type: text/plain; charset="us-ascii" IT Watchdog supports multiple temperature probes per sensor, so you need to add an instance to the OID. So: Target[10.45.0.135_internaltemp]:tempSensorTemp.1:[email protected] From: mrtg [mailto:mrtg-bounces+dan.mcdonald= [email protected]] On Behalf Of Roger Smith Sent: Friday, November 20, 2015 12:29 PM To: [email protected]<mailto:[email protected]> Subject: [mrtg] MRTG and IT Watchdog sensor Trying to get MRTG to read my IT Watchdog sensor. Same company that made Weathergoose. I have tried everything I know to get this going. Tried loading their MIBs. Different OID numbers/names. Here is the error I am getting: 2015-11-20 10:16:17 -- 2015-11-20 10:16:17: ERROR: Target[10.45.0.135_internaltemp][_IN_] 'tempSensorTemp:[email protected]<mailto: tempSensorTemp%[email protected]>' (warn): Array found where operator expected at (eval 20) line 1, at end of line 2015-11-20 10:16:17 -- 2015-11-20 10:16:17: ERROR: Target[10.45.0.135_internaltemp][_OUT_] 'tempSensorTemp:[email protected]<mailto: tempSensorTemp%[email protected]>' (warn): Array found where operator expected at (eval 21) line 1, at end of line Here is the snippet from my cfg: Target[10.45.0.135_internalTemp]: tempSensorTemp:[email protected] <mailto:tempSensorTemp%[email protected]> SetEnv[10.45.0.135_internalTemp]: MRTG_INT_IP="No Ip" MRTG_INT_DESCR="internalTemp" MaxBytes[10.45.0.135_internalTemp]: 20000 Title[10.45.0.135_internalTemp]: internalTemp -- Doe Ave Comp Sensor MIB file snippet: internalTemp OBJECT-TYPE SYNTAX Integer32(-40..200) UNITS "0.1 Degrees" MAX-ACCESS read-only STATUS current DESCRIPTION "Current reading for Temperature in tenths of degrees. Units are given by temperatureUnits field in deviceInfo" ::= { internalEntry 5 } CSV snippet: internalTemp,1.3.6.1.4.1.21239.5.1.2.1.5,read-only,Integer32(-40..200),0.1 Degrees Where should I start? Thanks! -- Roger Smith Director, Information Systems Tulare County Office of Education 559-739-0324<tel:559-739-0324> -- Roger Smith Director, Information Systems Tulare County Office of Education 559-739-0324
_______________________________________________ mrtg mailing list [email protected] https://lists.oetiker.ch/cgi-bin/listinfo/mrtg
