LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
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!

Notices


Reply
  Search this Thread
Old 04-29-2006, 05:22 AM   #1
ARCIS_house
Member
 
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" [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
 
Old 04-29-2006, 11:04 AM   #2
btmiller
Senior Member
 
Registered: May 2004
Location: In the DC 'burbs
Distribution: Arch, Scientific Linux, Debian, Ubuntu
Posts: 4,284

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


Reply


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


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

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