Jackie Huang | 57fdea7 | 2020-04-23 11:29:15 +0800 | [diff] [blame] | 1 | [process] |
| 2 | process = ceph |
| 3 | script = /etc/init.d/ceph-init-wrapper |
| 4 | |
| 5 | style = lsb |
| 6 | severity = major ; minor, major, critical |
| 7 | restarts = 3 ; restart retries before error assertion |
| 8 | interval = 30 ; number of seconds to wait between restarts |
| 9 | |
| 10 | mode = status ; Monitoring mode: passive (default) or active |
| 11 | ; passive: process death monitoring (default: always) |
| 12 | ; active : heartbeat monitoring, i.e. request / response messaging |
| 13 | ; status : determine process health with executing "status" command |
| 14 | ; "start" is used to start the process(es) again |
| 15 | ; ignore : do not monitor or stop monitoring |
| 16 | |
| 17 | ; Status and Active Monitoring Options |
| 18 | |
| 19 | period = 30 ; monitor period in seconds |
| 20 | timeout = 120 ; for active mode, messaging timeout period in seconds, must be shorter than period |
| 21 | ; for status mode, max amount of time for a command to execute |
| 22 | |
| 23 | ; Status Monitoring Options |
| 24 | start_arg = start ; start argument for the script |
| 25 | status_arg = status ; status argument for the script |
| 26 | status_failure_text = /tmp/ceph_status_failure.txt ; text to be added to alarms or logs, this is optional |