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
WARNING - MRTG log file is older than maximum...
Re: WARNING - MRTG log file is older than maximum...
What plugin version and what Core version are you running? And what OS + version is this on?
Former Nagios employee
Re: WARNING - MRTG log file is older than maximum...
What are you seeing in your /usr/local/nagios/var/objects.cache for that service for the check command (search for the service_description)?
I'm not seeing that message anywhere in the code. Did you restart the nagios process (meaning that it may be using an old check in there)?
I'm not seeing that message anywhere in the code. Did you restart the nagios process (meaning that it may be using an old check in there)?