[mrtg] Re: how to solve this problem: Could not match host
Steve Shipway
s.shipway at auckland.ac.nz
Mon Dec 19 21:31:26 MET 2005
tipaporn.p at psu.ac.th wrote:
> WARNING: Could not match host:'public at 10.10.1.58:' ref:'Name'
> key:'GigabitEthernet1/0/1'
...
> ERROR: Target[10.10.1.58_gigabitethernet1_0_1][_IN_] '
> $target->[0]{$mode} ' did not eval into defined data
> ERROR: Target[10.10.1.58_gigabitethernet1_0_1][_OUT_] '
> $target->[0]{$mode} ' did not eval into defined data
The WARNING is from MRTG, saying that, when it contacted the host 10.10.1.58
with SNMP community 'public', it was unable to find an Interface Name match
for 'GigabitEthernet1/0/1'. This could be because the host is not up, the
community is wrong or doesnt have permission, or (more likely) the interface
name specified is wrong.
The second two ERRORs are a knock-on from the first. Because there was no
match earlier, no data was retrieved, and so there was no IN or OUT traffic
counter defined. Really, there two errors are superfluous and just confuse
the issue...
Solution: fix your .cfg file, or else the SNMP permissions on the device
being monitored.
Thanks for giving the error messages (which let people know what the problem
is)... but you could have trimmed it down somewhat...!
Steve
--
Unsubscribe mailto:mrtg-request at list.ee.ethz.ch?subject=unsubscribe
Archive http://lists.ee.ethz.ch/mrtg
FAQ http://faq.mrtg.org Homepage http://www.mrtg.org
WebAdmin http://lists.ee.ethz.ch/lsg2.cgi
More information about the mrtg
mailing list