[Nagiosplug-help] Nagios plugin check_mrtgtraf and MRTG on Debian Lenny
Guy Saint-Martin
Guy.Saint-Martin at ensg.eu
Mon Sep 28 11:14:54 CEST 2009
Hello everybody,
I am running Nagios 3.0.6-3 and MRTG 2.16.2-3 on the same machine
executing Linux Debian Lenny
Everything works fine except that check_mrtgtraf returns values of
average and peak traffic which have nothing to do with the right ones,
returned from MRTG.
I use the following command line :
check_mrtgtraf -F '$ARG1$' -a '$ARG2$' -w '$ARG3$' -c '$ARG4$' -e '$ARG5$'
with :
ARG1 = logfile
ARG2 = AVG or MAX
ARG3 = 10000000,10000000
ARG4 = 50000000,50000000
ARG5 = 10
check_mrtgtraf returns :
Traffic OK - Avg. In = 438.0 KB/s, Avg. Out = 25.9
KB/s|in=438.020508KB/s;10000000.000000;50000000.000000;0.000000
in=25.878906KB/s;10000000.000000;50000000.000000;0.000000
or :
Traffic OK - Max. In = 438.0 KB/s, Max. Out = 25.9
KB/s|in=438.020508KB/s;10000000.000000;50000000.000000;0.000000
in=25.878906KB/s;10000000.000000;50000000.000000;0.000000
When MRTG returns :
IN : Max : 6300.4 kb/s, Average : 597.8 kb/s, Actual : 3581.3 kb/s
OUT : Max : 1209.2 kb/s, Average : 445.9 kb/s , 216.6 kb/s
When somebody has an idea from where it could come from, I would be glad
to read it.
Thank you,
Guy
More information about the Help
mailing list