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_details.pl (Advanced Nagios Plugins Collection)
- Nagios 1.x
- Nagios 2.x
- Nagios 3.x
- Nagios XI
28346
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!
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
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:
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)
Be the first to review this listing!