WARNING - MRTG log file is older than maximum...
Posted: Wed Nov 11, 2015 10:18 am
Hello,
I have a switch that I am monitoring a port using the "check_iftraffic64.pl" script. Here is my command:
$USER1$/check_iftraffic64.pl -H $HOSTADDRESS$ -C $COMMUNITYSTRING -u m -i Ethernet1/1 -b 10000 -I 10000 -w 75 -c 85
In nagios this produces a Warning of:
WARNING - MRTG log file is older than maximum allowed threshold
I run the command from the linux command line on the nagios server (as root or as nagios) and get good output...
[nagios@susiesamazingsoulstealer libexec]$ ./check_iftraffic64.pl -H $HOSTNAME -C $COMMUNITYSTRING -u m -i Ethernet1/1 -b 10000 -I 10000 -w 75 -c 85
OK - Average IN: 199.04KB (0.02%), Average OUT: 111.43KB (0.01%)Total RX: 1936.91GBytes, Total TX: 1366.36GBytes|inUsage=0.02%;75;85 outUsage=0.01%;75;85 inBandwidth=199.04KB outBandwidth=111.43KB inAbsolut=1936908926784B outAbsolut=1366358992448B
I have searched this forum but only find reference to the "check_mrtg" command.
Any Assistance would be helpfull,
Thank you,
Dean Price
I have a switch that I am monitoring a port using the "check_iftraffic64.pl" script. Here is my command:
$USER1$/check_iftraffic64.pl -H $HOSTADDRESS$ -C $COMMUNITYSTRING -u m -i Ethernet1/1 -b 10000 -I 10000 -w 75 -c 85
In nagios this produces a Warning of:
WARNING - MRTG log file is older than maximum allowed threshold
I run the command from the linux command line on the nagios server (as root or as nagios) and get good output...
[nagios@susiesamazingsoulstealer libexec]$ ./check_iftraffic64.pl -H $HOSTNAME -C $COMMUNITYSTRING -u m -i Ethernet1/1 -b 10000 -I 10000 -w 75 -c 85
OK - Average IN: 199.04KB (0.02%), Average OUT: 111.43KB (0.01%)Total RX: 1936.91GBytes, Total TX: 1366.36GBytes|inUsage=0.02%;75;85 outUsage=0.01%;75;85 inBandwidth=199.04KB outBandwidth=111.43KB inAbsolut=1936908926784B outAbsolut=1366358992448B
I have searched this forum but only find reference to the "check_mrtg" command.
Any Assistance would be helpfull,
Thank you,
Dean Price