WARNING - MRTG log file is older than maximum...

Support forum for Nagios Core, Nagios Plugins, NCPA, NRPE, NSCA, NDOUtils and more. Engage with the community of users including those using the open source solutions.
Locked
deano153
Posts: 17
Joined: Wed Nov 11, 2015 10:10 am
Location: Morrisville, NC

WARNING - MRTG log file is older than maximum...

Post by deano153 »

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
tmcdonald
Posts: 9117
Joined: Mon Sep 23, 2013 8:40 am

Re: WARNING - MRTG log file is older than maximum...

Post by tmcdonald »

What plugin version and what Core version are you running? And what OS + version is this on?
Former Nagios employee
ssax
Dreams In Code
Posts: 7682
Joined: Wed Feb 11, 2015 12:54 pm

Re: WARNING - MRTG log file is older than maximum...

Post by ssax »

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)?
Locked