MRTG errors

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
CFT6Server
Posts: 506
Joined: Wed Apr 15, 2015 4:21 pm

MRTG errors

Post by CFT6Server »

We are getting the following errors in MRTG. How would we address this?

Code: Select all

2015-10-27 17:41:05: ERROR: Target[IP_369100078][_IN_] ' $target->[22]{$mode} ' did not eval into defined data
2015-10-27 17:41:05: ERROR: Target[IP_369100078][_OUT_] ' $target->[22]{$mode} ' did not eval into defined data
2015-10-27 17:41:05: ERROR: Target[IP2_805306369][_IN_] ' $target->[808]{$mode} ' did not eval into defined data
2015-10-27 17:41:05: ERROR: Target[IP2_805306369][_OUT_] ' $target->[808]{$mode} ' did not eval into defined data
2015-10-27 17:41:05: ERROR: Target[IP2_1073741825][_IN_] ' $target->[809]{$mode} ' did not eval into defined data
2015-10-27 17:41:05: ERROR: Target[IP2_1073741825][_OUT_] ' $target->[809]{$mode} ' did not eval into defined data
2015-10-27 17:41:05: ERROR: Target[IP2_1073741826][_IN_] ' $target->[810]{$mode} ' did not eval into defined data
2015-10-27 17:41:05: ERROR: Target[IP2_1073741826][_OUT_] ' $target->[810]{$mode} ' did not eval into defined data
2015-10-27 17:41:05: ERROR: Target[IP2_1073741828][_IN_] ' $target->[811]{$mode} ' did not eval into defined data
User avatar
Box293
Too Basu
Posts: 5126
Joined: Sun Feb 07, 2010 10:55 pm
Location: Deniliquin, Australia
Contact:

Re: MRTG errors

Post by Box293 »

Most annoyingly comment out each port in the config file it is complaining about ... it's about 37 lines per port. Or simply delete the port from the config file.

The configuration files for MRTG are created with the program cfgmaker. While you may have selected to only monitor a handful of ports from your network device when using the wizard, MRTG will collect data from all the interfaces.
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
CFT6Server
Posts: 506
Joined: Wed Apr 15, 2015 4:21 pm

Re: MRTG errors

Post by CFT6Server »

This is annoying. So if there is a device with 4 ports that I want to check, but the wizard finds 400, it will commit all 400 to configuration for MRTG to check? This could add a lot of unnecessary load to the XI box checking all the ports that aren't in XI.
ssax
Dreams In Code
Posts: 7682
Joined: Wed Feb 11, 2015 12:54 pm

Re: MRTG errors

Post by ssax »

I agree, I've entered it in a bug report for you with a link back to this thread:

Code: Select all

NEW TASK ID 6811 created - Nagios XI Bug Report: Only selected ports should be in the MRTG config file when using the wizard
CFT6Server
Posts: 506
Joined: Wed Apr 15, 2015 4:21 pm

Re: MRTG errors

Post by CFT6Server »

Thanks ssax. This can be closed.
Locked