Hello Darren,

Thanks for your reply

In my case I use mrtg to read eth interface counters to plot traffic interface.

Based on your 2 options and if I m not mistaken :

1. Repeat the last known value :
if both values are the same, traffic plotted is zero, and if the next pooling 
is ok traffic displayed is higher than the reality ( twice if traffic is 
constant )

2. Log as zero :
Then when next pooling  is ok, traffic displayed is unrealistic ( huge spike )

Ideally when pooling failed , the traffic calculation should be done with the 
last valid pooling and the new one BUT over 10 mn ( if pooling is done each 5 
mn )

Is there a way to this ?

Hoping to be clear ...
Cheers,

/david





-----Message d'origine-----
De : Darren Murphy [mailto:[email protected]] 
Envoyé : mercredi 30 novembre 2016 11:33
À : NEAU David IMT/OINIS
Cc : [email protected]
Objet : Re: [mrtg] mrtg : option when mrtg cannot reach the targeted device

On 29 November 2016 at 16:27,  <[email protected]> wrote:
> Hello,
>
> Does someone can explain what are the configuration options when mrtg 
> cannot reach the target ?
>

If MRTG cannot reach the target, then there will be no data for that polling 
cycle.
The default behaviour in this case is to repeat the last value.
If this is not desirable, then the 'unknaszero' option may be used, which will 
cause MRTG to log all unknown values as zero.

So essentially, there are two options:

1. Repeat the last known value
2. Log as zero

See http://oss.oetiker.ch/mrtg/doc/mrtg-reference.en.html

cheers,
Darren

_________________________________________________________________________________________________________________________

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.

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

Reply via email to