Hello Hernik,
Although it *has* worked before, our Hobbit server 4.0.4 has a problem now whereas it is not running external alert-script anymore?! When running hobbitd_alert it says it would run the script where in fact, it does not; again anymore?!
Hobbit has been installed using the sources, running "rpmbuild --rebuild hobbit-4.0.4-1.src.rpm". It did run the external scripts, so what has changed? We applied during our maintenance window the SLES9 patches. It has not reported since then, when I think of it. So, is there a library missing? Any suggestions?
Regards,
Peter
orwell # ldd /usr/lib/hobbit/server/bin/hobbitd_alert linux-gate.so.1 => (0xffffe000) libpcre.so.0 => /usr/lib/libpcre.so.0 (0x4001d000) libc.so.6 => /lib/tls/libc.so.6 (0x40029000) /lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x40000000)
hobbit at orwell:~> server/bin/hobbitd_alert --test orwell disk 30 red 00012428 2005-08-16 15:46:11 send_alert orwell:disk state Paging 00012428 2005-08-16 15:46:11 Matching host:service:page 'orwell:disk:DNO/SBEHEER' against rule line 183 00012428 2005-08-16 15:46:11 Failed 'HOST=%(nagger) EXSERVICE=http' (hostname not in include list) 00012428 2005-08-16 15:46:11 Matching host:service:page 'orwell:disk:DNO/SBEHEER' against rule line 189 00012428 2005-08-16 15:46:11 *** Match with 'HOST=%(orwell)' *** 00012428 2005-08-16 15:46:11 Matching host:service:page 'orwell:disk:DNO/SBEHEER' against rule line 190 00012428 2005-08-16 15:46:11 *** Match with '$UNIXDAG' *** 00012428 2005-08-16 15:46:11 Mail alert with command 'mail -s "Hobbit [12345] orwell:disk CRITICAL (RED)" email at adress_removed.nl' 00012428 2005-08-16 15:46:11 Matching host:service:page 'orwell:disk:DNO/SBEHEER' against rule line 192 00012428 2005-08-16 15:46:11 *** Match with '$UNIXNACHT' *** 00012428 2005-08-16 15:46:11 Mail alert with command 'mail -s "Hobbit [12345] orwell:disk CRITICAL (RED)" email at iaddress_removed.nl' 00012428 2005-08-16 15:46:11 Matching host:service:page 'orwell:disk:DNO/SBEHEER' against rule line 193 00012428 2005-08-16 15:46:11 *** Match with '$UNIXSEMAFOON_BEHEER' *** 00012428 2005-08-16 15:46:11 Script alert with command '/usr/local/bb/consigne.ksh' and recipient 006XXXXXXXX
2005/5/31, Henrik Stoerner <henrik at hswn.dk>:
On Tue, May 31, 2005 at 09:43:40AM +1200, Andy France wrote:
Since updating to 4.0.4, I have had a couple of "reds" which have not generated all of my alerts.
Could you check the notifications.log file for any mention of these alerts being sent out by Hobbit, and the page.log file for any errors from your scripts ? Both should be in the /var/log/hobbit/ directory.
Regards, Henrik
To unsubscribe from the hobbit list, send an e-mail to hobbit-unsubscribe at hswn.dk