Xymon Mailing List Archive search

alerts.cfg PAGE Syntax

4 messages in this thread

list Ciprian Parfon · Mon, 14 Jan 2013 21:55:08 +0200 ·
Hi Gents,

Could you please tell me what's wrong here:

hosts.cfg:
page servers  <H3> my_servers </H3>

alerts.cfg
PAGE=servers
     MAIL user-5545b5cfc9f9@xymon.invalid  DURATION>15m REPEAT=30m

I have multiple HOSTS which are working well. I get the notification 
emails.  However for the 'PAGE' declaration I get nothing.

Any ideas?

Thanks.

--
list Mike Burger · Mon, 14 Jan 2013 15:02:22 -0500 (EST) ·
quoted from Ciprian Parfon
Hi Gents,

Could you please tell me what's wrong here:

hosts.cfg:
page servers  <H3> my_servers </H3>

alerts.cfg
PAGE=servers
     MAIL user-5545b5cfc9f9@xymon.invalid  DURATION>15m REPEAT=30m

I have multiple HOSTS which are working well. I get the notification
emails.  However for the 'PAGE' declaration I get nothing.

Any ideas?
Does your page "servers" actually have any hosts in it, or is it a parent
with subpages contained within?

If it's a parent, then you may need to do one of the following:

PAGE=servers/<subpage>

or

PAGE=%(servers)

To make it happen.

-- 
Mike Burger
http://www.bubbanfriends.org

"It's always suicide-mission this, save-the-planet that. No one ever just
stops by to say 'hi' anymore." --Colonel Jack O'Neill, SG1
list Ciprian Parfon · Mon, 14 Jan 2013 23:09:51 +0200 ·
Thanks Mike

That worked!
quoted from Mike Burger

On 01/14/2013 10:02 PM, Mike Burger wrote:
Hi Gents,

Could you please tell me what's wrong here:

hosts.cfg:
page servers  <H3> my_servers </H3>

alerts.cfg
PAGE=servers
      MAIL user-5545b5cfc9f9@xymon.invalid  DURATION>15m REPEAT=30m

I have multiple HOSTS which are working well. I get the notification
emails.  However for the 'PAGE' declaration I get nothing.

Any ideas?
Does your page "servers" actually have any hosts in it, or is it a parent
with subpages contained within?

If it's a parent, then you may need to do one of the following:

PAGE=servers/<subpage>

or

PAGE=%(servers)

To make it happen.
--
list Mike Burger · Mon, 14 Jan 2013 16:29:10 -0500 (EST) ·
quoted from Ciprian Parfon
Thanks Mike

That worked!

On 01/14/2013 10:02 PM, Mike Burger wrote:
Hi Gents,

Could you please tell me what's wrong here:

hosts.cfg:
page servers  <H3> my_servers </H3>

alerts.cfg
PAGE=servers
      MAIL user-5545b5cfc9f9@xymon.invalid  DURATION>15m REPEAT=30m

I have multiple HOSTS which are working well. I get the notification
emails.  However for the 'PAGE' declaration I get nothing.

Any ideas?
Does your page "servers" actually have any hosts in it, or is it a
parent
with subpages contained within?

If it's a parent, then you may need to do one of the following:

PAGE=servers/<subpage>

or

PAGE=%(servers)

To make it happen.
Excellent. Glad that I was able to help.
quoted from Mike Burger
-- 
Mike Burger
http://www.bubbanfriends.org

"It's always suicide-mission this, save-the-planet that. No one ever just
stops by to say 'hi' anymore." --Colonel Jack O'Neill, SG1