[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Bigsister-general] Pager setup right?
- Subject: [Bigsister-general] Pager setup right?
- Date: Mon, 23 Apr 2007 18:32:31 -0300
- From: "Nicolas Agnese" <suppressed>
Hi all, I´m new
arround.
I´ve set up a
bigsis monitoring environment, and have been able to work arround most of setups
and problems just fine, but now, I´m clueless.
My BS server
version is 1.02, release 4.
In order to send
SMS alerts to my boss, I´m trying to use the pager configuration to call a perl
script every time an alarm is released.
This is how my
bb_event_configuration.cfg looks like:
*.* prio=40 down=red up=green delay=5
\
check="$host.conn and ((not
'$router') or $router.conn)" \
norepeat=20 keep=1 \
mail=/usr/share/bigsister/bin/sendPersonal:down,sendmail:suppressed
\
repeatprio=10 msgmax=60
\
maxpermin=20
sendPersonal is a
perl script, quite simple, which logs all incoming @argv to a file. I´ve tested
this script several time, just to make sure it works and it does when executed
from the command line.
Point is, I force
an alert on the server and the email goes off just fine, but the script is never
executed (since the log file is empty).
I´ve checked
ownership and privileges of the files (log and sendPersonal), and emulated the
rest of BS scripts on this aspect (root.root 755).
Also, I check the
messages log and it does´t have any error on the file
execution:
Apr 23 17:19:24
haiduk bsmon: sending page for haiduk.http with severity 50 via
/usr/lib/sendmail to
/etc/bigsister/sms/sendPersonal:down,sendmail:suppressed:
|>&red http://dev.mydomain.com/bs_checkfile.php FAI
Apr 23 17:46:38
haiduk bsmon: sending page for haiduk.http with severity 50 via
/usr/lib/sendmail to
/etc/bigsister/sms/sendPersonal:down,sendmail:suppressed:
|>&green http://dev.mydomain.com/bs_checkfile.php O
(Here you see an
http healthcheck down and up alarms being send)
I´d apretiate a lot
any light you could shed on this one.
Best
regards,
Nicolas
-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Bigsister-general mailing list
suppressed
https://lists.sourceforge.net/lists/listinfo/bigsister-general
Mail converted by mhonarc 2.6.15
This archive provided courtesy of JSW4.NET, Internet Hosting Services for Small Business.