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.

-MC


On Thu, Aug 22, 2013 at 10:51 AM, Khalid Hosein <khalid.hosein@platform28.com> wrote:

Hello everyone,

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. 


A search for 'freeswitch' on the Nagios Exchange also comes up empty.

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.

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. 

I'm a complete FreeSWITCH newb, so I may have gone about this entirely the wrong way, so please go easy on me ;-) 


I do hope this helps someone out there.
Cheers,

_Khalid


_________________________________________________________________________
Professional FreeSWITCH Consulting Services:
consulting@freeswitch.org
http://www.freeswitchsolutions.com

FreeSWITCH-powered IP PBX: The CudaTel Communication Server
http://www.cudatel.com

Official FreeSWITCH Sites
http://www.freeswitch.org
http://wiki.freeswitch.org
http://www.cluecon.com

FreeSWITCH-users mailing list
FreeSWITCH-users@lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org




--
Michael S Collins
Twitter: @mercutioviz
http://www.FreeSWITCH.org
http://www.ClueCon.com
http://www.OSTAG.org