[Nagiosplug-help] check_mrtg doesn't work as expected
Marcus
adesperateuser at googlemail.com
Mon May 26 14:11:47 CEST 2008
Hi Folks,
I was playing a little with check_mrtg against data from bandwidth-usage
on a switch.
However, the "-a" flag seems to be ignored:
One time, it tells me it's AVG, then MAX, which is fine, but the acutal
value is neither, because it's actually the "Current"-Value, which is
shown (the 25 Bytes/s).
Is this behavior expected? I think, it's strange.
Greetz,
Marcus
P.S.: Output at console
[root at nagios plugins]# /usr/local/nagios/libexec/check_mrtg
/var/www/mrtg/10.0.1.60_5.log -a AVG -v 1 -w 6000 -c 8500 -l Out -u
"Bytes/s"
Avg. Out = 25 Bytes/s|Out=25Bytes/s;6000;8500;
[root at nagios plugins]# /usr/local/nagios/libexec/check_mrtg
/var/www/mrtg/10.0.1.60_5.log -a MAX -v 1 -w 6000 -c 8500 -l Out -u
"Bytes/s"
Max. Out = 25 Bytes/s|Out=25Bytes/s;6000;8500;
[root at nagios plugins]# /usr/local/nagios/libexec/check_mrtg
/var/www/mrtg/10.0.1.60_5.log -v 1 -w 6000 -c 8500 -l Out -u "Bytes/s"
Avg. Out = 25 Bytes/s|Out=25Bytes/s;6000;8500;
More information about the Help
mailing list