Some monitoring can also be gathered from mod_snmp (contributed by pressureman). It registers with snmpd via AgentX and would let you remotely query FS via SNMP.<div><br></div><div>It's limited in the information available (it does have at least calls/channels and basic status though). Any patches to add more would I'm sure be welcome.<span></span></div>
<div><br><br>On Thursday, August 22, 2013, Khalid Hosein 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>
</blockquote></div>