Last active
January 26, 2016 19:19
-
-
Save mrdoornbos/fd73a5b8e56c44a20550 to your computer and use it in GitHub Desktop.
This file contains hidden or 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
init_config: | |
# the check will refresh the matching pid list every X seconds | |
# except if it detects a change before. You might want to set it | |
# low if you want to alert on process service checks. | |
# pid_cache_duration: 120 | |
instances: | |
- name: ssh | |
search_string: ['ssh', 'sshd'] | |
# tags: | |
# - env:staging | |
# - cluster:big-data | |
thresholds: | |
# critical if no sshd or more than 8 sshd are running | |
critical: [1, 7] | |
# warning if 1, 2, 6, 7 sshd processes are running | |
warning: [3, 5] | |
# ok if 3, 4, 5 processes are running | |
- name: postgres | |
search_string: ['postgres'] | |
ignore_denied_access: True | |
- name: delayed_job | |
search_string: ['delayed_job'] | |
exact_match: False |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
root@app1:~# ps ax | grep delayed_job
2354 ? Sl 21:44 delayed_job
16612 ? Sl 0:41 reports/delayed_job.0
16723 ? Sl 0:42 reports/delayed_job.1
16738 ? Sl 0:42 reports/delayed_job.2
16805 ? Sl 1:29 reports/delayed_job.3
16849 ? Sl 1:35 reports/delayed_job.4