<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;">
<div>Target[10.45.0.135_internalTemp]: <a href="mailto:tempSensorTemp%3Atcoe-snmp@10.45.0.135" target="_blank">
tempSensorTemp:tcoe-snmp@10.45.0.135</a></div>
<div><br>
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.<br>
<br>
<div>Target[10.45.0.135_internalTemp]: <a href="mailto:tempSensorTemp%3Atcoe-snmp@10.45.0.135" target="_blank">
tempSensorTemp&pseudoZero:tcoe-snmp@10.45.0.135</a></div>
<br>
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.<br>
<br>
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).<br>
<br>
<div>Target[10.45.0.135_internalTemp]: <a href="mailto:tempSensorTemp%3Atcoe-snmp@10.45.0.135" target="_blank">
tempSensorTemp&pseudoZero:tcoe-snmp@10.45.0.135 / 10<br>
</a></div>
<br>
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<br>
<br>
Factor[10.45.0.135_internalTemp]: 0.1<br>
<br>
... which will divide by 10 at graphing time instead.<br>
<br>
Since you do not want to graph the second item, just use the 'noo' ('No outgoing') option to suppress it.<br>
<br>
<div>Options[10.45.0.135_internalTemp]: gauge growright noo<br>
</div>
<br>
HTH<br>
<br>
Steve<br>
<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">
<br>
</div>
</div>
</body>
</html>