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?
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
On Fri, 2005-03-25 at 22:48 +0100, Henrik Stoerner wrote:
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:
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
removing alertcolors and okcolors from the page channel started paging working again.
Henrik
To unsubscribe from the hobbit list, send an e-mail to hobbit-unsubscribe at hswn.dk
On Fri, Mar 25, 2005 at 03:42:44PM, 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
I am using like --alertcolors=red (without the quote)
You may run ./bin/bbcmd hobbitd_alert --test hostname service
to see if anyone suppose to get alert and not getting it
Is that the correct syntax for specifying alertcolors and okcolors?
To unsubscribe from the hobbit list, send an e-mail to hobbit-unsubscribe at hswn.dk
-- Asif Iqbal PGP Key: 0xE62693C5 KeyServer: pgp.mit.edu "..there are two kinds of people: those who work and those who take the credit...try to be in the first group;...less competition there." - Indira Gandhi
participants (3)
-
dan.mcdonald@austinenergy.com
-
henrik@hswn.dk
-
iqbala-hobbit@qwestip.net