LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   problem with mrtg and snmp (https://www.linuxquestions.org/questions/linux-newbie-8/problem-with-mrtg-and-snmp-439952/)

ARCIS_house 04-29-2006 05:22 AM

problem with mrtg and snmp
 
Hi i have run snmpd and write mrtg.cfg done i write this command :
/usr/local/mrtg-2/bin/mrtg /home/kupciukas/mrtg/mrtg.cfg
and become :
SNMP Error:
no response received
SNMPv1_Session (remote host: "localhost" [127.0.0.1].161)
community: "2:arcis"
request ID: 547669399
PDU bufsize: 8000 bytes
timeout: 2s
retries: 5
backoff: 1)
at /usr/local/mrtg-2/bin/../lib/mrtg2/SNMP_util.pm line 490
SNMPGET Problem for ifInOctets.2 ifOutOctets.2 sysUptime sysName on 2:arcis@localhost:::::v4only
at /usr/local/mrtg-2/bin/mrtg line 1980
WARNING: skipping because at least the query for ifInOctets.2 on localhost did not succeed
WARNING: no data for ifInOctets&ifOutOctets:2:arcis@localhost. Skipping further queries for Host localhost in this round.
ERROR: Target[internet][_IN_] ' $target->[0]{$mode} ' did not eval into defined data
ERROR: Target[internet][_OUT_] ' $target->[0]{$mode} ' did not eval into defined data

p.s any ideas? I use slackware 10.2, mrtg 2.13.2
and snmpd - NET-SNMP version: 5.2.2.pre3

btmiller 04-29-2006 11:04 AM

Can you verify that snmpd is actually running and that port 161 is not blocked by your firewall? If that's not it, did you restrict SNMP access via community strings? If so you'll need to specify those inthe MRTG config file.


All times are GMT -5. The time now is 12:23 PM.