[mrtg] MRTG and IT Watchdog sensor

McDonald, Daniel (Dan) Dan.McDonald at austinenergy.com
Fri Nov 20 21:38:50 CET 2015


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:tcoe-smp at 10.45.0.135

From: mrtg [mailto:mrtg-bounces+dan.mcdonald=austinenergy.com at lists.oetiker.ch] On Behalf Of Roger Smith
Sent: Friday, November 20, 2015 12:29 PM
To: mrtg at lists.oetiker.ch<mailto:mrtg at lists.oetiker.ch>
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:tcoe-snmp at 10.45.0.135<mailto:tempSensorTemp%3Atcoe-snmp at 10.45.0.135>' (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:tcoe-snmp at 10.45.0.135<mailto:tempSensorTemp%3Atcoe-snmp at 10.45.0.135>' (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:tcoe-snmp at 10.45.0.135<mailto:tempSensorTemp%3Atcoe-snmp at 10.45.0.135>
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>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.oetiker.ch/pipermail/mrtg/attachments/20151120/0ccd5f1c/attachment.html>


More information about the mrtg mailing list