chrissv

monit 5.15. debug output

Nov 12th, 2015
85
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 5.23 KB | None | 0 0
  1. Adding net allow '0.0.0.0/0.0.0.0'
  2. Runtime constants:
  3. Control file = /etc/monitrc
  4. Log file = /var/log/monit.log
  5. Pid file = /var/run/monit.pid
  6. Id file = /var/lib/monit/id
  7. State file = /var/lib/monit/state
  8. Debug = True
  9. Log = True
  10. Use syslog = False
  11. Is Daemon = True
  12. Use process engine = True
  13. Poll time = 120 seconds with start delay 60 seconds
  14. Expect buffer = 256 bytes
  15. Event queue = base directory /var/lib/monit/events with unlimited slots
  16. Mail server(s) = smtp.bose.com:587 using SSL/TLS with options {version: tlsv1} with timeout 120 seconds
  17. Mail from = steven_christensen@bose.com
  18. Mail subject = $HOST monit alert -- $EVENT $SERVICE
  19. Mail message = $EVENT Service $SERV..(truncated)
  20. Start monit httpd = True
  21. httpd bind address = Any/All
  22. httpd portnumber = 2812
  23. httpd ssl = Disabled
  24. httpd signature = Enabled
  25. httpd auth. style = Host/Net allow list
  26. Alert mail to = steven@c88.org
  27. 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
  28.  
  29. The service list contains the following entries:
  30.  
  31. Process Name = ssh_to_home
  32. Match = ssh -N -R
  33. Monitoring mode = active
  34. Start program = '/root/create_ssh_tunnel.sh' timeout 30 second(s)
  35. Stop program = '/usr/bin/pkill -f ssh -N -R' timeout 30 second(s)
  36. Existence = if does not exist then restart
  37. Port = if failed [192.168.88.25]:2230 type TCP/IP protocol SSH with timeout 5 seconds for 2 cycles then restart
  38.  
  39. Process Name = sshd
  40. Pid file = /var/run/sshd.pid
  41. Monitoring mode = active
  42. Start program = '/etc/init.d/ssh start' timeout 60 second(s)
  43. Stop program = '/etc/init.d/ssh stop' timeout 30 second(s)
  44. Existence = if does not exist then restart
  45. Port = if failed [localhost]:22 type TCP/IP protocol SSH with timeout 5 seconds then restart
  46.  
  47. Process Name = openvpn
  48. Pid file = /var/run/openvpn.home1195.pid
  49. Monitoring mode = active
  50. Start program = '/etc/init.d/openvpn start' timeout 60 second(s)
  51. Stop program = '/etc/init.d/openvpn stop' timeout 30 second(s)
  52. Existence = if does not exist then restart
  53. Port = if failed [192.168.6.1]:80 type TCP/IP protocol DEFAULT with timeout 5 seconds for 2 cycles then restart
  54.  
  55. Remote Host Name = 1_myself
  56. Address = 192.168.0.1
  57. Monitoring mode = active
  58. Start program = '/sbin/ifup eth1' timeout 60 second(s)
  59. Stop program = '/sbin/ifdown eth1' timeout 60 second(s)
  60. Ping = if failed count 3 size 64 with timeout 4 seconds then restart
  61. Timeout = If restarted 5 times within 10 cycle(s) then unmonitor
  62. Alert mail to = steven@c88.org
  63. Alert on = No events
  64.  
  65. Remote Host Name = 2_home_server
  66. Address = 192.168.88.25
  67. Monitoring mode = active
  68. Depends on Service = openvpn
  69. Ping = if failed count 3 size 64 with timeout 4 seconds then alert
  70. Alert mail to = steven@c88.org
  71. Alert on = No events
  72.  
  73. Remote Host Name = 3_laptop
  74. Address = 192.168.0.100
  75. Monitoring mode = active
  76. Ping = if failed count 3 size 64 with timeout 4 seconds then alert
  77. Alert mail to = steven@c88.org
  78. Alert on = No events
  79.  
  80. Remote Host Name = 4_linux
  81. Address = 192.168.0.99
  82. Monitoring mode = active
  83. Ping = if failed count 3 size 64 with timeout 4 seconds then alert
  84. Alert mail to = steven@c88.org
  85. Alert on = No events
  86.  
  87. Filesystem Name = RootFS
  88. Path = /
  89. Monitoring mode = active
  90. Filesystem flags = if changed then alert
  91. Space usage limit = if greater than 95.0% for 5 cycles then alert
  92.  
  93. Network Name = tun0
  94. Interface = tun0
  95. Monitoring mode = active
  96. Link status = if failed then alert
  97. Alert mail to = steven@c88.org
  98. Alert on = No events
  99.  
  100. Process Name = piControl
  101. Match = piControl
  102. Monitoring mode = active
  103. Start program = '/bin/bash -c /usr/bin/python /usr/local/bin/piControl.py &' timeout 30 second(s)
  104. Stop program = '/usr/bin/pkill -f piControl.py' timeout 30 second(s)
  105. Existence = if does not exist then restart
  106.  
  107. Process Name = timeDate
  108. Match = timeDate
  109. Monitoring mode = active
  110. Start program = '/bin/bash -c /usr/bin/python /usr/local/bin/timeDate.py &' timeout 30 second(s)
  111. Stop program = '/usr/bin/pkill -f timeDate.py' timeout 30 second(s)
  112. Existence = if does not exist then restart
  113.  
  114. System Name = router-sc13855
  115. Monitoring mode = active
  116.  
  117. -------------------------------------------------------------------------------
  118. Starting Monit 5.15 daemon with http interface at [*]:2812
  119. Monit start delay set -- pause for 60s
Add Comment
Please, Sign In to add comment