Alerting does not work for more than 3 scripts?
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 recipient1 at domain.com FORMAT=PLAIN REPEAT=720 RECOVERED SCRIPT /etc/hobbit/alert.php recipient2 at domain.com FORMAT=PLAIN REPEAT=720 RECOVERED SCRIPT /etc/hobbit/alert-sms.php recipient3 at domain.com FORMAT=PLAIN REPEAT=720 RECOVERED SCRIPT /etc/hobbit/alert-sms.php recipient4 at domain.com FORMAT=PLAIN REPEAT=720 RECOVERED
notification.log:
Tue Dec 2 09:11:22 2008 crash.com.conn (xx.xxx.xxx.xxx) recipient1 at domain.com 1228205482 500 Tue Dec 2 09:11:22 2008 crash.com.conn (xx.xxx.xxx.xxx) recipient2 at domain.com 1228205482 500 Tue Dec 2 09:11:22 2008 crash.com.conn (xx.xxx.xxx.xxx) recipient3 at domain.com 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: 0241/911879 Handelsregister: HRB 25580, Amtsgericht Köln Geschäftsführer: Werner Hanf, Dipl.-Ing. Karl-Heinz Zankel
In <20081202083209.GE17972 at mail3b.westend.com> Thomas =?iso-8859-1?Q?K=E4hn?= <tk at westend.com> 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
Hi Henrik,
On Tue, Dec 02, 2008 at 09:26:14PM +0000, Henrik Størner wrote:
In <20081202083209.GE17972 at mail3b.westend.com> Thomas =?iso-8859-1?Q?K=E4hn?= <tk at westend.com> 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.
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: 0241/911879 Handelsregister: HRB 25580, Amtsgericht Köln Geschäftsführer: Werner Hanf, Dipl.-Ing. Karl-Heinz Zankel
participants (2)
-
henrik@hswn.dk
-
tk@westend.com