/etc/ha.d/hapm.conf is in hapm 0.7-3.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
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 35 36 37 38 | ###########################################################################
# #
# hapm.conf #
# #
# This file haves hapm configurations #
# #
# High Availability Port Monitor is a Free Software under GNU/GPL License #
# #
# This is a Brazilian Project created by: #
# #
# - Alexandre Antonio Antunes de Almeida #
# - Joao Eriberto Mota Filho #
# - Rosemeri Dantas de Oliveira #
# #
###########################################################################
# You must make one line by IP/Port. Use one IP and port by line only.
socket=127.0.0.1:25
#socket=10.0.0.1:80
# This is the time in seconds to check the port status. Caution to use small
# values here or your processor will be very busy. You must use a value
# between 0 and 3600. To use small values check performance with #top
# command (see CPU idle field). Small values can generate false positives.
time=60
# Time in seconds used by HAPM to confirm the die of the process. This time
# prevents a falses positives caused by restart of process (example:
# /etc/init.d/apache restart). Please don't touch here if you don't know how
# to set this. Default value is 10 seconds.
graceful_time=10
# The Heartbeat start/stop script path
heartbeat=/etc/init.d/heartbeat
# Check where Heartbeat make the PID file and set it below.
# Default is /var/run/heartbeat.pid
heartbeatpid=/var/run/heartbeat.pid
|