On 1/13/16, 8:31 AM, "mrtg on behalf of Виктор Белоус"
<[email protected] on behalf of
[email protected]> wrote:

>Hi !
>
>I try use mrtg for get temperature data in Celsius degree positive and
>negative. In positive all good, but negative is null. Ноw configure mrtg
>for negative degree?
>--log: /opt/csw/bin/rateup /var/www/mrtg/lpowernode1/ lpowernode2
>1452691502 -Z g 2147483048 2147483048 1000 c #00cc00 #0000ff #006600
>#ff00ff -x l [Temp] k 1000 i

Rate doesn’t support negative numbers.  You need to use rrdtool to graph
negative numbers.  By default, the RRDfiles created by mrtg are turned
with a min value of 0, so after creating the red files, you need to tune
them with something like:

For k in *temp*.rrd ; do rrdtool tune $k -i ds0:-800 -i ds1:-800; done   

_______________________________________________
mrtg mailing list
[email protected]
https://lists.oetiker.ch/cgi-bin/listinfo/mrtg

Reply via email to