[mrtg] mrtg error with mod_watch 3.18
Ethan Pierce
ethan.pierce at earthlink.net
Tue Jan 30 16:04:00 CET 2007
On Mon, 2007-01-29 at 10:31 -0500, Ethan Pierce wrote:
> Checking the mrtg.log, Im finding errors like this for domain.com:
>
> 2007-01-29 10:20:09 -- 2007-01-29 10:20:08: ERROR:
> Target[www.domain.com][_IN_] ' $target->[13]{$mode} ' did not eval into
> defined data
> 2007-01-29 10:20:09 -- 2007-01-29 10:20:08: ERROR:
> Target[www.domain.com][_OUT_] ' $target->[13]{$mode} ' did not eval into
> defined data
Thank you Jan, for your assistance yesterday. The problem I was having
was in fact not with mrtg, or mod_watch. My network configuration is
such that it's on a private network. The mod_watch.pl script was not
able to actually connect to the virtual hosts (real IP) to gather the
data from the /watch-info handler because there was ethernet presence
for the outside world.
It was just a matter of adding an interface for the WAN address and
mod_watch.pl was able to connect to the local vhosts by "ServerName" and
collect for mrtg.
Appreciations,
Ethan
More information about the mrtg
mailing list