epuzanov/ZenPacks.community.DistributedCollectors — Issue #1: masterdaemons not re-install safe for custom daemon exclusions
Author: dpetzel
Created: 2012-03-08 23:31:02+00:00
State: open

If you have a custom daemon that should only run on your master (and not collectors) You have to edit ZenPacks / community / DistributedCollectors / __init__.py and append a daemon to the masterdaemons list on line 32. If you re-install or install an updated version as some point this will get blown away.

In my case I can see the daemons.txt file on my collectors, but no such file exists on the master.

I think this list should get persisted to $ZENHOME/etc/master_daemons.txt and then parsed using zenPath('etc'). Install method should detect this in a similar fashion to the DAEMONS_TXT_ONLY which is currently handled in the install and remove methods.

I don't mind working up a patch if desired, if your not already in the progress of updating the pack for 4.x