[mrtg] Mrtg is setup, but i think snmpd is wrong

Jeff MacDonald jeff at interchange.ca
Wed Nov 20 15:49:46 MET 2002


Hi,

I setup and configure mrtg and snmpd on my freebsd 4.7 box
i think the configs are right, but i am getting this error
when i start mrtg

su-2.05a# ps -aux|grep snmpd
root     33197  0.0  0.5  3860 2712  p3- S    Fri01AM   0:00.45 snmpd
root     86903  0.0  0.0   272  136  p2  R+    9:32AM   0:00.00 grep snmpd
su-2.05a# mrtg /usr/local/etc/mrtg/mrtg.cfg
SNMP Error:
no response received
SNMPv1_Session (remote host: "127.0.0.1" [127.0.0.1].161)
                  community: "public"
                 request ID: 2053837129
                PDU bufsize: 8000 bytes
                    timeout: 2s
                    retries: 5
                    backoff: 1)
 at /usr/local/lib/perl5/site_perl/5.005/SNMP_util.pm line 458
SNMPGET Problem for ifInOctets.1 ifOutOctets.1 sysUptime sysName on
public at 127.0.0.1
 at /usr/local/bin/mrtg line 1614
WARNING: skipping because at least the query for ifInOctets.1 on  127.0.0.1
did not succeed
ERROR: Target[label][_IN_] ' $$target[0]{$mode} ' did not eval into defined
data
ERROR: Target[label][_OUT_] ' $$target[0]{$mode} ' did not eval into defined
data
WARNING: Skipping Update of label, inlast is not defined
WARNING: Skipping Update of label, outlast is not defined

-------------------
mrtg.cfg

WorkDir: /usr/www/www.bignose.ca/www/mrtg
Options[_]: bits,growright
Target[label]: 1:public at 127.0.0.1
Title[label]: router stats
Pagetop[label]: Statistics for my router
MaxBytes[label]: 12500000

--------------------
snmpd.conf

com2sec local localhost public
group MyROGroup v1 local
group MyROGroup v2c local
group MyROGroup usm local
view all included .1 80
access MyROGroup "" any noauth exact all none none

thanks.

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