This is a discussion on [mrtg] Combining temp and voltages but a little complex... within the MRTG forums, part of the Networking and Network Related category; --===============1064343861== Content-Type: multipart/alternative; boundary="----=_Part_2783_424954.1209580097436" ------=_Part_2783_424954.1209580097436 Content-Type: text/plain; charset=ISO-8859-1 ...
|
|||||||
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
|
|||
|
--===============1064343861==
Content-Type: multipart/alternative; boundary="----=_Part_2783_424954.1209580097436" ------=_Part_2783_424954.1209580097436 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline Two questions really.. I'd like to combine voltage readings and temp readings in the same graph if at all possible. The other half of my problem is how the values get returned, I need to do a little math with them to get them looking right.. Here's an example from my config: Target[temp]: 1.3.6.1.4.1.6066.2.1.3.2.1.1.1.1.4.12&1.3.6.1.4.1. 6066.2.1.3.2.1.1.1.1.4.12:public@10.8.48.20<1.3.6. 1.4.1.6066.2.1.3.2.1.1.1.1.4.12%261.3.6.1.4.1.6066 .2.1.3.2.1.1.1.1.4.12%3Apublic@10.8.48.20>* 1.8 + 32 The temp value is returned in C, so I multiply by 1.8 and add 32. Voltage is a little more tricky.. Target[volt]: 1.3.6.1.4.1.6066.2.1.3.2.1.1.1.1.4.10&1.3.6.1.4.1. 6066.2.1.3.2.1.1.1.1.4.10:public@10.8.48.20<1.3.6. 1.4.1.6066.2.1.3.2.1.1.1.1.4.10%261.3.6.1.4.1.6066 .2.1.3.2.1.1.1.1.4.10%3Apublic@10.8.48.20>* ..01 * -1 My equipment returns the value as a negative 4 digit number. I multiply by ..01 to get my decimal point, then multiply by negative 1 to get a positive value. ie, -5200 becomes 52.00 TIA ------=_Part_2783_424954.1209580097436 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline Two questions really..<br><br>I'd like to combine voltage readings and temp readings in the same graph if at all possible.<br><br>The other half of my problem is how the values get returned, I need to do a little math with them to get them looking right..<br> <br>Here's an example from my config:<br>Target[temp]: <a href="mailto:1.3.6.1.4.1.6066.2.1.3.2.1.1.1.1.4.12 %261.3.6.1.4.1.6066.2.1.3.2.1.1.1.1.4.12%3Apublic@ 10.8.48.20">1.3.6.1.4.1.6066.2.1.3.2.1.1.1.1.4.12& amp;1.3.6.1.4.1.6066.2.1.3.2.1.1.1.1.4.12:public@1 0.8.48.20</a> * 1.8 + 32<br> <br>The temp value is returned in C, so I multiply by 1.8 and add 32.<br><br><br>Voltage is a little more tricky..<br>Target[volt]: <a href="mailto:1.3.6.1.4.1.6066.2.1.3.2.1.1.1.1.4.10 %261.3.6.1.4.1.6066.2.1.3.2.1.1.1.1.4.10%3Apublic@ 10.8.48.20">1.3.6.1.4.1.6066.2.1.3.2.1.1.1.1.4.10& amp;1.3.6.1.4.1.6066.2.1.3.2.1.1.1.1.4.10:public@1 0.8.48.20</a> * .01 * -1<br> <br>My equipment returns the value as a negative 4 digit number. I multiply by .01 to get my decimal point, then multiply by negative 1 to get a positive value.<br><br>ie, -5200 becomes 52.00<br><br>TIA<br> ------=_Part_2783_424954.1209580097436-- --===============1064343861== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ mrtg mailing list mrtg@lists.oetiker.ch https://lists.oetiker.ch/cgi-bin/listinfo/mrtg --===============1064343861==-- |