Search Exchange
Search All Sites
Nagios Live Webinars
Let our experts show you how Nagios can help your organization.Login
Directory Tree
check_datameer_job_volume.pl (Advanced Nagios Plugins Collection)
- Nagios 1.x
- Nagios 2.x
- Nagios 3.x
- Nagios XI
28102
Meet The New Nagios Core Services Platform
Built on over 25 years of monitoring experience, the Nagios Core Services Platform provides insightful monitoring dashboards, time-saving monitoring wizards, and unmatched ease of use. Use it for free indefinitely.
Monitoring Made Magically Better
- Nagios Core on Overdrive
- Powerful Monitoring Dashboards
- Time-Saving Configuration Wizards
- Open Source Powered Monitoring On Steroids
- And So Much More!
Use this to keep track of the amount of data imported by each job cumulatively for all runs of that job since Datameer is licensed by cumulative volume of imported data. This allows you to compare different jobs and see what they are costing you for comparison with the global volume license (see check_datameer_license_volume.pl for the global license volume used)
Part of the Advanced Nagios Plugins Collection.
Download it here:
https://github.com/harisekhon/nagios-plugins
./check_datameer_job_volume.pl -H $datameer_server -j 1079 ...
OK: job 1079 cumulative imported volume across 5 runs is 1.69KB [1730 bytes] | importedVolume=1730B;;;
./check_datameer_job_volume.pl --help
Nagios Plugin to check the cumulative volume of data imported by a specific Datameer job using the Rest API
Use this to keep track of the amount of data imported by each job cumulatively for all runs of that job since Datameer is licensed by cumulative volume of imported data. This allows you to compare different jobs and see what they are costing you for comparison with the global volume license (see check_datameer_license_volume.pl for the global license volume used)
Important Notes:
To find the JOB ID that you should supply to the --job-id option you should look at the Browser tab inside Datameer's web UI and right-click on the import job and then click Information. This will show you the JOB ID in the field "ID:" (NOT "File ID")
It's possible to supply a Workbook ID, Data Link ID or Export Job ID and the API happily returns the runs with no imported volume information since there was no data imported. This results in 0 bytes imported being reported, which is technically accurate, it doesn't count against the Datameer licensed volume.
usage: check_datameer_job_volume.pl [ options ]
-H --host Datameer server
-P --port Datameer port (default: 8080)
-u --user Datameer user ($DATAMEER_USER)
-p --password Datameer password ($DATAMEER_PASSWORD)
-j --job-id Job Configuration Id (get this from the web UI)
-c --critical Critical threshold (inclusive)
-t --timeout Timeout in secs (default: 10)
-v --verbose Verbose mode (-v, -vv, -vvv ...)
-w --warning Warning threshold (inclusive)
-h --help Print description and usage options
-V --version Print version and exit
Download it here:
https://github.com/harisekhon/nagios-plugins
./check_datameer_job_volume.pl -H $datameer_server -j 1079 ...
OK: job 1079 cumulative imported volume across 5 runs is 1.69KB [1730 bytes] | importedVolume=1730B;;;
./check_datameer_job_volume.pl --help
Nagios Plugin to check the cumulative volume of data imported by a specific Datameer job using the Rest API
Use this to keep track of the amount of data imported by each job cumulatively for all runs of that job since Datameer is licensed by cumulative volume of imported data. This allows you to compare different jobs and see what they are costing you for comparison with the global volume license (see check_datameer_license_volume.pl for the global license volume used)
Important Notes:
To find the JOB ID that you should supply to the --job-id option you should look at the Browser tab inside Datameer's web UI and right-click on the import job and then click Information. This will show you the JOB ID in the field "ID:
It's possible to supply a Workbook ID, Data Link ID or Export Job ID and the API happily returns the runs with no imported volume information since there was no data imported. This results in 0 bytes imported being reported, which is technically accurate, it doesn't count against the Datameer licensed volume.
usage: check_datameer_job_volume.pl [ options ]
-H --host Datameer server
-P --port Datameer port (default: 8080)
-u --user Datameer user ($DATAMEER_USER)
-p --password Datameer password ($DATAMEER_PASSWORD)
-j --job-id Job Configuration Id (get this from the web UI)
-c --critical Critical threshold (inclusive)
-t --timeout Timeout in secs (default: 10)
-v --verbose Verbose mode (-v, -vv, -vvv ...)
-w --warning Warning threshold (inclusive)
-h --help Print description and usage options
-V --version Print version and exit
Reviews (0)
Be the first to review this listing!