Scollector will monitor Linux processes specified in the configuration file.
[[Process]]
Command = "/opt/bosun/bosun"
Name = "bosun"
[[Process]]
Command = "ruby"
Name = "puppet-agent"
Args = "puppet"
[[Process]]
Command = "/haproxy$"
Name = "haproxy-t1"
Args = "/etc/haproxy-t1/haproxy-t1.cfg"
[[Process]]
Command = '/usr/bin/redis-server \*:16389'
Name = "redis-bosun-dev"
IncludeCount = true
Scollector can also use the D-Bus API to determine the state of services managed by systemd and specified in the configuration file.
[[SystemdService]]
Name = "^(puppet|redis-.*|keepalived|haproxy-t.*)$"
WatchProc = false
[[SystemdService]]
Name = "^(scollector|memcached)$"
WatchProc = true