Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:12.2:PowerPC
monit
monit-better_default_monitrc.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File monit-better_default_monitrc.patch of Package monit
--- monitrc.orig 2011-11-04 11:54:04.674000463 +0100 +++ monitrc 2011-11-04 11:56:10.848000463 +0100 @@ -24,24 +24,24 @@ ## Set syslog logging with the 'daemon' facility. If the FACILITY option is ## omitted, Monit will use 'user' facility by default. If you want to log to ## a standalone log file instead, specify the full path to the log file -# -# set logfile syslog facility log_daemon -# + +set logfile syslog facility log_daemon + # ## Set the location of the Monit id file which stores the unique id for the ## Monit instance. The id is generated and stored on first Monit start. By ## default the file is placed in $HOME/.monit.id. -# -# set idfile /var/.monit.id -# + +set idfile /var/run/monit/.monit.id + ## Set the location of the Monit state file which saves monitoring states ## on each cycle. By default the file is placed in $HOME/.monit.state. If ## the state file is stored on a persistent filesystem, Monit will recover ## the monitoring state across reboots. If it is on temporary filesystem, the ## state will be lost on reboot which may be convenient in some situations. -# -# set statefile /var/.monit.state -# + +set statefile /var/run/monit/monit.state + ## Set the list of mail servers for alert delivery. Multiple servers may be ## specified using a comma separator. If the first mail server fails, Monit # will use the second mail server in the list and so on. By default Monit uses @@ -50,7 +50,9 @@ # set mailserver mail.bar.baz, # primary mailserver # backup.bar.baz port 10025, # backup mailserver on port 10025 # localhost # fallback relay -# + +set mailserver localhost + # ## By default Monit will drop alert events if no mail servers are available. ## If you want to keep the alerts for later delivery retry, you can use the @@ -62,7 +64,11 @@ # set eventqueue # basedir /var/monit # set the base directory where events will be stored # slots 100 # optionally limit the queue size -# + +set eventqueue + basedir /var/run/monit/events + slots 100 + # ## Send status and events to M/Monit (for more informations about M/Monit ## see http://mmonit.com/). By default Monit registers credentials with @@ -98,7 +104,9 @@ ## are expanded at runtime. For example, to override the sender, use: # # set mail-format { from: monit@foo.bar } -# + +set mail-format { from: monit@localhost } + # ## You can set alert recipients whom will receive alerts if/when a ## service defined in this file has errors. Alerts may be restricted on @@ -107,6 +115,9 @@ # set alert sysadm@foo.bar # receive all alerts # set alert manager@foo.bar only on { timeout } # receive just service- # # timeout alert + +set alert root@localhost + # # ## Monit has an embedded web server which can be used to view status of
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor