Bug in notify
list Asif Iqbal
MAIL user-4dad1745a785@xymon.invalid user-55e81cd8542e@xymon.invalid NOTICE NOALERT It only drops the second email address. Workaround is MAIL user-4dad1745a785@xymon.invalid NOTICE NOALERT MAIL user-55e81cd8542e@xymon.invalid NOTICE NOALERT In otherwords it does not take two email address in one line 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 Daniel J McDonald
▸
On Fri, Mar 18, 2005 at 02:53:13PM -0500, Asif Iqbal wrote:
MAIL user-4dad1745a785@xymon.invalid user-55e81cd8542e@xymon.invalid NOTICE NOALERT It only drops the second email address. Workaround is MAIL user-4dad1745a785@xymon.invalid NOTICE NOALERT MAIL user-55e81cd8542e@xymon.invalid NOTICE NOALERT In otherwords it does not take two email address in one line
I think they are supposed to separated by a comma, e.g: MAIL user-4dad1745a785@xymon.invalid,user-55e81cd8542e@xymon.invalid NOTICE NOALERT -- Dan McDonald, CCIE #2495 Austin Energy
list Asif Iqbal
▸
On Fri, Mar 18, 2005 at 02:02:52PM, Daniel J McDonald wrote:
On Fri, Mar 18, 2005 at 02:53:13PM -0500, Asif Iqbal wrote:MAIL user-4dad1745a785@xymon.invalid user-55e81cd8542e@xymon.invalid NOTICE NOALERTIt only drops the second email address. Workaround is MAIL user-4dad1745a785@xymon.invalid NOTICE NOALERTMAIL user-55e81cd8542e@xymon.invalid NOTICE NOALERTIn otherwords it does not take two email address in one lineI think they are supposed to separated by a comma, e.g: MAIL user-4dad1745a785@xymon.invalid,user-55e81cd8542e@xymon.invalid NOTICE NOALERT
Not based on the DOCs
-- 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 Henrik Størner
▸
On Fri, Mar 18, 2005 at 02:02:52PM -0600, Daniel J McDonald wrote:
On Fri, Mar 18, 2005 at 02:53:13PM -0500, Asif Iqbal wrote:MAIL user-4dad1745a785@xymon.invalid user-55e81cd8542e@xymon.invalid NOTICE NOALERT It only drops the second email address. Workaround is MAIL user-4dad1745a785@xymon.invalid NOTICE NOALERT MAIL user-55e81cd8542e@xymon.invalid NOTICE NOALERT In otherwords it does not take two email address in one lineI think they are supposed to separated by a comma, e.g: MAIL user-4dad1745a785@xymon.invalid,user-55e81cd8542e@xymon.invalid NOTICE NOALERT
Using commas depends on your "mail" program being able to handle that syntax. Not all of them do. Both should work, so I'll look at the problem with NOALERT not filtering through to all of the adresses. Henrik
list Henrik Størner
▸
On Fri, Mar 18, 2005 at 02:53:13PM -0500, Asif Iqbal wrote:
MAIL user-4dad1745a785@xymon.invalid user-55e81cd8542e@xymon.invalid NOTICE NOALERT It only drops the second email address. Workaround is MAIL user-4dad1745a785@xymon.invalid NOTICE NOALERT MAIL user-55e81cd8542e@xymon.invalid NOTICE NOALERT
This should fix it. Regards, Henrik -------------- next part -------------- --- hobbitd/do_alert.c 2005/03/03 21:19:01 1.53 +++ hobbitd/do_alert.c 2005/03/20 13:52:13 @@ -673,6 +673,7 @@ rwalk->format = currcp->format; rwalk->interval = currcp->interval; rwalk->criteria = currcp->criteria; + rwalk->noalerts = currcp->noalerts; } } }
list Lars Ebeling
Hi, this: MAIL root hobbit REPEAT=20 COLOR=red works for me Regards Lars Henrik Stoerner <user-ce4a2c883f75@xymon.invalid> wrote:
Från: Henrik Stoerner[SMTP:user-ce4a2c883f75@xymon.invalid] Skickat: den 20 mars 2005 14:54:46 Till: user-ae9b8668bcde@xymon.invalid Ämne: Re: [hobbit] Bug in notify Automatiskt vidarebefordrat av en regel
▸
On Fri, Mar 18, 2005 at 02:53:13PM -0500, Asif Iqbal wrote:
MAIL user-4dad1745a785@xymon.invalid user-55e81cd8542e@xymon.invalid NOTICE NOALERT It only drops the second email address. Workaround is MAIL user-4dad1745a785@xymon.invalid NOTICE NOALERT MAIL user-55e81cd8542e@xymon.invalid NOTICE NOALERT
This should fix it. Regards, Henrik --- hobbitd/do_alert.c 2005/03/03 21:19:01 1.53 +++ hobbitd/do_alert.c 2005/03/20 13:52:13 @@ -673,6 +673,7 @@ rwalk->format = currcp->format; rwalk->interval = currcp->interval; rwalk->criteria = currcp->criteria; + rwalk->noalerts = currcp->noalerts; } } }
Hobbithobbyist
I am not young enough to know everything.
-Oscar Wilde
list Lars Ebeling
Perhaps I was to fast before, but this also works:
MAIL root hobbit NOTICE NOALERT
▸
Henrik Stoerner <user-ce4a2c883f75@xymon.invalid> wrote:
Från: Henrik Stoerner[SMTP:user-ce4a2c883f75@xymon.invalid] Skickat: den 20 mars 2005 14:54:46 Till: user-ae9b8668bcde@xymon.invalid Ämne: Re: [hobbit] Bug in notify Automatiskt vidarebefordrat av en regel
On Fri, Mar 18, 2005 at 02:53:13PM -0500, Asif Iqbal wrote:
MAIL user-4dad1745a785@xymon.invalid user-55e81cd8542e@xymon.invalid NOTICE NOALERT It only drops the second email address. Workaround is MAIL user-4dad1745a785@xymon.invalid NOTICE NOALERT MAIL user-55e81cd8542e@xymon.invalid NOTICE NOALERT
This should fix it. Regards, Henrik --- hobbitd/do_alert.c 2005/03/03 21:19:01 1.53 +++ hobbitd/do_alert.c 2005/03/20 13:52:13 @@ -673,6 +673,7 @@ rwalk->format = currcp->format; rwalk->interval = currcp->interval; rwalk->criteria = currcp->criteria; + rwalk->noalerts = currcp->noalerts; } } } Hobbithobbyist I am not young enough to know everything. -Oscar Wilde