[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
configuration example (note) - device stuff
From: |
Martin Pala |
Subject: |
configuration example (note) - device stuff |
Date: |
Wed, 23 Apr 2003 11:18:53 +0200 |
User-agent: |
Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.3) Gecko/20030314 |
Hi,
i forgott to describe configuration change involved by patch -
monitoring task are specified by:
CHECK PROCESS PIDFILE ...
or
CHECK {DEVICE|DIRECTORY} PATH ...
So even in the case of process monitoring, it is needed to specify type
of the monitoring task by 'process' statement. Word 'usage' is optional.
Functional example:
# check process sybase with pidfile /var/run/sybase.pid
# start program = "/etc/init.d/sybase start"
# stop program = "/etc/init.d/sybase stop"
# mode passive
# port 4001
# timeout if 2 restarts within 3 cycles
# alert address@hidden
# depends on datafs
# group database
#
#
# check device datafs path /data
# start program = "/bin/mount /data"
# stop program = "/bin/umount /data"
# if space usage > 95 % then stop
# if inode usage > 95 % then stop
# alert address@hidden
# group database
#
#
# check device rootfs path /dev/sda1
# if space > 3 GB then alert
# if inode > 30000 then alert
# alert address@hidden
Martin
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- configuration example (note) - device stuff,
Martin Pala <=