Xymon Mailing List Archive search

Bug in notify

7 messages in this thread

list Asif Iqbal · Fri, 18 Mar 2005 14:53:13 -0500 ·
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 · Fri, 18 Mar 2005 14:02:52 -0600 ·
quoted from Asif Iqbal
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 · Sat, 19 Mar 2005 13:38:29 -0500 ·
quoted from Daniel J McDonald
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 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
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 · Sun, 20 Mar 2005 14:00:53 +0100 ·
quoted from Daniel J McDonald
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 line
I 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 · Sun, 20 Mar 2005 14:54:46 +0100 ·
quoted from Asif Iqbal
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 · Sun, 20 Mar 2005 15:52:34 +0100 (CET) ·
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
quoted from Asif Iqbal
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 · Sun, 20 Mar 2005 16:53:09 +0100 (CET) ·
Perhaps I was to fast before, but this also works:
 
      MAIL root hobbit NOTICE NOALERT  
quoted from Lars Ebeling

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