My company also uses zabbix to monitor our networks, and is the project that gave me the idea for creating the triggers.pl add-on i mentioned in my previous post... This addon works in basically the same way as zabbix triggers/actions work. i haven't released the code yet but i can email it to anyone interested...
<br><br>for more details: <a href="http://eagle.skyhighspeed.com/blogs/cwenman/?p=21">http://eagle.skyhighspeed.com/blogs/cwenman/?p=21</a> <br><br><div><span class="gmail_quote">On 4/19/07, <b class="gmail_sendername">Theo Band
</b> &lt;<a href="mailto:theo.band@xanadu-wireless.com">theo.band@xanadu-wireless.com</a>&gt; wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Edoardo Serra wrote:<br>&gt; I&#39;m using zabbix (<a href="http://www.zabbix.com/">http://www.zabbix.com/</a>) as a complete monitoring<br>&gt; solution<br>&gt;<br>&gt; zabbix agent has the possibility to specify custom checks that are run
<br>&gt; as often as you wish<br>&gt; (maybe an &quot;asterisk -rx &quot;sip show peers&quot; | grep UNREACHABLE | wc -l&quot;)<br>&gt; the output of the script is sent to zabbix server which can fire<br>&gt; actions (email, sms, etc)
<br>&gt; in a very flexible manner<br>This works only if you run zabbix as a privileged user (the same as runs<br>asterisk, so probably root).<br>But this is still a polling solution, not event based as the OP wants.<br>I tried this approach with zabbix to get an overview of the amount of
<br>active lines versus time. I did not succeed because of the permission<br>problem. I can only achieve it using a cron job and have the result read<br>by zabbix, which is not very elegant.<br><br>My 1 cent :-)<br>&gt;<br>
&gt; My 2 cents<br>&gt;<br>&gt; Regards<br>&gt;<br>&gt; C F ha scritto:<br>&gt;&gt; Thank you all for your response, but it appears that some of you<br>&gt;&gt; didn&#39;t understand my question. I know I can schedule a cron to check
<br>&gt;&gt; the status (I can even use asterisk -rx &quot;sip show peers&quot; | grep<br>&gt;&gt; UNREACHABLE if I use a cron) but that is not what I want. I want<br>&gt;&gt; either a way that just as asterisk prints to the CLI&nbsp;&nbsp;the following:
<br>&gt;&gt; Peer &#39;120&#39; is now UNREACHABLE!&nbsp;&nbsp;Last qualify: 118<br>&gt;&gt; it should also be able to trigger whatever action from a conf file or<br>&gt;&gt; the like.<br>&gt;&gt; Or if there is an available solution even that involves a cron job but
<br>&gt;&gt; already has all the options, so I don&#39;t have to reinvent the wheel.<br><br>_______________________________________________<br>--Bandwidth and Colocation provided by <a href="http://Easynews.com">Easynews.com
</a> --<br><br>asterisk-users mailing list<br>To UNSUBSCRIBE or update options visit:<br>&nbsp;&nbsp; <a href="http://lists.digium.com/mailman/listinfo/asterisk-users">http://lists.digium.com/mailman/listinfo/asterisk-users</a><br>
</blockquote></div><br>