Search Exchange
Search All Sites
Nagios Live Webinars
Let our experts show you how Nagios can help your organization.Login
Directory Tree
Check Safeguard Licences
Current Version
1.0
Last Release Date
2015-07-28
Compatible With
- Nagios 1.x
- Nagios 2.x
- Nagios 3.x
- Nagios 4.x
- Nagios XI
Owner
License
GPL
Hits
5617
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
-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
Reviews (0)
Be the first to review this listing!