LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
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 09-18-2003, 11:16 PM   #1
Neorio
Member
 
Registered: Jun 2003
Distribution: Debian
Posts: 110

Rep: Reputation: 15
SNMP question


Not sure if anyone can help me here, but here goes.

I'm using Net-SNMP 5.0.8, and I can't find the snmptrapd.conf file! Where is it?... or at least, where is it supposed to go?
 
Old 09-19-2003, 12:02 AM   #2
itsjustme
Senior Member
 
Registered: Mar 2003
Location: Earth
Distribution: Slackware, Ubuntu, Smoothwall
Posts: 1,571

Rep: Reputation: 47
How did you search for it?

$ su -
(password)
# find / -name 'snmptrapd.conf' -print

Sorry, I can't specifically help with snmp.

Also, here's a www.google.com/linux search result:

http://www.google.com/linux?hl=en&lr...=Google+Search

Looks like maybe: /usr/share/snmp/snmptrapd.conf

good luck...
 
Old 09-19-2003, 01:27 AM   #3
Neorio
Member
 
Registered: Jun 2003
Distribution: Debian
Posts: 110

Original Poster
Rep: Reputation: 15
It's not in the /usr/share area. in fact there's no snmp directory even in there. There's some kind of new directory structure.

The reason why I'm asking is that I have a script tailored for UCD SNMP, and since it become NET-SNMP, it's gone and broken a lot of old scripts. Unfortunately there seems to be no info on where the snmptrapd.conf is now, or even if it still exists in the new version. Even the webpage on Net-SNMP still has old incorrect docs pertaining to the old UCD SNMP.... so I'm really stuck.

There is an snmptrapd.conf file in /etc/net-snmp, but it is not the right one. Editing that file does nothing.
 
Old 09-19-2003, 02:13 AM   #4
Robert0380
LQ Guru
 
Registered: Apr 2002
Location: Atlanta
Distribution: Gentoo
Posts: 1,280

Rep: Reputation: 47
i like to find files this way:


#updatedb
#slocate <filename>

example
#updatedb
#slocate snmp | less


you only have to run updatedb every so often. i run it after i install a bunch of files or delete a lot of stuff, or right after i install something and need to find out where it went.
 
  


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



Similar Threads
Thread Thread Starter Forum Replies Last Post
snmp question alaios Linux - Networking 5 09-05-2005 05:47 PM
SNMP question blackzone Linux - Networking 2 08-23-2004 01:57 PM
SNMP question regarding Cisco AP toships Linux - Wireless Networking 0 05-12-2004 02:10 PM
SNMP Question Agent007 Linux - Networking 1 02-25-2004 06:07 PM
snmp (ucd-snmp, net-snmp) markus1982 Linux - Software 1 11-21-2002 10:45 AM

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

All times are GMT -5. The time now is 11:31 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