[mrtg] KMG legend

david.neau at orange.com david.neau at orange.com
Tue Sep 29 10:18:50 CEST 2015


Hello

Thanks,

My config was simple, trying to force the giga
kMG[$aggreg_name-eth1]: G

Actually I have removed the line
I will add it as you explained and will see the result

Thanks
/d

-----Message d'origine-----
De : mrtg [mailto:mrtg-bounces+david.neau=orange.com at lists.oetiker.ch] De la part de Alex van den Bogaerdt
Envoyé : mardi 29 septembre 2015 09:07
À : mrtg at lists.oetiker.ch
Objet : Re: [mrtg] KMG legend

> Hello,
>
> My MRTg legend displays a value equal to 2000,0 Mbps. If I changed in 
> the mrtg config the kMG legend parameter to get the legend in G 
> instead of M I got the result 2000.0 G but not the expected 2.0 G

You don't show the exact config, so I can only guess:

I guess you put a kMG[_] or so somewhere in your config, and got bitten by it. In your attempt to fix it for your current target, you put in something wrong. Try this in your target definition, and make sure there is no kMG[_] or kMG[^] or similar following it:

kMG[yourtargetnamegoeshere]: ,k,M,G,T,P

This should put it back to the default, which should display mega and giga just fine.


_______________________________________________
mrtg mailing list
mrtg at lists.oetiker.ch
https://lists.oetiker.ch/cgi-bin/listinfo/mrtg

_________________________________________________________________________________________________________________________

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