LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 12-02-2005, 07:36 AM   #1
wintersa
LQ Newbie
 
Registered: Aug 2005
Distribution: Gentoo, Slackware
Posts: 9

Rep: Reputation: 0
snmp on slackware 10.2


Hello people,

I have some problems with met net-snmp program
the version i use is 5.2.1.2.

The following accors, i made a snmpd.conf and put it in de right
directory, example : /usr/share/snmp/snmpd.conf

if i start snmpd on the following #snmpd /usr/share/snmpd.conf
then i get nothing strange in the snmpd.log but when i go back to
the directory where snmpd.conf is then the file is renamed as a
socket file into snmpd.conf= but the daemon is running.

so if i start a snmpwalk on the following maner:

root@slacky:/# snmpwalk -v 1 -c public localhost
Timeout: No Response from localhost

I also turned a snmp daemon on in my thomson speedtouch 510 modem, and this works perfect if i put the same command as above and change localhost into the ip of my modem then i`ll get the information that i want and put it with a crontab into mrtg, and this works fine.

So what i want to know is: why do i have problems??? I have read the man page over and over again but i can come out of it.

does anyone have a manual with steps that i can use???

Thanks a lot.

A.R.Winters
 
Old 12-03-2005, 05:55 PM   #2
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985
does your "ps ax" output show that snmpd is running? do any other protocols work?
 
Old 12-04-2005, 10:34 AM   #3
wintersa
LQ Newbie
 
Registered: Aug 2005
Distribution: Gentoo, Slackware
Posts: 9

Original Poster
Rep: Reputation: 0
Hi all,

The problem is solved, i read the man pages again
and finded out that i started snmpd wrong

i started snmpd like this "snmpd /path/to/snmpd.conf"
but i must started like this
"snmpd -c /path/to/snmpd.conf"

Thank you for the fast respond.

Greetzz A.R.Winters
 
  


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
How to configure ucd-snmp and net-snmp? Tazzmanian Linux - Networking 1 05-27-2005 09:09 AM
NET-SNMP vs UCD-SNMP nitind Red Hat 1 05-20-2005 07:08 AM
Snmp onewhoknows Linux - Networking 0 05-14-2004 10:21 AM
snmp tandre Linux - Networking 3 01-15-2004 02:38 PM
snmp (ucd-snmp, net-snmp) markus1982 Linux - Software 1 11-21-2002 11:45 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

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

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