I did do some similar work with opsview but it should work with Nagios as it's built on it anyway.

http://freeswitch-users.2379917.n2.nabble.com/Freeswitch-amp-Opsview-Monitoring-td7590796.html

Work well for me as the only real state I needed was the concurrent call rate so we could compare it to the system resources and see how it was performing with our call campaigns. Seems to be running happily presently at 220 concurrent calls for only a 2x CPU & 16Gb Virtual Server


Alex Ynema | IT Consultant
alex@opensystems.net.au

Level 1, 409-411 Oxford Street, Mount Hawthorne WA 6016
Office: +61 8 9427 2500
Mobile: +61 404 796 894

IT Consultant for Open Systems Support


On 23 August 2013 08:04, Henry Huang <red.rain.seven@gmail.com> wrote:
Thank you for sharing. I am currently working on similar check with Nagios using Bash. But this looks good and has the options ready for me to just add additional commands that I want to check on FS.

Henry


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



_________________________________________________________________________
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