* Michel <[EMAIL PROTECTED]> [040118 17:45] wrote: > Hi Alex, > > You were partly right. I removed the backslashes but still receive an > error: can't resolve "ipref=ip" to IP address > > I will look at it tomorrow. I guess it has something to do with the > SNMP-version option. > > Thanks for your quick response. > > Regards, > > MIchel > > ./cfgmaker --global "WorkDir:/usr/local/apache/htdocs/mrtg" --global > "IconDir:icons" --global "Options[_]:growright,bits" > --snmp-options=:::::2 ipref=ip [EMAIL PROTECTED] >mrtg.cfg > --base: Get Device Info on [EMAIL PROTECTED]:::::2 > Error: > can't resolve "ipref=ip" to IP address > at /usr/local/mrtg-2/bin/../lib/mrtg2/SNMP_util.pm line 424 SNMPWALK > Problem for [EMAIL PROTECTED]:::::2:v4only at ./cfgmaker line 825 > WARNING: Skipping [EMAIL PROTECTED]:::::2 as no info could be retrieved
Michel, It looks to me as if that should be --ifref=ip. I would bet that, since there's no -- before ifref=ip, cfgmaker is interpreting ifref=ip as the host name instead of metro827. So change the end to "--snmp-options=:::::2 --ipref=ip [EMAIL PROTECTED]" and I bet it works. --Michael -- Unsubscribe mailto:[EMAIL PROTECTED] 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
