root@mia-tm-tru-main-primary: /usr/local/src # monit -vI Adding host allow 'localhost' Adding host allow 'netman-ng-int.example.net' Adding credentials for user 'monit' Adding net allow '10.124.74.68' Runtime constants: Control file = /etc/monitrc Log file = syslog Pid file = /var/run/monit.pid Id file = /var/.monit.id State file = /var/.monit.state Debug = True Log = True Use syslog = True Is Daemon = True Use process engine = True Poll time = 30 seconds with start delay 10 seconds Expect buffer = 256 bytes Event queue = base directory /var/spool/monit with 1000 slots M/Monit(s) = https://[netman-ng-int.example.net]:8443/collector with timeout 5 seconds ssl version v2 using credentials Mail server(s) = localhost:25 with timeout 30 seconds Mail from = (not defined) Mail subject = (not defined) Mail message = (not defined) Start monit httpd = True httpd bind address = 10.124.74.68 httpd portnumber = 2812 httpd ssl = Disabled httpd signature = Enabled httpd auth. style = Basic Authentication and Host/Net allow list The service list contains the following entries: Remote Host Name = vzw-vpn-ping Address = 10.238.31.119 Monitoring mode = active Port = if failed [10.238.31.119]:35 type TCP/IP protocol SSH with timeout 25 seconds for 8 times within 10 cycles then alert Process Name = tru_notify Pid file = /var/run/tru_notify-service.pid Monitoring mode = active Start program = '/etc/init.d/tru_notify-service start' timeout 30 second(s) Stop program = '/etc/init.d/tru_notify-service stop' timeout 30 second(s) Existence = if does not exist then restart Port = if failed [localhost]:8800 type TCP/IP protocol DEFAULT with timeout 5 seconds then restart Timeout = If restarted 2 times within 3 cycle(s) then alert Process Name = sshd Group = system Pid file = /var/run/sshd.pid Monitoring mode = active Start program = '/etc/init.d/ssh start' timeout 30 second(s) Stop program = '/etc/init.d/ssh stop' timeout 30 second(s) Existence = if does not exist then restart Depends on Service = sshd.chksum Port = if failed [localhost]:35 type TCP/IP protocol SSH with timeout 30 seconds then restart Timeout = If restarted 2 times within 3 cycle(s) then alert File Name = sshd.chksum Path = /usr/sbin/sshd Monitoring mode = active Existence = if does not exist then restart Checksum = if failed 9dca03f9bfda522998b965f53ebec0266560bb28(SHA1) then alert Process Name = snmpd Group = system Pid file = /var/run/snmpd.pid Monitoring mode = active Start program = '/etc/init.d/snmpd start' timeout 30 second(s) Stop program = '/etc/init.d/snmpd stop' timeout 30 second(s) Existence = if does not exist then restart Port = if failed [localhost]:161 type UDP/IP protocol DEFAULT with timeout 5 seconds then restart Timeout = If restarted 2 times within 3 cycle(s) then alert Remote Host Name = smtp-relay-server Address = 10.99.170.142 Monitoring mode = active Port = if failed [10.99.170.142]:587 type TCP/IP protocol generic with timeout 15 seconds then alert Process Name = servercomm-local Group = servercomm Pid file = /var/run/servercomm.pid Monitoring mode = active Start program = '/etc/init.d/servercomm start' timeout 30 second(s) Stop program = '/etc/init.d/servercomm stop' timeout 30 second(s) Existence = if does not exist then restart Timeout = If restarted 2 times within 3 cycle(s) then alert Timeout = If restarted 2 times within 3 cycle(s) then stop Timeout = If restarted 2 times within 3 cycle(s) then alert Program Name = servercomm-db1 Group = servercomm Path = /usr/local/bin/check_server_wrapper Monitoring mode = active Program timeout = terminate the program if not finished within 15 seconds Status = if exit value != 0 then alert Every = Don't check service every 40-50 0 * * * Process Name = salt-minion Group = system Pid file = /var/run/salt-minion.pid Monitoring mode = active Start program = '/etc/init.d/salt-minion start' timeout 30 second(s) Stop program = '/etc/init.d/salt-minion stop' timeout 30 second(s) Existence = if does not exist then restart Timeout = If restarted 2 times within 3 cycle(s) then alert Process Name = syslogd Group = system Pid file = /var/run/rsyslogd.pid Monitoring mode = active Start program = '/etc/init.d/rsyslog start' timeout 30 second(s) Stop program = '/etc/init.d/rsyslog stop' timeout 30 second(s) Existence = if does not exist then restart Timeout = If restarted 2 times within 3 cycle(s) then alert System Name = mia-tm-tru-main-primary Monitoring mode = active Load avg. (5min) = if greater than 3.0 for 2 cycles then alert Filesystem Name = rootfs Path = / Monitoring mode = active Filesystem flags = if changed then alert Space usage limit = if greater than 90.0% then alert Filesystem Name = varfs Path = /var Monitoring mode = active Filesystem flags = if changed then alert Space usage limit = if greater than 90.0% then alert Filesystem Name = homefs Path = /home Monitoring mode = active Filesystem flags = if changed then alert Space usage limit = if greater than 90.0% then alert Process Name = postgresql Group = database Pid file = /var/run/postgresql/9.1-main.pid Monitoring mode = active Start program = '/etc/init.d/postgresql start' timeout 30 second(s) Stop program = '/etc/init.d/postgresql stop' timeout 30 second(s) Existence = if does not exist then restart Port = if failed [10.124.74.68]:5432 type TCP/IP protocol PGSQL with timeout 15 seconds then alert Unix Socket = if failed /var/run/postgresql/.s.PGSQL.5432 type TCP protocol PGSQL with timeout 15 seconds then alert Timeout = If restarted 2 times within 3 cycle(s) then alert Process Name = postfix Group = mail Pid file = /var/spool/postfix/pid/master.pid Monitoring mode = active Start program = '/etc/init.d/postfix start' timeout 30 second(s) Stop program = '/etc/init.d/postfix stop' timeout 30 second(s) Existence = if does not exist then restart Port = if failed [localhost]:25 type TCP/IP protocol SMTP with timeout 15 seconds then restart Timeout = If restarted 2 times within 3 cycle(s) then alert Process Name = php-fpm Pid file = /usr/local/php5.3.8-fpm/var/run/php-fpm.pid Monitoring mode = active Start program = '/etc/init.d/php-fpm start' timeout 30 second(s) Stop program = '/etc/init.d/php-fpm stop' timeout 30 second(s) Existence = if does not exist then restart Timeout = If restarted 2 times within 3 cycle(s) then alert Process Name = peervpn Pid file = /var/run/peervpn.pid Monitoring mode = active Start program = '/etc/init.d/peervpn start' timeout 30 second(s) Stop program = '/etc/init.d/peervpn stop' timeout 30 second(s) Existence = if does not exist then restart Timeout = If restarted 2 times within 3 cycle(s) then alert Process Name = osirisd Pid file = /var/run/osirisd.pid Monitoring mode = active Start program = '/etc/init.d/osirisd start' timeout 30 second(s) Stop program = '/etc/init.d/osirisd stop' timeout 30 second(s) Existence = if does not exist then restart Depends on Service = osirisd.chksum File Name = osirisd.chksum Path = /usr/local/sbin/osirisd Monitoring mode = active Existence = if does not exist then restart Checksum = if failed 2fdb06cf110e805b43b1421aebead66e9556fcc0(SHA1) then alert Process Name = ntpd Group = system Pid file = /var/run/ntpd.pid Monitoring mode = active Start program = '/etc/init.d/ntp start' timeout 30 second(s) Stop program = '/etc/init.d/ntp stop' timeout 30 second(s) Existence = if does not exist then restart Port = if failed [127.0.0.1]:123 type UDP/IP protocol DEFAULT with timeout 5 seconds then alert Timeout = If restarted 2 times within 3 cycle(s) then unmonitor Process Name = geomon Pid file = /var/run/geomon.pid Monitoring mode = active Start program = '/etc/init.d/geomon start' timeout 30 second(s) Stop program = '/etc/init.d/geomon stop' timeout 30 second(s) Existence = if does not exist then restart Timeout = If restarted 2 times within 3 cycle(s) then alert Process Name = dnsupdate Pid file = /var/run/dnsupdate.pid Monitoring mode = active Start program = '/etc/init.d/dnsupdate start' timeout 30 second(s) Stop program = '/etc/init.d/dnsupdate stop' timeout 30 second(s) Existence = if does not exist then restart Timeout = If restarted 2 times within 3 cycle(s) then alert Process Name = cron Group = system Pid file = /var/run/crond.pid Monitoring mode = active Start program = '/etc/init.d/cron start' timeout 30 second(s) Stop program = '/etc/init.d/cron stop' timeout 30 second(s) Existence = if does not exist then restart Timeout = If restarted 2 times within 3 cycle(s) then alert Process Name = control_car Pid file = /var/run/control_car_ssl.pid Monitoring mode = active Start program = '/etc/init.d/control_car start' timeout 30 second(s) Stop program = '/etc/init.d/control_car stop' timeout 30 second(s) Existence = if does not exist then restart Timeout = If restarted 2 times within 3 cycle(s) then alert Program Name = bucardo-proc Group = bucardo Path = /usr/local/bin/bucardo-proc-mon.sh Monitoring mode = active Program timeout = terminate the program if not finished within 15 seconds Status = if exit value != 1 then alert Program Name = bucardo-sync Group = bucardo Path = /usr/local/bin/bucardo-sync-mon.sh Monitoring mode = active Program timeout = terminate the program if not finished within 15 seconds Status = if exit value != 1 then alert ------------------------------------------------------------------------------- Monit daemon with PID 30104 awakened root@mia-tm-tru-main-primary: /usr/local/src #