[mrtg] Combining temp and voltages but a little complex...

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 ...


Go Back   Usenet Forums > Networking and Network Related > MRTG

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 04-30-2008
scoob8000
 
Posts: n/a
Default [mrtg] Combining temp and voltages but a little complex...

--===============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.&nbsp; 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==--

Reply With Quote
Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT +1. The time now is 06:06 AM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0