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:[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>
_______________________________________________ mrtg mailing list [email protected] https://lists.oetiker.ch/cgi-bin/listinfo/mrtg
