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.
Debian/Ubuntu (pre focal):
apt install python-requests
Ubuntu (focal and later):
apt install python3-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.
(c) 2020, NETWAYS GmbH, email@example.com
GPL Version 2, see head of the plugin file for more information.