check_sophos_xg_ha.pl
check_sophos_xg_ha.pl
This nagios plugin is free software, and comes with ABSOLUTELY NO WARRANTY.
It may be used, redistributed and/or modified under the terms of the GNU
General Public Licence (see http://www.fsf.org/licensing/licenses/gpl.txt).
-?, --usage
Print usage information
-h, --help
Print detailed help screen
-V, --version
Print version information
--extra-opts=[section][@file]
Read options from an ini file. See https://www.monitoring-plugins.org/doc/extra-opts.html
for usage and examples.
-C, --community=STRING
Community string (Default: public)
-H, --hostname=STRING
Hostname or IP of the device with SNMP access enabled
-u, --username=STRING
Username for SNMPv3
-A, --authpassword=STRING
Authentication protocol password
-a, --authprotocol=STRING
Authentication protocol: MD5, SHA, SHA-224, SHA-256, SHA-384, SHA-512 (Default: MD5)
-X, --privpassword=STRING
privacy protocol password
-x, --privprotocol=STRING
Privacy protocol: DES, AES (Default: DES)
--disabled-ok
If the HA status is disabled, the check will return OK instead of a WARNING and not perform any other checks
--expected-mode=STRING
Check if the HA mode is as expected. Example: Active-Passive
--warning-is-critical
The plugin reports all WARNING states as CRITICAL. Use it if everything not OK should be reported as CRITICAL. If the device does not respond to SNMP requests the check will still report UNKOWN.
-t, --timeout=INTEGER
Seconds before plugin times out (default: 15)
-v, --verbose
Show details for command-line debugging (can repeat up to 3 times)
--verbose
Print verbose/debug information