"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "monitrc" between
monit-5.27.2.tar.gz and monit-5.28.0.tar.gz

About: Monit is a utility for managing and monitoring processes, files, directories and filesystems (with automatic error recovery).

monitrc  (monit-5.27.2):monitrc  (monit-5.28.0)
skipping to change at line 164 skipping to change at line 164
## commands to a running Monit daemon. See the Monit Wiki if you want to ## commands to a running Monit daemon. See the Monit Wiki if you want to
## enable SSL for the HTTP interface. ## enable SSL for the HTTP interface.
# #
set httpd port 2812 and set httpd port 2812 and
use address localhost # only accept connection from localhost (drop if you use M/Monit) use address localhost # only accept connection from localhost (drop if you use M/Monit)
allow localhost # allow localhost to connect to the server and allow localhost # allow localhost to connect to the server and
allow admin:monit # require user 'admin' with password 'monit' allow admin:monit # require user 'admin' with password 'monit'
#with ssl { # enable SSL/TLS and set path to server certificate #with ssl { # enable SSL/TLS and set path to server certificate
# pemfile: /etc/ssl/certs/monit.pem # pemfile: /etc/ssl/certs/monit.pem
#} #}
#
## Monit can perform act differently regarding services previous state when
## going back in duty. By default, Monit will 'start' all services. Monit can
## also takes no action to start services in 'nostart' mode. Monit can try to
## restore the 'laststate' of the service when Monit was shutdown.
# set onreboot start # start, nostart, laststart
############################################################################### ###############################################################################
## Services ## Services
############################################################################### ###############################################################################
## ##
## Check general system resources such as load average, cpu and memory ## Check general system resources such as load average, cpu and memory
## usage. Each test specifies a resource, conditions and the action to be ## usage. Each test specifies a resource, conditions and the action to be
## performed should a test fail. ## performed should a test fail.
# #
# check system $HOST # check system $HOST
skipping to change at line 284 skipping to change at line 290
# if failed port 3306 protocol mysql with timeout 15 seconds then alert # if failed port 3306 protocol mysql with timeout 15 seconds then alert
# if failed port 80 protocol http # if failed port 80 protocol http
# and request /some/path with content = "a string" # and request /some/path with content = "a string"
# then alert # then alert
# #
# #
## Check a network link status (up/down), link capacity changes, saturation ## Check a network link status (up/down), link capacity changes, saturation
## and bandwidth usage. ## and bandwidth usage.
# #
# check network public with interface eth0 # check network public with interface eth0
# if failed link then alert # if link down then alert
# if changed link then alert # if changed link then alert
# if saturation > 90% then alert # if saturation > 90% then alert
# if download > 10 MB/s then alert # if download > 10 MB/s then alert
# if total uploaded > 1 GB in last hour then alert # if total uploaded > 1 GB in last hour then alert
# #
# #
## Check custom program status output. ## Check custom program status output.
# #
# check program myscript with path /usr/local/bin/myscript.sh # check program myscript with path /usr/local/bin/myscript.sh
# if status != 0 then alert # if status != 0 then alert
 End of changes. 2 change blocks. 
1 lines changed or deleted 7 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)