Plugin to check signal strength and availability of the Brevis.One SMS gateway.
This plugin was previously known as check_braintower, it was renamed due to a product name change. You should be able to check gateways running older versions as well.
apt install python-requests
yum install python-requests
usage: check_brevisone [-h] -H HOSTNAME [-T TIMEOUT] [-Q QUEUE] [-F FAIL] [--signal-warning SIGNAL_WARNING] [--signal-critical SIGNAL_CRITICAL] [--ssl-insecure] [--protocol PROTOCOL]
./check_brevisone -H 192.168.1.1 --signal-warning -85 --signal-critical -90 BREVISONE OK - que: 0 failed: 0 signal: -83db total: 0 state: Idle load: 0;0.03;0.05 time: 1451320254 disk free: 647569408 uptime: 9 min, 0 users
To connect to the HTTP endpoint (unencrypted) you can use
--protocol=http. Since firmware version 4.0 HTTPS is the
default. I you using self-certified certificates on the appliance, use
--ssl-insecure to disable verification.
GPL Version 2, see head of the plugin file for more information.