[mrtg] Re: resolve problem?
grice at binc.net
Mon Jan 19 00:58:12 MET 2004
* Michel <pjam at xs4all.nl> [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.
> ./cfgmaker --global "WorkDir:/usr/local/apache/htdocs/mrtg" --global
> "IconDir:icons" --global "Options[_]:growright,bits"
> --snmp-options=:::::2 ipref=ip metrobay at metro827 >mrtg.cfg
> --base: Get Device Info on public at ipref=ip:::::2
> can't resolve "ipref=ip" to IP address
> at /usr/local/mrtg-2/bin/../lib/mrtg2/SNMP_util.pm line 424 SNMPWALK
> Problem for public at ipref=ip:::::2:v4only at ./cfgmaker line 825
> WARNING: Skipping public at ipref=ip:::::2 as no info could be retrieved
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
metrobay at metro827" and I bet it works.
Unsubscribe mailto:mrtg-request at list.ee.ethz.ch?subject=unsubscribe
FAQ http://faq.mrtg.org Homepage http://www.mrtg.org
More information about the mrtg