Build precise queries to find exactly what you need
Press ESC to close
Your review has been submitted and is pending approval.
checks configured safeguard enterprise sql server for license usage and expiry
Current Version
1.0
Last Release Date
2015-07-28
Owner
Oliver Skibbe
Download URL
https://github.com/riskersen/Monitoring/blob/master/SafeGuard/check_sgn_licence.php
License
GPL
Compatible With
checks configured safeguard enterprise sql server for license usage -H hostname of db server e.g. 'sgn1' -U username e.g. 'domaindbsnmp' -P password e.g. '123foobar' -D database e.g. 'safeguard' -> defaults to safeguard -w warning (in %) e.g. 75 -> defaults to 85 -c critical (in %) e.g. 95 -> defaults to 95 -y critical expiry days -> defaults to 30 -x warning expiry days -> defaults to 90 -d output date style -> defaults to de, supported: de, us, it, uk, fr, jp -e exclude e.g. 'Data Exchange' -> for more values, use a comma separated list ('x,y,z') -h prints this text
Samples:
# Default, minimal command $ check_sgn_licence.php -H sgn1 -U 'dbsnmp' -P '123456' CRITICAL: OK->Data Exchange: 20% (1/5 Lic, Expires: 31.03.2016) C->Device Encryption: 96% (929/960 Lic, Expires: never)| 'DataExchange_pct'=20%;85;95 'DataExchange'=1;1;1;0;5 'DeviceEncryption_pct'=96%;85;95 'DeviceEncryption'=929;144;144;0;960
# Japanese date output $ check_sgn_licence.php -H sgn1 -U 'dbsnmp' -P '123456' -w 97 -c 98 -d jp OK: everythings fine: OK->Data Exchange: 20% (1/5 Lic, Expires: 2016/03/31) OK->Device Encryption: 96% (929/960 Lic, Expires: never)| 'DataExchange_pct'=20%;97;98 'DataExchange'=1;0;0;0;5 'DeviceEncryption_pct'=96%;97;98 'DeviceEncryption'=929;29;29;0;960
$ check_sgn_licence.php -H sgn1 -U 'dbsnmp' -P '123456' -w 97 -c 98 -d us -x 360 -y 180 WARNING: W->Data Exchange: 20% (1/5 Lic, Expires: 03-31-2016) OK->Device Encryption: 96% (929/960 Lic, Expires: never)| 'DataExchange_pct'=20%;97;98 'DataExchange'=1;0;0;0;5 'DeviceEncryption_pct'=96%;97;98 'DeviceEncryption'=929;29;29;0;960
You must be logged in to submit a review.
To:
From: