SOURCES: monitrc (NEW) - default /etc/monitrc file

glen glen at pld-linux.org
Mon Feb 5 17:48:46 CET 2007


Author: glen                         Date: Mon Feb  5 16:48:46 2007 GMT
Module: SOURCES                       Tag: HEAD
---- Log message:
- default /etc/monitrc file

---- Files affected:
SOURCES:
   monitrc (NONE -> 1.1)  (NEW)

---- Diffs:

================================================================
Index: SOURCES/monitrc
diff -u /dev/null SOURCES/monitrc:1.1
--- /dev/null	Mon Feb  5 17:48:46 2007
+++ SOURCES/monitrc	Mon Feb  5 17:48:40 2007
@@ -0,0 +1,34 @@
+###############################################################################
+## Monit control file
+###############################################################################
+##
+## Comments begin with a '#' and extend through the end of the line. Keywords
+## are case insensitive. All path's MUST BE FULLY QUALIFIED, starting with '/'.
+##
+
+include /etc/monit/*.monitrc
+
+###############################################################################
+## Global section
+###############################################################################
+##
+
+## Set list of mailservers for alert delivery. Multiple servers may be 
+## specified using comma separator. By default monit uses port 25 - it is 
+## possible to override it with the PORT option.
+#
+set mailserver localhost               # primary mailserver
+
+## You can set the alert recipients here, which will receive the alert for
+## each service. The event alerts may be restricted using the list.
+#
+set alert root at localhost                        # receive all alerts
+
+## Monit has an embedded webserver, which can be used to view the 
+## configuration, actual services parameters or manage the services using the 
+## web interface.
+#
+set httpd port 2812 and
+     use address localhost  # only accept connection from localhost
+     allow localhost        # allow localhost to connect to the server and
+#     allow admin:monit      # require user 'admin' with password 'monit'
================================================================


More information about the pld-cvs-commit mailing list