Xymon Mailing List Archive search

Alerting does not work for more than 3 scripts?

3 messages in this thread

list Thomas Kähn · Tue, 2 Dec 2008 09:32:09 +0100 ·
Hi,

I've configured 4 SCRIPT entries for a host in hobbit-alerts.cfg.

However only 3 recipients are being notified. These notifications
are also logged in /var/log/hobbit/notifications.log.

hobbitd_alert --test and --dump-config are showing for SCRIPT entries
as expected.

Is there a limitation to 3 recipients per rule in hobbit-alerts.cfg?

hobbitd_alert --dump-config:

PAGE=crashnotification/CUSTOMER 
	SCRIPT /etc/hobbit/alert.php user-f2d06e74c831@xymon.invalid FORMAT=PLAIN REPEAT=720 RECOVERED 
	SCRIPT /etc/hobbit/alert.php user-f3300fd46d52@xymon.invalid FORMAT=PLAIN REPEAT=720 RECOVERED 
	SCRIPT /etc/hobbit/alert-sms.php user-c8d17e505814@xymon.invalid FORMAT=PLAIN REPEAT=720 RECOVERED 
	SCRIPT /etc/hobbit/alert-sms.php user-3f8153db6e3a@xymon.invalid FORMAT=PLAIN REPEAT=720 RECOVERED 

notification.log:

Tue Dec  2 09:11:22 2008 crash.com.conn (xx.xxx.xxx.xxx) user-f2d06e74c831@xymon.invalid 1228205482 500
Tue Dec  2 09:11:22 2008 crash.com.conn (xx.xxx.xxx.xxx) user-f3300fd46d52@xymon.invalid 1228205482 500
Tue Dec  2 09:11:22 2008 crash.com.conn (xx.xxx.xxx.xxx) user-c8d17e505814@xymon.invalid 1228205482 500


Best regards
Thomas
-- 
Thomas Kähn                        NetCologne
Network Engineering & Design       Gesellschaft für Telekommunikation mbH
                                   Im Süsterfeld 6
Telefon: 0241/701333-18            52072 Aachen
Fax: XXXX/XXXXXX
                             Handelsregister: HRB 25580, Amtsgericht Köln
               Geschäftsführer: Werner Hanf, Dipl.-Ing. Karl-Heinz Zankel
list Henrik Størner · Tue, 2 Dec 2008 21:26:14 +0000 (UTC) ·
quoted from Thomas Kähn
In <user-b1620697a597@xymon.invalid> Thomas =?iso-8859-1?Q?K=E4hn?= <user-02a72cb3f725@xymon.invalid> writes:
I've configured 4 SCRIPT entries for a host in hobbit-alerts.cfg.
However only 3 recipients are being notified. These notifications
are also logged in /var/log/hobbit/notifications.log.
hobbitd_alert --test and --dump-config are showing for SCRIPT entries
as expected.
Is there a limitation to 3 recipients per rule in hobbit-alerts.cfg?
No, not that I can recall. Has anything been logged to the "page.log"
logfile ? That would have the error-output from the script invocation.


Regards,
Henrik
list Thomas Kähn · Wed, 3 Dec 2008 13:55:05 +0100 ·
Hi Henrik,
quoted from Henrik Størner

On Tue, Dec 02, 2008 at 09:26:14PM +0000, Henrik Størner wrote:
In <user-b1620697a597@xymon.invalid> Thomas =?iso-8859-1?Q?K=E4hn?= <user-02a72cb3f725@xymon.invalid> writes:
I've configured 4 SCRIPT entries for a host in hobbit-alerts.cfg.
However only 3 recipients are being notified. These notifications
are also logged in /var/log/hobbit/notifications.log.
hobbitd_alert --test and --dump-config are showing for SCRIPT entries
as expected.
Is there a limitation to 3 recipients per rule in hobbit-alerts.cfg?
No, not that I can recall. Has anything been logged to the "page.log"
logfile ? That would have the error-output from the script invocation.
sadly nothing has been logged to the page.log. I've tried to reproduce
the problem using 5 SCRIPT entries and again using 4 SCRIPT entries.
Both worked without any problem. I'll try to keep an eye on it, if it
happens again.
quoted from Thomas Kähn

Best regards
Thomas
-- 
Thomas Kähn                        NetCologne
Network Engineering & Design       Gesellschaft für Telekommunikation mbH
                                   Im Süsterfeld 6
Telefon: 0241/701333-18            52072 Aachen
Fax: XXXX/XXXXXX
                             Handelsregister: HRB 25580, Amtsgericht Köln
               Geschäftsführer: Werner Hanf, Dipl.-Ing. Karl-Heinz Zankel