jthomas@rb-far-mintest:/var/run$ sudo monit -vvv monitor monoserve
monit: Debug: Adding net allow '0.0.0.0/0.0.0.0'.
monit: Debug: Adding credentials for user 'admin'.
Runtime constants:
Control file = /etc/monit/monitrc
Log file = /var/log/monit.log
Pid file = /run/monit.pid
Id file = /var/lib/monit/id
State file = /var/lib/monit/state
Debug = True
Log = True
Use syslog = False
Is Daemon = True
Use process engine = True
Poll time = 5 seconds with start delay 0 seconds
Expect buffer = 256 bytes
Event queue = base directory /var/lib/monit/events with 100 slots
Mail server(s) = redrelay.redmayne.co.uk:25 with timeout 30 seconds
Mail from = (not defined)
Mail subject = (not defined)
Mail message = (not defined)
Start monit httpd = True
httpd bind address = Any/All
httpd portnumber = 2812
httpd signature = True
Use ssl encryption = False
httpd auth. style = Basic Authentication and Host/Net allow list
Alert mail to = james.thomas@redmayne.co.uk
Alert on = All events
The service list contains the following entries:
Process Name = nginx
Group = www-data
Pid file = /var/run/nginx.pid
Monitoring mode = active
Start program = '/etc/init.d/nginx start' timeout 30 second(s)
Stop program = '/etc/init.d/nginx stop' timeout 30 second(s)
Existence = if does not exist 1 times within 1 cycle(s) then restart else if succeeded 1 times within 1 cycle(s) then alert
Pid = if changed 1 times within 1 cycle(s) then alert
Ppid = if changed 1 times within 1 cycle(s) then alert
Process Name = monoserve
Pid file = /var/run/monoserve.pid
Monitoring mode = active
Start program = '/etc/init.d/monoserve start' timeout 30 second(s)
Stop program = '/etc/init.d/monoserve stop' timeout 30 second(s)
Existence = if does not exist 1 times within 1 cycle(s) then restart else if succeeded 1 times within 1 cycle(s) then alert
Pid = if changed 1 times within 1 cycle(s) then alert
Ppid = if changed 1 times within 1 cycle(s) then alert
System Name = rb-far-mintest.redmayne.co.uk
Monitoring mode = active