blob: ce5157e5314d50f1e1837b5921ccea05564c8f52 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
|
#
# Very simple mon.cf file
#
# $Id: mon.cf,v 1.1 2001/01/20 01:05:43 achim Exp $
#
alertdir = /usr/lib/mon/alert.d
mondir = /usr/lib/mon/mon.d
logdir = /var/log/mon.d
statedir = /var/lib/mon.d
maxprocs = 20
histlength = 100
randstart = 60s
#
# define groups of hosts to monitor
#
hostgroup servers localhost
watch servers
service ping
interval 5m
monitor fping.monitor
period wd {Mon-Fri} hr {7am-24pm}
alert mail.alert root@localhost
alertevery 1h
period wd {Sat-Sun}
alert mail.alert root@localhost
service telnet
interval 10m
monitor telnet.monitor
period wd {Mon-Fri} hr {7am-24pm}
alertevery 1h
alertafter 2 30m
alert mail.alert root@localhost
|