LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Networking (https://www.linuxquestions.org/questions/linux-networking-3/)
-   -   SNMP question (https://www.linuxquestions.org/questions/linux-networking-3/snmp-question-94385/)

Neorio 09-18-2003 11:16 PM

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?

itsjustme 09-19-2003 12:02 AM

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...

Neorio 09-19-2003 01:27 AM

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.

Robert0380 09-19-2003 02:13 AM

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.


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