Freeswitch
A small shell script that reports various Freeswitch call status.
Install via the agent or extend.
- If this device has no agent, install the agent and copy the
freeswitchscript 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
FSCLIin the script. You can also need an/etc/fs_cli.conffile if yourfs_clicommand requires authentication. -
Verify it is working by running
/usr/lib/check_mk_agent/local/freeswitch
- Download the script onto the 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
FSCLIin the script. You can also need an/etc/fs_cli.conffile if yourfs_clicommand requires authentication. -
Verify it is working by running
/etc/snmp/freeswitch -
Edit your
snmpd.conffile, usually/etc/snmp/snmpd.conf, and add:
extend freeswitch /etc/snmp/freeswitch
- Restart snmpd on your host.
LibreNMS discovers the application automatically, as described at the top of the page. If the discovery fails, do the steps under the SNMP Extend heading at the top of the page.