LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 02-19-2004, 10:20 AM   #1
zhgalaxy
LQ Newbie
 
Registered: Feb 2004
Location: winston-salem, NC
Distribution: I dont know
Posts: 5

Rep: Reputation: 0
Angry SNMP error when running MRTG: no response


anybody helps?

I installed MRTG under /usr/local/mrtg-2 and installed SNMP under /usr/local/net-snmp

then I did the foloowing step:
cd /usr/local/mrtg-2/bin
cfgmaker --global 'WorkDir: /home/httpd/mrtg' \
--global 'Options[_]: bits,growright' \
--output=/home/mrtg/cfg/mrtg.cfg \
public@my_linux_IP_address

and I got the error message like this: from the error message, it seems that SNMP is not installed properly. this is what I did to install SNMP,
I downloaded the net-snmp-*.tar.gz under /usr/local/src
unpack it,
cd /usr/local/net-snmp-5.0.9
./configure --prefix=/usr/local/net-snmp
make
make install


SNMP Error:
no response received
SNMPv1_Session (remote host: "127.0.0.1" [127.0.0.1].161)
community: "public"
request ID: 854669880
PDU bufsize: 8000 bytes
timeout: 2s
retries: 5
backoff: 1)
at /usr/bin/../lib/mrtg2/SNMP_util.pm line 458
SNMPGET Problem for sysDescr sysContact sysName sysLocation sysObjectID on public@127.0.0.1:
at /usr/bin/cfgmaker line 673
--base: Vendor Id:
--base: Populating confcache
--snpo: confcache public@127.0.0.1: Descr -->
--snpo: Skipping ipAdEntIfIndex scanning because public@127.0.0.1: does not seem to support it
--snpo: confcache public@127.0.0.1: Name -->
--snpo: confcache public@127.0.0.1: Type -->
--snpo: Skipping ifPhysAddress scanning because public@127.0.0.1: does not seem
to support it
--base: Get Interface Info
--base: Walking ifIndex
SNMP Error:
no response received
SNMPv1_Session (remote host: "127.0.0.1" [127.0.0.1].161)
community: "public"
request ID: 854669883
PDU bufsize: 8000 bytes
timeout: 2s
retries: 5
backoff: 1)
at /usr/bin/../lib/mrtg2/SNMP_util.pm line 570
SNMPWALK Problem for 1.3.6.1.2.1.2.2.1.1 on public@127.0.0.1:
at /usr/bin/cfgmaker line 107
--base: Walking ifType
SNMP Error:
no response received
SNMPv1_Session (remote host: "127.0.0.1" [127.0.0.1].161)
community: "public"
request ID: 854669884
PDU bufsize: 8000 bytes
timeout: 2s
retries: 5
backoff: 1)
at /usr/bin/../lib/mrtg2/SNMP_util.pm line 570
SNMPWALK Problem for 1.3.6.1.2.1.2.2.1.3 on public@127.0.0.1:
at /usr/bin/cfgmaker line 107
--base: Walking ifSpeed
SNMP Error:
no response received
SNMPv1_Session (remote host: "127.0.0.1" [127.0.0.1].161)
community: "public"
request ID: 854669885
PDU bufsize: 8000 bytes
timeout: 2s
retries: 5
backoff: 1)
at /usr/bin/../lib/mrtg2/SNMP_util.pm line 570
SNMPWALK Problem for 1.3.6.1.2.1.2.2.1.5 on public@127.0.0.1:
at /usr/bin/cfgmaker line 107
--base: Walking ifAdminStatus
SNMP Error:
no response received
SNMPv1_Session (remote host: "127.0.0.1" [127.0.0.1].161)
community: "public"
request ID: 854669886
PDU bufsize: 8000 bytes
timeout: 2s
retries: 5
backoff: 1)
at /usr/bin/../lib/mrtg2/SNMP_util.pm line 570
SNMPWALK Problem for 1.3.6.1.2.1.2.2.1.7 on public@127.0.0.1:
at /usr/bin/cfgmaker line 107
--base: Walking ifOperStatus
SNMP Error:
no response received
SNMPv1_Session (remote host: "127.0.0.1" [127.0.0.1].161)
community: "public"
request ID: 854669887
PDU bufsize: 8000 bytes
timeout: 2s
retries: 5
backoff: 1)
at /usr/bin/../lib/mrtg2/SNMP_util.pm line 570
SNMPWALK Problem for 1.3.6.1.2.1.2.2.1.8 on public@127.0.0.1:
at /usr/bin/cfgmaker line 107
--base: Writing /home/mrtg/cfg/mrtg.cfg
ERROR: creating /home/mrtg/cfg/mrtg.cfg: No such file or directory

__________________
 
Old 03-19-2004, 09:16 PM   #2
rstory
LQ Newbie
 
Registered: Mar 2004
Posts: 21

Rep: Reputation: 15
Quote:
Originally posted by zhgalaxy
./configure --prefix=/usr/local/net-snmp
make
make install
Did you configure access control for net-snmp? Try putting 'rocommunity public' in /usr/local/net-snmp/share/snmpd.conf.
 
Old 04-02-2004, 04:33 AM   #3
fdasfdsfsd
LQ Newbie
 
Registered: Apr 2004
Posts: 1

Rep: Reputation: 0
It seems that you haven't started the snmpd-daemon.

Try the startscript which is maybe located in /etc/rc.d or where the start scripts are located in your distribution.

View this thread for more information on testing if snmpd is running correctly: http://www.linuxquestions.org/questions/history/154119

Last edited by fdasfdsfsd; 04-02-2004 at 04:41 AM.
 
  


Reply



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 On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
SNMP Response Error: noSuchName jasonmok Linux - Networking 5 04-08-2004 08:33 AM
error message when run MRTG: SNMP error zhgalaxy Linux - Newbie 0 02-18-2004 12:08 PM
snmp error in mrtg AZIMBD03 Linux - Newbie 1 01-26-2004 08:18 PM
snmp error in mrtg AZIMBD03 Linux - Networking 0 01-20-2004 04:11 AM
Running SNMP in RH 7.2 (for MRTG) Token Linux - Software 0 06-12-2002 02:05 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 09:42 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
Open Source Consulting | Domain Registration