<html dir="ltr">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<style id="owaParaStyle" type="text/css">P {margin-top:0;margin-bottom:0;}</style>
</head>
<body ocsi="0" fpstyle="1">
<div style="direction: ltr;font-family: Tahoma;color: #000000;font-size: 10pt;">Your device is not responding to the SNMP queries; this means a configuration error in either the device or in your Target line.<br>
<br>
Check your device is contactable by ping; that there is no SNMP ACL in place preventing you; that you have the correct community string; that the IP is correct.<br>
<br>
Try using snmpwalk to browse the OID from the commandline to test.<br>
<br>
Steve<br>
<div><br>
<div style="font-family:Tahoma; font-size:13px">
<div style="font-family:Tahoma; font-size:13px"><strong>Steve Shipway</strong></div>
<div style="font-family:Tahoma; font-size:13px">University of Auckland ITS</div>
<div style="font-family:Tahoma; font-size:13px"><em>UNIX Systems Design Lead</em></div>
<div style="font-family:Tahoma; font-size:13px"><a href="mailto:s.shipway@auckland.ac.nz">s.shipway@auckland.ac.nz</a></div>
<div style="font-family:Tahoma; font-size:13px">Ph: +64 9 373 7599 ext 86487</div>
<div style="font-family:Tahoma; font-size:13px"><em></em> </div>
</div>
</div>
<div style="font-family: Times New Roman; color: #000000; font-size: 16px">
<hr tabindex="-1">
<div style="direction: ltr;" id="divRpF585120"><font color="#000000" size="2" face="Tahoma"><b>From:</b> mrtg [mrtg-bounces+s.shipway=auckland.ac.nz@lists.oetiker.ch] on behalf of Roger Smith [rogertcoe@gmail.com]<br>
<b>Sent:</b> Wednesday, 25 November 2015 5:44 a.m.<br>
<b>To:</b> mrtg@lists.oetiker.ch<br>
<b>Subject:</b> [FORGED] Re: [mrtg] [FORGED] MRTG and IT Watchdog sensor<br>
</font><br>
</div>
<div></div>
<div>
<div dir="ltr">
<div><span style="font-size:12.8px">I also tried the OID themselves:</span></div>
<div><span style="font-size:12.8px"><br>
</span></div>
<div>
<div style=""><span style="font-size:12.8px">Target[10.45.0.131_Temps]: <a href="mailto:1.3.6.1.4.1.21239.5.1.2.1.5%261.3.6.1.4.1.21239.5.1.4.1.5%3Atcoe-snmp@10.45.0.131" target="_blank">
1.3.6.1.4.1.21239.5.1.2.1.5&1.3.6.1.4.1.21239.5.1.4.1.5:tcoe-snmp@10.45.0.131</a></span></div>
<div style="font-size:12.8px"><br>
</div>
</div>
<div><span style="font-size:12.8px"><br>
</span></div>
<div><span style="font-size:12.8px">I got:</span></div>
<div>
<div style=""><span style="font-size:12.8px">2015-11-24 08:44:18 -- SNMP Error:</span></div>
<div style=""><span style="font-size:12.8px">receiving response PDU: An existing connection was forcibly closed by the remote host.</span></div>
<div style=""><span style="font-size:12.8px">SNMPv1_Session (remote host: "10.45.0.131" [10.45.0.131].161)</span></div>
<div style=""><span style="font-size:12.8px">                  community: "tcoe-snmp"</span></div>
<div style=""><span style="font-size:12.8px">                 request ID: 1669607121</span></div>
<div style=""><span style="font-size:12.8px">                PDU bufsize: 8000 bytes</span></div>
<div style=""><span style="font-size:12.8px">                    timeout: 2s</span></div>
<div style=""><span style="font-size:12.8px">                    retries: 5</span></div>
<div style=""><span style="font-size:12.8px">                    backoff: 1)</span></div>
<div style=""><span style="font-size:12.8px"> at c:/mrtg/bin\..\lib\mrtg2/SNMP_util.pm line 497</span></div>
<div style=""><span style="font-size:12.8px">2015-11-24 08:44:18 -- SNMPGET Problem for 1.3.6.1.4.1.21239.5.1.2.1.5 1.3.6.1.4.1.21239.5.1.4.1.5 sysUptime sysName on tcoe-snmp@10.45.0.131::::::v4only</span></div>
<div style=""><span style="font-size:12.8px"> at c:\mrtg\bin\mrtg line 2330</span></div>
<div style=""><span style="font-size:12.8px">2015-11-24 08:44:18 -- 2015-11-24 08:44:18: ERROR: Target[10.45.0.131_temps][_IN_] ' $target->[0]{$mode} ' did not eval into defined data</span></div>
<div style=""><span style="font-size:12.8px">2015-11-24 08:44:18 -- 2015-11-24 08:44:18: ERROR: Target[10.45.0.131_temps][_OUT_] ' $target->[0]{$mode} ' did not eval into defined data</span></div>
<div style="font-size:12.8px"><br>
</div>
</div>
<span style="font-size:12.8px">
<div><span style="font-size:12.8px"><br>
</span></div>
-------------------------------------------------------------------</span>
<div><span style="font-size:12.8px">Date: Fri, 20 Nov 2015 21:36:46 +0000</span><br style="font-size:12.8px">
<span style="font-size:12.8px">From: Steve Shipway <</span><a href="mailto:s.shipway@auckland.ac.nz" style="font-size:12.8px" target="_blank">s.shipway@auckland.ac.nz</a><span style="font-size:12.8px">></span><br style="font-size:12.8px">
<span style="font-size:12.8px">To: Roger Smith <</span><a href="mailto:rogertcoe@gmail.com" style="font-size:12.8px" target="_blank">rogertcoe@gmail.com</a><span style="font-size:12.8px">>, "</span><a href="mailto:mrtg@lists.oetiker.ch" style="font-size:12.8px" target="_blank">mrtg@lists.oetiker.ch</a><span style="font-size:12.8px">"</span><br style="font-size:12.8px">
<span style="font-size:12.8px">        <</span><a href="mailto:mrtg@lists.oetiker.ch" style="font-size:12.8px" target="_blank">mrtg@lists.oetiker.ch</a><span style="font-size:12.8px">></span><br style="font-size:12.8px">
<span style="font-size:12.8px">Subject: Re: [mrtg] [FORGED]  MRTG and IT Watchdog sensor</span><br style="font-size:12.8px">
<span style="font-size:12.8px">Message-ID:</span><br style="font-size:12.8px">
<span style="font-size:12.8px">        <</span><a href="mailto:5820DC553954E44FA1A36C78323AD148A3F955F5@uxcn10-6.UoA.auckland.ac.nz" style="font-size:12.8px" target="_blank">5820DC553954E44FA1A36C78323AD148A3F955F5@uxcn10-6.UoA.auckland.ac.nz</a><span style="font-size:12.8px">></span><br style="font-size:12.8px">
<span style="font-size:12.8px">Content-Type: text/plain; charset="iso-8859-1"</span><br style="font-size:12.8px">
<br style="font-size:12.8px">
<span style="font-size:12.8px">Target[10.45.0.135_</span><span style="font-size:12.8px">internalTemp]: </span><a href="mailto:tempSensorTemp%3Atcoe-snmp@10.45.0.135" style="font-size:12.8px" target="_blank">tempSensorTemp:tcoe-snmp@10.45.0.135</a><span style="font-size:12.8px"><mailto:</span><a href="mailto:tempSensorTemp%253Atcoe-snmp@10.45.0.135" style="font-size:12.8px" target="_blank">tempSensorTemp%3Atcoe-snmp@10.45.0.135</a><span style="font-size:12.8px">></span><br style="font-size:12.8px">
<br style="font-size:12.8px">
<span style="font-size:12.8px">You must always give exactly two metrics to MRTG per Target (this is historical, because originally this was inbound and outbound data for network traffic).  If it is a single value, either duplicate it, or use pseudoZero.</span><br style="font-size:12.8px">
<br style="font-size:12.8px">
<span style="font-size:12.8px">Target[10.45.0.135_</span><span style="font-size:12.8px">internalTemp]: </span><a href="mailto:tempSensorTemp%26pseudoZero%3Atcoe-snmp@10.45.0.135" style="font-size:12.8px" target="_blank">tempSensorTemp&pseudoZero:tcoe-snmp@10.45.0.135</a><span style="font-size:12.8px"><mailto:</span><a href="mailto:tempSensorTemp%253Atcoe-snmp@10.45.0.135" style="font-size:12.8px" target="_blank">tempSensorTemp%3Atcoe-snmp@10.45.0.135</a><span style="font-size:12.8px">></span><br style="font-size:12.8px">
<br style="font-size:12.8px">
<span style="font-size:12.8px">This is also assuming, of course, that the symbolic name tempSensorTemp can be expanded to an OID; for this to work, you need to have the MIB properly installed or referred to in the MRTG config file.  Otherwise, you can always
 use the numerical OID instead.</span><br style="font-size:12.8px">
<br style="font-size:12.8px">
<span style="font-size:12.8px">Now, your OID actually returns the value in deci-degrees, so you need to divide by 10 before storing to make the value an SI unit (Best Practice is to store values as SI units).</span><br style="font-size:12.8px">
<br style="font-size:12.8px">
<span style="font-size:12.8px">Target[10.45.0.135_</span><span style="font-size:12.8px">internalTemp]: </span><a href="mailto:tempSensorTemp%26pseudoZero%3Atcoe-snmp@10.45.0.135" style="font-size:12.8px" target="_blank">tempSensorTemp&pseudoZero:tcoe-snmp@10.45.0.135</a><span style="font-size:12.8px"> 
 /  10</span><br style="font-size:12.8px">
<span style="font-size:12.8px"><mailto:</span><a href="mailto:tempSensorTemp%253Atcoe-snmp@10.45.0.135" style="font-size:12.8px" target="_blank">tempSensorTemp%3Atcoe-snmp@10.45.0.135</a><span style="font-size:12.8px">></span><br style="font-size:12.8px">
<br style="font-size:12.8px">
<span style="font-size:12.8px">The spaces around the '/' are required.  This will mean the value is stored in degrees, and will display the correct numbers.  However, if you are not using RRDTool and are just using native MRTG, decimals are not supported in
 the backend storage, and so you might instead need to do</span><br style="font-size:12.8px">
<br style="font-size:12.8px">
<span style="font-size:12.8px">Factor[10.45.0.135_</span><span style="font-size:12.8px">internalTemp]: 0.1</span><br style="font-size:12.8px">
<br style="font-size:12.8px">
<span style="font-size:12.8px">... which will divide by 10 at graphing time instead.</span><br style="font-size:12.8px">
<br style="font-size:12.8px">
<span style="font-size:12.8px">Since you do not want to graph the second item, just use the 'noo' ('No outgoing') option to suppress it.</span><br style="font-size:12.8px">
<br style="font-size:12.8px">
<span style="font-size:12.8px">Options[10.45.0.135_</span><span style="font-size:12.8px">internalTemp]: gauge growright noo</span><br style="font-size:12.8px">
<br style="font-size:12.8px">
<span style="font-size:12.8px">HTH</span><br style="font-size:12.8px">
<br style="font-size:12.8px">
<span style="font-size:12.8px">Steve</span><br style="font-size:12.8px">
<br style="font-size:12.8px">
<span style="font-size:12.8px">Steve Shipway</span><br style="font-size:12.8px">
<span style="font-size:12.8px">University of Auckland ITS</span><br style="font-size:12.8px">
<span style="font-size:12.8px">UNIX Systems Design Lead</span><br style="font-size:12.8px">
<a href="mailto:s.shipway@auckland.ac.nz" style="font-size:12.8px" target="_blank">s.shipway@auckland.ac.nz</a><span style="font-size:12.8px"><</span><span style="font-size:12.8px">mailto:</span><a href="mailto:s.shipway@auckland.ac.nz" style="font-size:12.8px" target="_blank">s.shipway@auckland.ac.nz</a><span style="font-size:12.8px">></span><br style="font-size:12.8px">
<span style="font-size:12.8px">Ph: </span><a href="tel:%2B64%209%20373%207599%20ext%2086487" value="+6493737599" style="font-size:12.8px" target="_blank">+64 9 373 7599 ext 86487</a><br style="font-size:12.8px">
<div><br>
</div>
-- <br>
<div class="gmail_signature">
<div dir="ltr">
<div>Roger Smith<br>
Director, Information Systems<br>
Tulare County Office of Education<br>
559-739-0324</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</body>
</html>