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_increase.pl (Advanced Nagios Plugins Collection)
- Nagios 1.x
- Nagios 2.x
- Nagios 3.x
- Nagios XI
27986
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 the latest run of a specific import job as a % increase compared to the last run that imported data. This is useful to check that you haven't changed/misconfigured something in an import job resulting in suddenly importing too much data and eating up your precious license volume since Datameer is licensed by cumulative volume of imported data.
Part of the Advanced Nagios Plugins Collection.
Download it here:
https://github.com/harisekhon/nagios-plugins
./check_datameer_job_volume_increase.pl -H $datameer_server -j 1079 -w 50 -c 80 ...
WARNING: 73% increase between last 2 runs of job id 1079 [33.79MB => 58.46MB] (73.00>50, w=50/c=80) | importedVolumeIncreaseOnLast=73.00%;50;80;
./check_datameer_job_volume_increase.pl --help
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")
usage: check_datameer_job_volume_increase.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)
--strict Strict mode, return 'UNKNOWN' rather than 'OK' if cannot find 2 previous runs data import volumes. Use this when you know your jobs are established and importing data
-w --warning Warning threshold for % increase of data imported compared to last job run (inclusive)
-c --critical Critical threshold for % increase of data imported compared to last job run (inclusive)
-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
Download it here:
https://github.com/harisekhon/nagios-plugins
./check_datameer_job_volume_increase.pl -H $datameer_server -j 1079 -w 50 -c 80 ...
WARNING: 73% increase between last 2 runs of job id 1079 [33.79MB => 58.46MB] (73.00>50, w=50/c=80) | importedVolumeIncreaseOnLast=73.00%;50;80;
./check_datameer_job_volume_increase.pl --help
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:
usage: check_datameer_job_volume_increase.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)
--strict Strict mode, return 'UNKNOWN' rather than 'OK' if cannot find 2 previous runs data import volumes. Use this when you know your jobs are established and importing data
-w --warning Warning threshold for % increase of data imported compared to last job run (inclusive)
-c --critical Critical threshold for % increase of data imported compared to last job run (inclusive)
-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
Reviews (0)
Be the first to review this listing!