[mrtg] cfgmaker fails

HexCodEX theplague0c at yahoo.es
Wed Nov 6 13:19:52 MET 2002


Hello
Im trying to configure mrtg with cfgmaker but it fails:

maximus:/usr/share/mrtg/cfg # cfgmaker --global 'WorkDir: /usr/local/httpd/htdocs/mrtg'   \
--global 'Options[_]: bits,growright' \
--ifref=ip  \
 --output /usr/share/mrtg/cfg/mrtg.cfg \
  public at verminaard.es

--base: Get Device Info on public@ :
Error:
  can't resolve " " to IP address
SNMPGET Problem for public@ :
--base: Vendor Id: 
--base: Populating confcache
Error:
  can't resolve " " to IP address
SNMPWALK Problem for public@ :
Error:
  can't resolve " " to IP address
SNMPWALK Problem for public@ :
Error:
  can't resolve " " to IP address
SNMPWALK Problem for public@ :
Error:
  can't resolve " " to IP address
SNMPWALK Problem for public@ :
Error:
  can't resolve " " to IP address
SNMPWALK Problem for public@ :
--base: Get Interface Info
--base: Walking ifIndex
Error:
  can't resolve " " to IP address
SNMPWALK Problem for public@ :
--base: Walking ifType
Error:
  can't resolve " " to IP address
SNMPWALK Problem for public@ :
--base: Walking ifSpeed
Error:
  can't resolve " " to IP address
SNMPWALK Problem for public@ :
--base: Walking ifAdminStatus
Error:
  can't resolve " " to IP address
SNMPWALK Problem for public@ :
--base: Walking ifOperStatus
Error:
  can't resolve " " to IP address
SNMPWALK Problem for public@ :
# Created by 
# /usr/bin/cfgmaker --global 'WorkDir: /usr/local/httpd/htdocs/mrtg' --global 'Options[_]: bits,growright' --ifref=ip ' '

WorkDir: /usr/local/httpd/htdocs/mrtg
Options[_]: bits,growright

######################################################################
# System: 
# Description: 
# Contact: 
# Location: 
######################################################################


 --output: command not found




i dont know whats happening





snmpd seems to work well:

maximus:/usr/share/mrtg/cfg # snmpwalk verminaard.es public system
system.sysDescr.0 = Efficient Networks SpeedStream 5660 Router 2.2.1(9R1) Jun  6 2001 10:18:35
system.sysObjectID.0 = OID: enterprises.763.1.5660.2.1
system.sysUpTime.0 = Timeticks: (156898865) 18 days, 3:49:48.65
system.sysContact.0 = El Gallo
system.sysName.0 = verminaard
system.sysLocation.0 = El Gallinero
system.sysServices.0 = 79


thanks for the replies

Regards!


--
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