Home Directory Plugins Software check_datameer_license.pl (Advanced Nagios Plugins Collection)

Search Exchange

Search All Sites

Nagios Live Webinars

Let our experts show you how Nagios can help your organization.

Contact Us

Phone: 1-888-NAGIOS-1
Email: sales@nagios.com

Login

Remember Me

Directory Tree

check_datameer_license.pl (Advanced Nagios Plugins Collection)

Rating
0 votes
Favoured:
0
Compatible With
  • Nagios 1.x
  • Nagios 2.x
  • Nagios 3.x
  • Nagios XI
Hits
27656
Network Monitoring Software - Download Nagios XI
Log Management Software - Nagios Log Server - Download
Netflow Analysis Software - Nagios Network Analyzer - Download
Checks Datameer license expiry using the Datameer Rest API, as well as license mode (eg 'Enterprise' vs 'Evaluation' or other) and also that the start date isn't in the future
Part of the Advanced Nagios Plugins Collection.

Download it here:

https://github.com/harisekhon/nagios-plugins

./check_datameer_license.pl -H $datameer_server ...
OK: 53 days remaining on Datameer license. License Expires: 'Jan 26, 2014 12:00:00 AM'

./check_datameer_license.pl -H $datameer_server ...
CRITICAL: License type = 'Evaluation', expected 'Enterprise'. 49 days remaining on Datameer license. License Expires: 'Jan 26, 2014 12:00:00 AM'

./check_datameer_license.pl -H $datameer_server --evaluation ...
OK: 49 days remaining on Datameer license (Evaluation). License Expires: 'Jan 26, 2014 12:00:00 AM'

./check_datameer_license.pl --help

usage: check_datameer_license.pl [ options ]

-H --host Datameer server
-P --port Datameer port (default: 8080)
-u --user Datameer user ($DATAMEER_USER)
-p --password Datameer password ($DATAMEER_PASSWORD)
-w --warning Warning threshold in days (default: 31)
-c --critical Critical threshold in days (default: 15)
--evaluation Allows Evaluation license, otherwise raises critical for anything other than Enterprise. Don't use this after you take Datameer in to production
-t --timeout Timeout in secs (default: 10)
-v --verbose Verbose mode (-v, -vv, -vvv ...)
-h --help Print description and usage options
-V --version Print version and exit