I'm using zabbix (http://www.zabbix.com/) as a complete monitoring solution

zabbix agent has the possibility to specify custom checks that are run as often as you wish
(maybe an "asterisk -rx "sip show peers" | grep UNREACHABLE | wc -l")
the output of the script is sent to zabbix server which can fire actions (email, sms, etc)
in a very flexible manner

My 2 cents

Regards

C F ha scritto:
Thank you all for your response, but it appears that some of you
didn't understand my question. I know I can schedule a cron to check
the status (I can even use asterisk -rx "sip show peers" | grep
UNREACHABLE if I use a cron) but that is not what I want. I want
either a way that just as asterisk prints to the CLI  the following:
Peer '120' is now UNREACHABLE!  Last qualify: 118
it should also be able to trigger whatever action from a conf file or the like.
Or if there is an available solution even that involves a cron job but
already has all the options, so I don't have to reinvent the wheel.


On 4/18/07, C F <[EMAIL PROTECTED]> wrote:
I use qualify in sip.conf and need to setup a trigger when asterisk
sees it as unreachable, so that I can either drop a call file, or send
an email, or both. How can I do that?

Thank you

_______________________________________________
--Bandwidth and Colocation provided by Easynews.com --

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
  http://lists.digium.com/mailman/listinfo/asterisk-users




--
Ing. Edoardo Serra
WeBRainstorm S.r.l.
Via Pio FoĆ  83/C
10126 - Torino

Tel: +39 011 678 100
Fax: +39 011 678 275

_______________________________________________
--Bandwidth and Colocation provided by Easynews.com --

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
  http://lists.digium.com/mailman/listinfo/asterisk-users

Reply via email to