alerts.cfg PAGE Syntax
list 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?
Thanks.
--
list Mike Burger
▸
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
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.
--
list Mike Burger
▸
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.
▸
-- 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