Help answer threads with 0 replies.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 04-29-2006, 05:22 AM   #1
Registered: Jan 2005
Posts: 44

Rep: Reputation: 15
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" [].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/ 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
Old 04-29-2006, 11:04 AM   #2
Senior Member
Registered: May 2004
Location: In the DC 'burbs
Distribution: Arch, Scientific Linux, Debian, Ubuntu
Posts: 4,290

Rep: Reputation: 378Reputation: 378Reputation: 378Reputation: 378
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.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
snmp-mrtg ahmed4linux Linux - General 1 11-03-2004 07:27 AM
snmp error in mrtg AZIMBD03 Linux - Networking 0 01-20-2004 04:11 AM
Net-SNMP and MRTG Astro Linux - Networking 5 07-25-2003 03:24 AM
help with mrtg and snmp cristi1979 Linux - Networking 1 06-24-2003 08:49 PM
Snmp/mrtg hydro Linux - Software 1 06-15-2003 09:39 AM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 03:03 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration