[mrtg] Can't add any devices with cfgmaker
mgideon at newstarfresh.com
Wed Mar 17 23:53:35 CET 2010
I did "cfgmaker --output /var/www/mrtg/188.8.131.52.cfg
public at 184.108.40.206" and got the cfg file. When I run indexmaker on
it "indexmaker /var/www/mrtg/220.127.116.11.cfg >
I get a page, but that has problems. It looks like it tried to create a
graph for each interface it found. It looks as if it tried to create a
page /var/www/mrtg/18.104.22.168_3.html, and 22.214.171.124_6.html etc
etc, but there aren't any 126.96.36.199_#.html files anywhere. The
hyperlink looks right http://myserver/mrtg/
Does it appear like I still don't have the cfgmaker right or is it
something with indexmaker?
What is a good way to organize many devices? I was thinking of building
a cfg directory under the mrtg. It looks like each device will have many
associated html files and that could get complicated. Then perhaps one
master page with a link to all the individual pages I've made with
indexmaker. What did you do?
Subject: Re: [mrtg] Can't add any devices with cfgmaker
Mike Gideon wrote:
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 188.8.131.52 > /etc/mrtgtry2.cfg
It runs a bit then tells me
--base: Get Device Info on public@/etc/mrtgtry2.cfg:
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
I can run snmpwalk and get info back:
snmpwalk -Os -c public -v 1 184.108.40.206 system
sysDescr.0 = STRING: ProCurve J4899A Switch 2650, revision H.10.83, ROM
sysObjectID.0 = OID: enterprises.220.127.116.11.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
Am I doing something simple wrong?
Thanks in advance.
cfgmaker public at 18.104.22.168 -output=/etc/mrtgtry2.cfg
cfgmaker thinks the second part is a second device to poll.
LCR Computer Services, Inc.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the mrtg