Selectively Disable Zenoss Daemons
From SysAdminWiki
Overview
Tip from Chet Luther.
Procedure
This should all be done as the “zenoss” user.
- 1. Create the following blank file to tell Zenoss you’re controlling the daemon list:
touch $ZENHOME/etc/DAEMONS_TXT_ONLY
- 2. Specify the daemons that you do want started in the daemons.txt file
cat <$ZENHOME/etc/daemons.txt zeoctl zopectl zenhub zenping zensyslog zenstatus zenactions zentrap zenmodeler zenperfsnmp zencommand zenprocess EOF
- 3. Stop the unwanted daemons
zenwin stop zeneventlog stop zenjmx stop
- 4. Clear the heartbeats so you don’t get heartbeat failure events
mysql -uzenoss -pzenoss events -e "delete from heartbeat where component in ('zenwin', 'zeneventlog', 'zenjmx')"
5) Check to see that the list of daemons is the one you want
zenoss status
