Errors when running LANG=C LC_ALL=C /usr/bin/mrtg /etc/mrtg/

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
vijilants
Posts: 215
Joined: Wed Jun 12, 2013 2:50 pm

Re: Errors when running LANG=C LC_ALL=C /usr/bin/mrtg /etc/m

Post by vijilants »

This problem appear to be a moving target. I ran the command today and see output below:

Code: Select all

[root@londnms1]# LANG=C LC_ALL=C /usr/bin/mrtg /etc/mrtg/mrtg.cfg –check
2014-07-09 10:16:18: ERROR: Target[10.40.1.249_13][_IN_] ' $target->[77]{$mode} ' did not eval into defined data
2014-07-09 10:16:18: ERROR: Target[10.40.1.249_13][_OUT_] ' $target->[77]{$mode} ' did not eval into defined data
2014-07-09 10:16:18: ERROR: Target[10.40.1.249_17][_IN_] ' $target->[80]{$mode} ' did not eval into defined data
2014-07-09 10:16:18: ERROR: Target[10.40.1.249_17][_OUT_] ' $target->[80]{$mode} ' did not eval into defined data
2014-07-09 10:16:18: ERROR: Target[10.40.1.249_18][_IN_] ' $target->[81]{$mode} ' did not eval into defined data
2014-07-09 10:16:18: ERROR: Target[10.40.1.249_18][_OUT_] ' $target->[81]{$mode} ' did not eval into defined data
2014-07-09 10:16:18: ERROR: Target[10.40.1.249_19][_IN_] ' $target->[82]{$mode} ' did not eval into defined data
2014-07-09 10:16:18: ERROR: Target[10.40.1.249_19][_OUT_] ' $target->[82]{$mode} ' did not eval into defined data
2014-07-09 10:16:18: ERROR: Target[10.40.1.249_20][_IN_] ' $target->[83]{$mode} ' did not eval into defined data
2014-07-09 10:16:18: ERROR: Target[10.40.1.249_20][_OUT_] ' $target->[83]{$mode} ' did not eval into defined data
2014-07-09 10:16:18: ERROR: Target[10.40.1.249_21][_IN_] ' $target->[84]{$mode} ' did not eval into defined data
2014-07-09 10:16:18: ERROR: Target[10.40.1.249_21][_OUT_] ' $target->[84]{$mode} ' did not eval into defined data
[root@londnms1 # 
I have emailed you the service file as requested.

Thanks
slansing
Posts: 7698
Joined: Mon Apr 23, 2012 4:28 pm
Location: Travelling through time and space...

Re: Errors when running LANG=C LC_ALL=C /usr/bin/mrtg /etc/m

Post by slansing »

Well, it is likely occurring on multiple sets of devices, especially if it is the same hardware. Can you get us a copy of those flat files? At least of the one you just showed? You would not happen to be able to correlate if those switches/firewalls were down during the time you ran the check? Or if those ports were administratively down if they actually exist and are not vlans, etc?
Locked