Archived community.zenoss.org | full text search
Skip navigation
Currently Being Moderated

Running only some daemons

VERSION 2  Click to view document history
Created on: Sep 14, 2009 11:21 AM by Noel Brockett - Last Modified:  Sep 23, 2009 2:55 PM by Noel Brockett
Per Chet Luther:
2.3 has a new way to go about this selective enabling/disabling of 
daemons. Here's how you use it. This should all be done as the zenoss 
user.

# Create the following blank file to tell Zenoss you're controlling 
the daemon list
touch $ZENHOME/etc/DAEMONS_TXT_ONLY

# Specify the daemons that you do want started in the daemons.txt file
cat <<EOF>$ZENHOME/etc/daemons.txt
zeoctl
zopectl
zenhub
zenping
zensyslog
zenstatus
zenactions
zentrap
zenmodeler
zenperfsnmp
zencommand
zenprocess
EOF

# Stop the unwanted daemons
zenwin stop
zeneventlog stop
zenjmx stop

# 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')"

# Check to see that the list of daemons is the one you want
zenoss status

Grabbed from this forum thread:
message/25642#25642
Comments (0)