[hobbit] RC6 not paging.

Henrik Stoerner henrik at hswn.dk
Fri Mar 25 22:48:14 CET 2005


On Fri, Mar 25, 2005 at 03:42:44PM -0600, Daniel J McDonald wrote:
> I imagine whatever my problem with hobbit-alerts is, it is contained in
> the hobbitlaunch.cfg that I'm using:
> 
> [mcdonalddj at ldap2 etc]$ grep color /etc/hobbit/hobbitlaunch.cfg
> CMD hobbitd --pidfile=$BBSERVERLOGS/hobbitd.pid --restart=
> $BBTMP/hobbitd.chk --checkpoint-file=$BBTMP/hobbitd.chk
> --checkpoint-interval=600 --log=$BBSERVERLOGS/hobbitd.log
> --alertcolors="red" --okcolors="green,blue" --admin-senders=127.0.0.1,
> $BBSERVERIP
> CMD hobbitd_channel --channel=page --alertcolors="red"
> --okcolors="green,blue" --log=$BBSERVERLOGS/page.log hobbitd_alert
> 
> Is that the correct syntax for specifying alertcolors and okcolors?

Try removing the qoutes around the colors, i.e.

CMD hobbitd --pidfile=$BBSERVERLOGS/hobbitd.pid 
  --restart=$BBTMP/hobbitd.chk --checkpoint-file=$BBTMP/hobbitd.chk
  --checkpoint-interval=600 --log=$BBSERVERLOGS/hobbitd.log
  --alertcolors=red --okcolors=green,blue 
  --admin-senders=127.0.0.1,

and for the hobbitd_alert module, the colors are parameters to the
hobbitd_alert program, not hobbitd_channel so that should be

CMD hobbitd_channel --channel=page --log=$BBSERVERLOGS/page.log 
   hobbitd_alert --alertcolors=red


Henrik



More information about the Xymon mailing list