RE: Changing snmpconf path

"Deniz Aydin" <[email protected]>
Newsgroups gmane.network.net-snmp.user
Message-ID <[email protected]>
Hi Wes thanks for reply,
These are the configuration files ;
 locate snmptrapd.conf
/etc/snmp/snmptrapd.conf
/usr/share/man/man5/snmptrapd.conf.5.gz
/usr/share/snmp/snmptrapd.conf
/var/net-snmp/snmptrapd.conf

I suppose the one under /var/net-snmp is not editable and also there is
one under /usr/share/snmp/snmptrapd.conf but i cannot edit or read this
file. It says no such file or directory
more /usr/share/snmp/snmptrapd.conf
/usr/share/snmp/snmptrapd.conf: No such file or directory

 


Deniz AYDIN

-----Original Message-----
From: Wes Hardaker [mailto:[email protected]] 
Sent: Wednesday, September 23, 2009 3:14 AM
To: Deniz Aydin
Cc: [email protected]
Subject: Re: Changing snmpconf path

>>>>> On Tue, 22 Sep 2009 15:48:56 +0300, "Deniz Aydin"
<[email protected]> said:

DA> And it says /etc/snmp is on the list but when i restart the service 
DA> via sevice command net-snmp is not using my configuraiton under
/etc/snmp.
DA> Beacuse my snmptrapd.conf file includes log file option and with the

DA> service restart log file was not created. If i start the service 
DA> with snmptrapd -c /etc/snmp/snmptrapd.conf (pointing my own 
DA> configuration
DA> file) it starts normaly and creates the log file. Can anyone help on

DA> this issue.

Do you have a copy installed in /usr/local/bin and another in /usr/bin?
I suspect you do, and the service init.d files are pointing to a
different binary.
--
Wes Hardaker
Cobham Analytic Solutions

------------------------------------------------------------------------------
Come build with us! The BlackBerry&reg; Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9&#45;12, 2009. Register now&#33;
http://p.sf.net/sfu/devconf
_______________________________________________
Net-snmp-users mailing list
[email protected]
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.