blob: 00418b2e9444351abf5950a4b0dd2c835ca33214 [file] [log] [blame]
Jackie Huang57fdea72020-04-23 11:29:15 +08001[process]
2process = ceph
3script = /etc/init.d/ceph-init-wrapper
4
5style = lsb
6severity = major ; minor, major, critical
7restarts = 3 ; restart retries before error assertion
8interval = 30 ; number of seconds to wait between restarts
9
10mode = 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
19period = 30 ; monitor period in seconds
20timeout = 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
24start_arg = start ; start argument for the script
25status_arg = status ; status argument for the script
26status_failure_text = /tmp/ceph_status_failure.txt ; text to be added to alarms or logs, this is optional