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

scoob8000 scoob8000 at gmail.com
Wed Apr 30 20:28:17 CEST 2008

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]: at< at>*
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]: at< at>*
.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

ie, -5200 becomes 52.00

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.oetiker.ch/pipermail/mrtg/attachments/20080430/bceb05b9/attachment-0001.html 

More information about the mrtg mailing list