Where should I put snmpd.conf?

Anthony M. Rasat anthony.rasat at gmail.com
Sun Dec 6 23:37:37 UTC 2009


I have a Ubuntu 9.04 server (AMD64) and a Debian Etch AMD64.

When I tried to reconfigure /etc/snmp/snmpd.conf then reload by command "/etc/init.d/snmpd reload" apparently changes did not take place. Confused, I tried "/etc/init.d/snmpd restart". Also did not work. But when I tried "/usr/bin/snmpd -c /etc/snmp/snmpd.conf" everything works.

This also happens with Debian Etch.

Where should I supposed to put snmpd.conf? Scratching my head here.

PS: I tried "/etc/init.d/snmpd stop" then "ps -A|grep snmpd" show nothing and then "/etc/init.d/snmpd start" then ps show "snmpd". Now I know the command works. I also checked inside file "/etc/init.d/snmpd" to see how it works. Well, I see it does looking for "/etc/snmp" directory. Hmm...

Regards,

Anthony M. Rasat
Manager - Technical, Network and Support Division
PT. Jawa Pos National Network
Graha Pena Jawa Pos Group Building, 5th floor
Jln. Raya Kebayoran Lama 12, Jakarta Selatan 12210
Indonesia.-
Phone 02132185562
Phone 081574217035
Fax 02153651465
Web http://www.jpnn.com


More information about the ubuntu-users mailing list