2 questions

Jeff Stoner stoners at verizon.net
Thu Dec 8 09:40:46 CET 2005


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"




More information about the Xymon mailing list