828c5c820c
mon is a tool for monitoring the availability of services, and sending alerts on prescribed events. Services are defined as anything tested by a "monitor" program, which can be something as simple as pinging a system, or as complex as analyzing the results of an application-level transaction. Alerts are actions such as sending emails, making submissions to ticketing systems, or triggering resource fail-over in a high-availability cluster. ok jasper@
19 lines
538 B
Plaintext
19 lines
538 B
Plaintext
$OpenBSD: patch-etc_example_cf,v 1.1.1.1 2009/11/10 14:33:50 pea Exp $
|
|
--- etc/example.cf.orig Mon Jun 25 15:10:08 2007
|
|
+++ etc/example.cf Mon Oct 12 14:10:36 2009
|
|
@@ -17,9 +17,11 @@
|
|
#
|
|
# global options
|
|
#
|
|
-cfbasedir = /usr/lib/mon/etc
|
|
-alertdir = /usr/lib/mon/alert.d
|
|
-mondir = /usr/lib/mon/mon.d
|
|
+cfbasedir = ${SYSCONFDIR}/mon/
|
|
+alertdir = ${PREFIX}/lib/mon/alert.d
|
|
+mondir = ${PREFIX}/lib/mon/mon.d
|
|
+statedir = /var/mon/state.d
|
|
+logdir = /var/mon/log.d
|
|
maxprocs = 20
|
|
histlength = 100
|
|
randstart = 60s
|