How can I change the net-snmp Directory

朱飞 <[email protected]>
Newsgroups gmane.network.net-snmp.user
Message-ID <[email protected]>
Dear Sir/Madam,
Sorry for interruption, I have a problem that I cant fix it, so this email was sent.
I have a centOS system with net-snmp installed, and everything is OK. Nowadays I receiver a requirement of changing the directory of the normal net-snmp, from /usr/local/net-snmp to /odsp/net-snmp. So I move the directory to the target and change the environment variable, but when I input "snmpd -f -Le -Dread_config", the path of the config file is still as same as the normal one. I dont know how to change this configure.
The following pictures is my configure and the snmp agent read-configure




I just wanna to know how can I fix the problem.
If can, please give me some advices. Thank you very much.
Best wishes.




Spring Zhu
From hangzhou,China
2012-07-13 15:13:24

------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/

_______________________________________________
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
Catch.jpg (image/jpeg, 147.3 KB) - not displayed
CatchD509.jpg (image/jpeg, 124.9 KB) - not displayed
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.