Wes Hardaker wrote:
Rajagopal> Then I started my snmpd with the following command
Rajagopal> "/usr/sbin/snmpd -L -f -c /usr/share/snmp/snmpd.conf"

You're only loading one of them.  The right way to do this is actually
to tell the agent to look in both places:

setenv SNMPCONFPATH /usr/share/snmp:/var/net-snmp
/usr/sbin/snmpd -L -f /usr/share/snmp/snmpd.conf

Umm .. I don't think that will even start. ;-)
I'd recommend:

  env SNMPCONFPATH=/usr/share/snmp:/var/net-snmp /usr/sbin/snmpd -L -f

instead (which has the added benefit of working with any shell and only modifying the environment of snmpd).


+Thomas

--
Thomas Anders (thomas.anders at blue-cable.de)


-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642
_______________________________________________
Net-snmp-coders mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/net-snmp-coders

Reply via email to