Software

check_datameer_job_details.pl (Advanced Nagios Plugins Collection)

Description:

Checks the status of a specific Datameer job using the Rest API and output details of job success and failure counts as well as counters for the last job run as perfdata for graphing.

Current Version

Last Release Date

December 9, 2013

Compatible With

  • Nagios 1.x
  • Nagios 2.x
  • Nagios 3.x
  • Nagios XI

Owner


Project Notes
Part of the Advanced Nagios Plugins Collection. Download it here: https://github.com/harisekhon/nagios-plugins ./check_datameer_job_details.pl -H $datameer -j 1079 ... OK: job 1079 state 'completed', failureCount 0, successCount 2, last start time 'Dec 7, 2013 1:51:26 PM', stop time 'Dec 7, 2013 1:51:59 PM' | import_records=2 import_dropped_records=0 import_preview_records=2 import_bytes=19 import_output_bytes=346 import_dropped_splits=0 import_output_partitions=0 ./check_datameer_job_details.pl -H $datameer -j 1086 ... OK: job 1086 state 'completed', failureCount 0, successCount 3, last start time 'Dec 7, 2013 1:24:51 PM', stop time 'Dec 7, 2013 1:25:21 PM' | export_records=3 export_dropped_records=0 export_bytes=0 ./check_datameer_job_details.pl --help Nagios Plugin to check the status of a specific Datameer job using the Rest API and output details of job success and failure counts as well as counters for the last job run as perfdata for graphing. Detects whether job is an import or export job and outputs the following relevant counters as perfdata: import_records import_dropped_records import_preview_records import_bytes import_output_bytes import_dropped_splits import_output_partitions OR export_records export_dropped_records export_bytes 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_details.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) -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) Add a Review
Add a Review

You must be logged in to submit a review.

Thank you for your review!

Your review has been submitted and is pending approval.

Recommend

To:


From:


Thank you for your recommendation!

Your recommendation has been sent.

Project Stats
Rating
0 (0)
Favorites
0
Views
28,323