1834465 Members
3119 Online
110067 Solutions
New Discussion

SNMP daemon

 
Gus Fernandez
Occasional Advisor

SNMP daemon

Hi,
I have disabled the snmp daemon in the /etc/rc.config.d file. Edit the SnmpMaster, SnmpMib1, SnmpHpunix, SnmpTrpDst file and make it 0 to stop it at the time of booting.

But still it is showing the following o/p.in ps -ef command o/p.

DRXDB301:/etc/rc.config.d#ps -ef|grep snmpd
root 1496 1 0 Aug 10 ? 0:00 /usr/lbin/cmsnmpd
root 2390 1 0 Aug 10 ? 0:00 /usr/sbin/snmpdm
root 688 444 0 18:48:15 pts/0 0:00 grep snmpd

Please guide me how to stop snmp daemon at the time of booting.

Thanks & regards,
Kevin
3 REPLIES 3
Peter Godron
Honored Contributor

Re: SNMP daemon

Kevin,
looking at the time stamp I would say you have not rebooted !
Your daemons show as running since 10 August.

Please also read:
http://forums1.itrc.hp.com/service/forums/helptips.do?#33 on how to reward any useful answers given to your questions.

So far you have awarded points to only 2 of 18 answers !!
Steven E. Protter
Exalted Contributor

Re: SNMP daemon

Shalom,

The daemon could be starting anywhere.

You can search your system for references to /usr/sbin/snmpdm as follows.

find / -exec grep -lk snmpdm {} \;

This will take some time to complete.

Could be there is a third part package starting up.

To auto start there is a softlink in /sbin/rc3.d (or 2 or 1) that points to /sbin/init.d (could point elsewhere but not sure if anything else would work.

This is detective work.

Also, you could have granted a user sudo access to start the daemon manually.

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
Ralph Grothe
Honored Contributor

Re: SNMP daemon

I presume the SNMP daemons/agents that you see are part of some ServiceGuard inter-node communication.
At least the name cmsnmpd insinuates this to me.
I think it would be a bad idea to kill these.
Madness, thy name is system administration