NOTICE seems giving unexpected result
list Asif Iqbal
Hi
I like the notice option which works fine with the following rule
HOST=%(.*)
MAIL user-9567bcdf9731@xymon.invalid NOTICE
However I am also receiving RED alerts to this user-9567bcdf9731@xymon.invalid address.
This email address is not in any where else in my hobbit-alerts.cfg
file.
According to the man page and I excerpt
"NOTICE Rule matches if the message is a "notify" message.
This type of message is sent when a host or test is disabled
or enabled."
I should only get "notify" messages to my user-9567bcdf9731@xymon.invalid address.
Am I misreading the man page?
Thanks
--
Asif Iqbal
PGP Key: 0xE62693C5 KeyServer: pgp.mit.edu
"It is not the strongest of the species that survives, not the most intelligent, but
the one most responsive to change." - Charles Darwin
list Henrik Størner
▸
On Tue, Mar 15, 2005 at 12:19:19PM -0500, Asif Iqbal wrote:
I like the notice option which works fine with the following rule
HOST=%(.*)
MAIL user-9567bcdf9731@xymon.invalid NOTICE
However I am also receiving RED alerts to this user-9567bcdf9731@xymon.invalid address.
This email address is not in any where else in my hobbit-alerts.cfg
file.Add a NOALERT after the NOTICE, and you won't get the alert messages. Henrik
list Asif Iqbal
▸
On Tue, Mar 15, 2005 at 06:23:38PM, Henrik Stoerner wrote:
On Tue, Mar 15, 2005 at 12:19:19PM -0500, Asif Iqbal wrote:I like the notice option which works fine with the following ruleHOST=%(.*)MAIL user-9567bcdf9731@xymon.invalid NOTICEHowever I am also receiving RED alerts to this user-9567bcdf9731@xymon.invalid address.This email address is not in any where else in my hobbit-alerts.cfg file.Add a NOALERT after the NOTICE, and you won't get the alert messages.
Let me get this straight. So if I like to get RED alert to the address user-9567bcdf9731@xymon.invalid through a different rule in hobbit-alerts.cfg it will still work right?
▸
-- Asif Iqbal PGP Key: 0xE62693C5 KeyServer: pgp.mit.edu "It is not the strongest of the species that survives, not the most intelligent, but the one most responsive to change." - Charles Darwin
list Henrik Størner
On Tue, Mar 15, 2005 at 01:06:49PM -0500, Asif Iqbal wrote:
On Tue, Mar 15, 2005 at 06:23:38PM, Henrik Stoerner wrote:On Tue, Mar 15, 2005 at 12:19:19PM -0500, Asif Iqbal wrote:I like the notice option which works fine with the following rule HOST=%(.*) MAIL user-9567bcdf9731@xymon.invalid NOTICE However I am also receiving RED alerts to this user-9567bcdf9731@xymon.invalid address. This email address is not in any where else in my hobbit-alerts.cfg file.Add a NOALERT after the NOTICE, and you won't get the alert messages.Let me get this straight. So if I like to get RED alert to the address user-9567bcdf9731@xymon.invalid through a different rule in hobbit-alerts.cfg it will still work right?
Yes. Henrik
list Asif Iqbal
▸
On Tue, Mar 15, 2005 at 06:23:38PM, Henrik Stoerner wrote:
On Tue, Mar 15, 2005 at 12:19:19PM -0500, Asif Iqbal wrote:I like the notice option which works fine with the following ruleHOST=%(.*)MAIL user-9567bcdf9731@xymon.invalid NOTICEHowever I am also receiving RED alerts to this user-9567bcdf9731@xymon.invalid address.This email address is not in any where else in my hobbit-alerts.cfg file.Add a NOALERT after the NOTICE, and you won't get the alert messages.
Can you send a patch for maint.pl so you get only one alert per submit? That is how maint.pl used to work. In other words say I select hostA's ALL services and hostB's conn service to disable for two hours then notify sends one email per host.service. I rather have just one email per submit. Thanks
Henrik
▸
-- Asif Iqbal PGP Key: 0xE62693C5 KeyServer: pgp.mit.edu "It is not the strongest of the species that survives, not the most intelligent, but the one most responsive to change." - Charles Darwin