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

david.neau at orange.com david.neau at orange.com
Tue Jan 14 09:18:09 CET 2014


Hi Steve

Thanks a lot

I use the basic mrtg so I will try option "unknaszero"

Regards
/david

-----Message d'origine-----
De : Steve Shipway [mailto:s.shipway at auckland.ac.nz] 
Envoyé : lundi 13 janvier 2014 21:54
À : NEAU David IMT/IBNF; 'mrtg at lists.oetiker.ch'
Objet : RE: how plot in red when snmp pooling cannot be done

> 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 : 打印本邮件,将减少一棵树存活的机会


_________________________________________________________________________________________________________________________

Ce message et ses pieces jointes peuvent contenir des informations confidentielles ou privilegiees et ne doivent donc
pas etre diffuses, exploites ou copies sans autorisation. Si vous avez recu ce message par erreur, veuillez le signaler
a l'expediteur et le detruire ainsi que les pieces jointes. Les messages electroniques etant susceptibles d'alteration,
Orange decline toute responsabilite si ce message a ete altere, deforme ou falsifie. Merci.

This message and its attachments may contain confidential or privileged information that may be protected by law;
they should not be distributed, used or copied without authorisation.
If you have received this email in error, please notify the sender and delete this message and its attachments.
As emails may be altered, Orange is not liable for messages that have been modified, changed or falsified.
Thank you.



More information about the mrtg mailing list