Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Adding net allow '0.0.0.0/0.0.0.0'
- Runtime constants:
- Control file = /etc/monitrc
- Log file = /var/log/monit.log
- Pid file = /var/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 = 120 seconds with start delay 60 seconds
- Expect buffer = 256 bytes
- Event queue = base directory /var/lib/monit/events with unlimited slots
- Mail server(s) = smtp.bose.com:587 using SSL/TLS with options {version: tlsv1} with timeout 120 seconds
- Mail from = steven_christensen@bose.com
- Mail subject = $HOST monit alert -- $EVENT $SERVICE
- Mail message = $EVENT Service $SERV..(truncated)
- Start monit httpd = True
- httpd bind address = Any/All
- httpd portnumber = 2812
- httpd ssl = Disabled
- httpd signature = Enabled
- httpd auth. style = Host/Net allow list
- Alert mail to = steven@c88.org
- Alert on = ByteIn ByteOut Checksum Connection Content Data Exec Fsflags Gid Icmp Invalid Link Nonexist PacketIn PacketOut Permission PID PPID Resource Saturation Size Speed Status Timeout Timestamp Uid Uptime
- The service list contains the following entries:
- Process Name = ssh_to_home
- Match = ssh -N -R
- Monitoring mode = active
- Start program = '/root/create_ssh_tunnel.sh' timeout 30 second(s)
- Stop program = '/usr/bin/pkill -f ssh -N -R' timeout 30 second(s)
- Existence = if does not exist then restart
- Port = if failed [192.168.88.25]:2230 type TCP/IP protocol SSH with timeout 5 seconds for 2 cycles then restart
- Process Name = sshd
- Pid file = /var/run/sshd.pid
- Monitoring mode = active
- Start program = '/etc/init.d/ssh start' timeout 60 second(s)
- Stop program = '/etc/init.d/ssh stop' timeout 30 second(s)
- Existence = if does not exist then restart
- Port = if failed [localhost]:22 type TCP/IP protocol SSH with timeout 5 seconds then restart
- Process Name = openvpn
- Pid file = /var/run/openvpn.home1195.pid
- Monitoring mode = active
- Start program = '/etc/init.d/openvpn start' timeout 60 second(s)
- Stop program = '/etc/init.d/openvpn stop' timeout 30 second(s)
- Existence = if does not exist then restart
- Port = if failed [192.168.6.1]:80 type TCP/IP protocol DEFAULT with timeout 5 seconds for 2 cycles then restart
- Remote Host Name = 1_myself
- Address = 192.168.0.1
- Monitoring mode = active
- Start program = '/sbin/ifup eth1' timeout 60 second(s)
- Stop program = '/sbin/ifdown eth1' timeout 60 second(s)
- Ping = if failed count 3 size 64 with timeout 4 seconds then restart
- Timeout = If restarted 5 times within 10 cycle(s) then unmonitor
- Alert mail to = steven@c88.org
- Alert on = No events
- Remote Host Name = 2_home_server
- Address = 192.168.88.25
- Monitoring mode = active
- Depends on Service = openvpn
- Ping = if failed count 3 size 64 with timeout 4 seconds then alert
- Alert mail to = steven@c88.org
- Alert on = No events
- Remote Host Name = 3_laptop
- Address = 192.168.0.100
- Monitoring mode = active
- Ping = if failed count 3 size 64 with timeout 4 seconds then alert
- Alert mail to = steven@c88.org
- Alert on = No events
- Remote Host Name = 4_linux
- Address = 192.168.0.99
- Monitoring mode = active
- Ping = if failed count 3 size 64 with timeout 4 seconds then alert
- Alert mail to = steven@c88.org
- Alert on = No events
- Filesystem Name = RootFS
- Path = /
- Monitoring mode = active
- Filesystem flags = if changed then alert
- Space usage limit = if greater than 95.0% for 5 cycles then alert
- Network Name = tun0
- Interface = tun0
- Monitoring mode = active
- Link status = if failed then alert
- Alert mail to = steven@c88.org
- Alert on = No events
- Process Name = piControl
- Match = piControl
- Monitoring mode = active
- Start program = '/bin/bash -c /usr/bin/python /usr/local/bin/piControl.py &' timeout 30 second(s)
- Stop program = '/usr/bin/pkill -f piControl.py' timeout 30 second(s)
- Existence = if does not exist then restart
- Process Name = timeDate
- Match = timeDate
- Monitoring mode = active
- Start program = '/bin/bash -c /usr/bin/python /usr/local/bin/timeDate.py &' timeout 30 second(s)
- Stop program = '/usr/bin/pkill -f timeDate.py' timeout 30 second(s)
- Existence = if does not exist then restart
- System Name = router-sc13855
- Monitoring mode = active
- -------------------------------------------------------------------------------
- Starting Monit 5.15 daemon with http interface at [*]:2812
- Monit start delay set -- pause for 60s
Add Comment
Please, Sign In to add comment