Sisyphus repository
Last update: 1 october 2023 | SRPMs: 18631 | Visits: 37766235
en ru br
ALT Linux repos
S:5.33.0-alt1
5.0: 5.0.2-alt4
4.1: 5.0-alt0.1
4.0: 5.2.5-alt0.M40.1
3.0: 4.1.1-alt1.1

Group :: Monitoring
RPM: monit

 Main   Changelog   Spec   Patches   Sources   Download   Gear   Bugs and FR  Repocop 

# check every 5 minutes, wait 1 minute on start
# before first monitoring cycle
set daemon 300 with start delay 60
set logfile syslog facility log_daemon
set statefile /var/run/monit.state
set pidfile /var/run/monit.pid
set idfile /var/run/monit.id
set mailserver localhost
set alert root@localhost

#short, informative messages
set mail-format {
from: root@localhost
subject: [monit] -- $SERVICE $EVENT on $HOST at $DATE
message:
}

# you will also need this for status/summary
set httpd port 2812 and use the address localhost
allow localhost
allow monit:secretword
# ssl enable
# pemfile /var/lib/ssl/certs/monit.pem

# should have been *.conf
include /etc/monitrc.d/*

# this enables monit for all services packaged with
# respective support (http://www.altlinux.org/Monit)
#include /etc/monitrc.d/*.auto
 
design & coding: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
current maintainer: Michael Shigorin