[mrtg] resolve problem?
Michel
pjam at xs4all.nl
Sun Jan 18 23:13:29 MET 2004
Hello,
When I start cfgmaker with the following command:
./cfgmaker --global "WorkDir:/usr/local/apache/htdocs/mrtg" \ --global
"Options[_]:growright, bits" \--global "IconDir:icons" \ifref=ip
\snmp-options=:::::2c\ metro827 at metro827 > mrtg.cfg
I receive this error:
Error:
can't resolve " --global" to IP address
at /usr/local/mrtg-2/bin/../lib/mrtg2/SNMP_util.pm line 424
SNMPWALK Problem for public@ --global::::::v4only
at ./cfgmaker line 825
WARNING: Skipping public@ --global: as no info could be retrieved
But when I do an snmpwalk everything seems to work fine:
snmpwalk -v 2c -c metro827 metro827 system SNMPv2-MIB::sysDescr.0 =
STRING: Cisco Internetwork Operating System Software IOS (tm) C827
Software (C827-Y6-M), Version 12.1(1)XB, EARLY DEPLOYMENT RELEASE
SOFTWARE (fc1) Copyright (c) 1986-2000 by cisco Systems, Inc. Compiled
Mon 10-Apr-00 13:21 by phanguye SNMPv2-MIB::sysObjectID.0 = OID:
SNMPv2-SMI::enterprises.9.1.284 SNMPv2-MIB::sysUpTime.0 = Timeticks:
(44084667) 5 days, 2:27:26.67 SNMPv2-MIB::sysContact.0 = STRING:
SNMPv2-MIB::sysName.0 = STRING: wg_r_b SNMPv2-MIB::sysLocation.0 =
STRING: SNMPv2-MIB::sysServices.0 = INTEGER: 6
SNMPv2-MIB::sysORLastChange.0 = Timeticks: (0) 0:00:00.00
In the hosts file there is a mapping between the router and the IP
addres so I can ping the router by its name.
The strange thing is that I installed MRTG three times before and did
not have any problems. I am running RED HAT 9.0.
Any ideas what I am doing wrong?
Thanks in advance.
Michel
--
Unsubscribe mailto:mrtg-request at list.ee.ethz.ch?subject=unsubscribe
Archive http://www.ee.ethz.ch/~slist/mrtg
FAQ http://faq.mrtg.org Homepage http://www.mrtg.org
WebAdmin http://www.ee.ethz.ch/~slist/lsg2.cgi
More information about the mrtg
mailing list