Xymon Mailing List Archive search

RC6 not paging.

4 messages in this thread

list Daniel J McDonald · Fri, 25 Mar 2005 15:42:44 -0600 ·
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?
list Henrik Størner · Fri, 25 Mar 2005 22:48:14 +0100 ·
quoted from Daniel J McDonald
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
list Asif Iqbal · Fri, 25 Mar 2005 16:53:15 -0500 ·
quoted from Daniel J McDonald
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?

-- 
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
list Daniel J McDonald · Fri, 25 Mar 2005 16:35:51 -0600 ·
quoted from Henrik Størner
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