Home Directory Plugins Software check_datameer_job_volume_increase.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_job_volume_increase.pl (Advanced Nagios Plugins Collection)

Rating
0 votes
Favoured:
0
Compatible With
  • Nagios 1.x
  • Nagios 2.x
  • Nagios 3.x
  • Nagios XI
Hits
26746
Network Monitoring Software - Download Nagios XI
Log Management Software - Nagios Log Server - Download
Netflow Analysis Software - Nagios Network Analyzer - Download
Checks % volume imported increase between the last 2 runs of specific Datameer import job using the Rest API

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