Freeswitch
A small shell script that reports various Freeswitch call status.
Install via the agent or extend.
- Install the agent on this device if it isn't already and copy the
freeswitch
script to/usr/lib/check_mk_agent/local/
wget https://raw.githubusercontent.com/librenms/librenms-agent/master/agent-local/freeswitch -O /usr/lib/check_mk_agent/local/freeswitch`
- Make the script executable
chmod +x /usr/lib/check_mk_agent/local/freeswitch
-
Configure
FSCLI
in the script. You may also have to create an/etc/fs_cli.conf
file if yourfs_cli
command requires authentication. -
Verify it is working by running
/usr/lib/check_mk_agent/local/freeswitch
- Download the script onto the desired host
wget https://github.com/librenms/librenms-agent/raw/master/agent-local/freeswitch -O /etc/snmp/freeswitch
- Make the script executable
chmod +x /etc/snmp/freeswitch
-
Configure
FSCLI
in the script. You may also have to create an/etc/fs_cli.conf
file if yourfs_cli
command requires authentication. -
Verify it is working by running
/etc/snmp/freeswitch
-
Edit your snmpd.conf file (usually
/etc/snmp/snmpd.conf
) and add:
extend freeswitch /etc/snmp/freeswitch
- Restart snmpd on your host
The application should be auto-discovered as described at the top of the page. If it is not, please follow the steps set out under SNMP Extend
heading top of page.