Xymon Mailing List Archive search

2 questions

list Jeff Stoner
Thu, 08 Dec 2005 03:40:46 -0500
Message-Id: <1134031246.16419.9.camel@localhost>

1. Can a hobbitd worker subscribe to more than one channel without
launching multiple workers? Can you add a:


[frazzle]
        ENVFILE /home/hobbit/server/server/etc/hobbitserver.cfg
        NEEDS hobbitd
        CMD hobbitd_channel --channel=stachg,status,notes --log=
$BBSERVERLOGS/frazzle.log hobbitd_frazzle

so the hobbitd_frazzle worker gets stachg, status and notes messages?


2. What is the hobbitd_filter program? The comment is:

/* Filter for incoming messages.
/* This module is invoked when a new status message is received, but
/* before it is handled by the daemon. The message is passed from
/* hobbitd in shared memory, so this filter can modify the message e.g.
/* change the color of the message based on some criteria.

but I don't see where it gets called from hobbitd or launched as a
separate process. I'm very intrigued by this code and what I can
accomplish with it.


-Jeff 

"Fun with Users #1: ln -s /dev/random /etc/motd"