[mrtg] Can't add any devices with cfgmaker
Mike Gideon
mgideon at newstarfresh.com
Wed Mar 17 20:36:56 CET 2010
I just installed MRTG on Ubuntu.
It seems to be working fine. I added my local linux with
Cfgmaker public at localhost > /etc/mrtg.cfg
That is running just fine, updating every 5 minutes like it is supposed
to. I want to add more devices now but I get an error. I try
Cfgmaker public at 192.191.191.21 > /etc/mrtgtry2.cfg
It runs a bit then tells me
--base: Get Device Info on public@/etc/mrtgtry2.cfg:
Error:
can't resolve "/etc/mrtgtry2.cfg" to IP address
at /usr/share/perl5/SNMP_util.pm line 426
SNMPWALK Problem for public@/etc/mrtgtry2.cfg::::::v4only
at /usr/bin/cfgmaker line 861
WARNING: Skipping public@/etc/mrtgtry2.cfg: as no info could be
retrieved
I can run snmpwalk and get info back:
snmpwalk -Os -c public -v 1 192.191.191.21 system
sysDescr.0 = STRING: ProCurve J4899A Switch 2650, revision H.10.83, ROM
H.08.02 (/sw/code/build/fish(mkfs))
sysObjectID.0 = OID: enterprises.11.2.3.7.11.29
sysUpTime.0 = Timeticks: (1094649276) 126 days, 16:41:32.76
sysContact.0 = STRING:
sysName.0 = STRING: ProCurve 2650
sysLocation.0 = STRING: Server Room
sysServices.0 = INTEGER: 74
Cfgmaker seems to want to replace the IP addr of the device with the
-output.
Am I doing something simple wrong?
Thanks in advance.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.oetiker.ch/pipermail/mrtg/attachments/20100317/3c424c15/attachment.htm
More information about the mrtg
mailing list