This repository has been archived by the owner on Jul 25, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
15 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
#!/bin/bash | ||
|
||
/usr/bin/gmetric --name Redis_email_queue --value `/usr/local/bin/redis-cli llen resque:queue:email | /bin/sed 's/(integer)//'` --type int32 --unit email | ||
/usr/bin/gmetric --name Redis_transition_queue --value `/usr/local/bin/redis-cli llen resque:queue:transition | /bin/sed 's/(integer)//'` --type int32 --unit transition | ||
/usr/bin/gmetric --name Redis_each_employer_queue --value `/usr/local/bin/redis-cli llen resque:queue:each_employer | /bin/sed 's/(integer)//'` --type int32 --unit each_employer | ||
/usr/bin/gmetric --name Redis_statused_queue --value `/usr/local/bin/redis-cli llen resque:queue:statused | /bin/sed 's/(integer)//'` --type int32 --unit statused | ||
/usr/bin/gmetric --name Redis_reporting_etl_queue --value `/usr/local/bin/redis-cli llen resque:queue:reporting_etl | /bin/sed 's/(integer)//'` --type int32 --unit reporting_etl | ||
/usr/bin/gmetric --name Redis_reports_queue --value `/usr/local/bin/redis-cli llen resque:queue:reports | /bin/sed 's/(integer)//'` --type int32 --unit reports | ||
/usr/bin/gmetric --name Redis_integration_jobs_queue --value `/usr/local/bin/redis-cli llen resque:queue:integration_jobs | /bin/sed 's/(integer)//'` --type int32 --unit integration | ||
/usr/bin/gmetric --name Redis_reporting_s3_upload_queue --value `/usr/local/bin/redis-cli llen resque:queue:reporting_s3_upload | /bin/sed 's/(integer)//'` --type int32 --unit repor | ||
/usr/bin/gmetric --name Redis_system_event_queue --value `/usr/local/bin/redis-cli llen resque:queue:system_event | /bin/sed 's/(integer)//'` --type int32 --unit system_event | ||
/usr/bin/gmetric --name Redis_keyword_index_deltas_queue --value `/usr/local/bin/redis-cli llen resque:queue:keyword_index_deltas | /bin/sed 's/(integer)//'` --type int32 --unit key | ||
/usr/bin/gmetric --name Redis_reporting_db_copy_queue --value `/usr/local/bin/redis-cli llen resque:queue:reporting_db_copy | /bin/sed 's/(integer)//'` --type int32 --unit reporting | ||
/usr/bin/gmetric --name Redis_pdf_queue --value `/usr/local/bin/redis-cli llen resque:queue:pdf | /bin/sed 's/(integer)//'` --type int32 --unit pdf | ||
/usr/bin/gmetric --name Redis_import_export_queue --value `/usr/local/bin/redis-cli llen resque:queue:import_export | /bin/sed 's/(integer)//'` --type int32 --unit import_export |