[mrtg] how plot in red when snmp pooling cannot be done

Steve Shipway s.shipway at auckland.ac.nz
Mon Jan 13 21:53:33 CET 2014


> When mrtg cannot reach the target the plot use the last value get and it
> produce an horizontal line until the polling restart.
> 
> Question : how have this plateau in red or how plot zero instead the last
> value ?

If you are using MRTG with RRDTool and the Routers2 frontend, then 'unknown' values default to being shown as a greyout.  You can use the options 'unknasprev' to make unknowns show as the previous value (as in native MRTG), or 'unknaszero' to display unknowns as zero.

Otherwise, in Native MRTG, mrtg-rrd and 14all, you can use 'unknaszero' to make unknowns display as zero, instead of the default behaviour (displaying as the last known previous value).

There is now way to make the unknowns display as previous value in a different colour as you ask, without making your own RRDTool command line to generate the graph image.
 
Steve

Steve Shipway
ITS Unix Services Design Lead
University of Auckland, New Zealand
Floor 1, 58 Symonds Street, Auckland
Phone: +64 (0)9 3737599 ext 86487
DDI: +64 (0)9 923 6487
Mobile: +64 (0)21 753 189
Email: s.shipway at auckland.ac.nz
 Please consider the environment before printing this e-mail : 打印本邮件,将减少一棵树存活的机会

-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/x-pkcs7-signature
Size: 5900 bytes
Desc: not available
Url : http://lists.oetiker.ch/pipermail/mrtg/attachments/20140113/6e22c4b1/attachment.bin 


More information about the mrtg mailing list