<html><head><meta http-equiv="Content-Type" content="text/html charset=iso-8859-1"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">Its readable? I can fix that!!<div><br><div><div>On Aug 22, 2013, at 5:36 PM, Michael Collins <<a href="mailto:msc@freeswitch.org">msc@freeswitch.org</a>> wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"><div dir="ltr"><div>Awesome, thanks for sharing! That code is really well laid out and easy to read. Proof positive that Perl code need not be ugly and unreadable.<br><br></div>-MC<br></div><div class="gmail_extra"><br><br>
<div class="gmail_quote">On Thu, Aug 22, 2013 at 10:51 AM, Khalid Hosein <span dir="ltr"><<a href="mailto:khalid.hosein@platform28.com" target="_blank">khalid.hosein@platform28.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div dir="ltr"><div class="gmail_default" style="font-family:verdana,sans-serif;color:#073763"><br></div><div class="gmail_quote"><div dir="ltr"><div class="gmail_default" style="font-family:verdana,sans-serif;color:rgb(7,55,99)">
Hello everyone,</div><div class="gmail_default" style="font-family:verdana,sans-serif;color:rgb(7,55,99)"><br></div><div class="gmail_default" style="font-family:verdana,sans-serif;color:rgb(7,55,99)">
Like others before me, I've looked around for a Nagios plugin to monitor FreeSWITCH, but didn't find anything that met our needs. There were some discussions from years ago on this list (see links below), but no plugins or scripts. </div>
<div class="gmail_default" style="font-family:verdana,sans-serif;color:rgb(7,55,99)"><br></div><div class="gmail_default" style="font-family:verdana,sans-serif;color:rgb(7,55,99)"> <a href="http://lists.freeswitch.org/pipermail/freeswitch-users/2010-October/064600.html" target="_blank">http://lists.freeswitch.org/pipermail/freeswitch-users/2010-October/064600.html</a><br>
</div><div class="gmail_default"><font color="#073763" face="verdana, sans-serif"> <a href="http://lists.freeswitch.org/pipermail/freeswitch-users/2010-April/055640.html" target="_blank">http://lists.freeswitch.org/pipermail/freeswitch-users/2010-April/055640.html</a><br>
</font></div><div class="gmail_default"><font color="#073763" face="verdana, sans-serif"><br></font></div><div class="gmail_default"><font color="#073763" face="verdana, sans-serif">A search for 'freeswitch' on the Nagios Exchange also comes up empty.</font></div>
<div class="gmail_default"><font color="#073763" face="verdana, sans-serif"><br></font></div><div class="gmail_default"><font color="#073763" face="verdana, sans-serif">Since we really needed to use Nagios to monitor our FS servers, I had to build something, which I did in Perl. It uses Ton Voon's excellent Nagios::Plugin Perl module.</font></div>
<div class="gmail_default"><font color="#073763" face="verdana, sans-serif"><br></font></div><div class="gmail_default"><font color="#073763" face="verdana, sans-serif">Admittedly, it's limited in features, but if what you need to be monitored can be gleaned from "fs_cli -x" calls, then this plugin can be easily extended to do it. </font></div>
<div class="gmail_default"><font color="#073763" face="verdana, sans-serif"><br></font></div><div class="gmail_default"><font color="#073763" face="verdana, sans-serif">I'm a complete FreeSWITCH newb, so I may have gone about this entirely the wrong way, so please go easy on me ;-) </font></div>
<div class="gmail_default"><font color="#073763" face="verdana, sans-serif"><br></font></div><div class="gmail_default"><span style="color:rgb(7,55,99);font-family:verdana,sans-serif"> <a href="https://github.com/kjhosein/nagios-freeswitch-plugin" target="_blank">https://github.com/kjhosein/nagios-freeswitch-plugin</a></span><br>
</div><div class="gmail_default"><font color="#073763" face="verdana, sans-serif"><br></font></div><div class="gmail_default"><span style="color:rgb(7,55,99);font-family:verdana,sans-serif">I do hope this helps someone out there.</span></div>
<div class="gmail_default"><font color="#073763" face="verdana, sans-serif">Cheers,</font></div><div class="gmail_default"><font color="#073763" face="verdana, sans-serif"><br></font></div><div class="gmail_default"><font color="#073763" face="verdana, sans-serif">_Khalid</font></div>
</div>
</div><br></div>
<br>_________________________________________________________________________<br>
Professional FreeSWITCH Consulting Services:<br>
<a href="mailto:consulting@freeswitch.org">consulting@freeswitch.org</a><br>
<a href="http://www.freeswitchsolutions.com/" target="_blank">http://www.freeswitchsolutions.com</a><br>
<br>
FreeSWITCH-powered IP PBX: The CudaTel Communication Server<br>
<a href="http://www.cudatel.com/" target="_blank">http://www.cudatel.com</a><br>
<br>
Official FreeSWITCH Sites<br>
<a href="http://www.freeswitch.org/" target="_blank">http://www.freeswitch.org</a><br>
<a href="http://wiki.freeswitch.org/" target="_blank">http://wiki.freeswitch.org</a><br>
<a href="http://www.cluecon.com/" target="_blank">http://www.cluecon.com</a><br>
<br>
FreeSWITCH-users mailing list<br>
<a href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a><br>
<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
<a href="http://www.freeswitch.org/" target="_blank">http://www.freeswitch.org</a><br>
<br></blockquote></div><br><br clear="all"><br>-- <br>Michael S Collins<br>Twitter: @mercutioviz<br><a href="http://www.freeswitch.org/" target="_blank">http://www.FreeSWITCH.org</a><br><a href="http://www.cluecon.com/" target="_blank">http://www.ClueCon.com</a><br>
<a href="http://www.ostag.org/" target="_blank">http://www.OSTAG.org</a><br><br>
</div>
_________________________________________________________________________<br>Professional FreeSWITCH Consulting Services:<br><a href="mailto:consulting@freeswitch.org">consulting@freeswitch.org</a><br>http://www.freeswitchsolutions.com<br><br>FreeSWITCH-powered IP PBX: The CudaTel Communication Server<br>http://www.cudatel.com<br><br>Official FreeSWITCH Sites<br>http://www.freeswitch.org<br>http://wiki.freeswitch.org<br>http://www.cluecon.com<br><br>FreeSWITCH-users mailing list<br>FreeSWITCH-users@lists.freeswitch.org<br>http://lists.freeswitch.org/mailman/listinfo/freeswitch-users<br>UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users<br>http://www.freeswitch.org<br></blockquote></div><br></div></body></html>