[mrtg] MRTG and IT Watchdog sensor
Roger Smith
rogertcoe at gmail.com
Tue Nov 24 17:42:33 CET 2015
Thanks for the help.
Here is what I tried:
Target[10.45.0.131_Temps]: internalTemp&tempSensorTemp:tcoe-snmp at 10.45.0.131
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 tcoe-snmp at 10.45.0.131::::::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)" <Dan.McDonald at austinenergy.com>
To: "mrtg at lists.oetiker.ch" <mrtg at lists.oetiker.ch>
Subject: Re: [mrtg] MRTG and IT Watchdog sensor
Message-ID:
<F2839C2AEE4E5D4A968CEC7D0FBA4B49AA0E5C77 at AE-PEXCH02.aenetad.net>
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: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>
--
Roger Smith
Director, Information Systems
Tulare County Office of Education
559-739-0324
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.oetiker.ch/pipermail/mrtg/attachments/20151124/a7b62d31/attachment.html>
More information about the mrtg
mailing list