##############################################################################
#                                                                            #
# hapm.conf                                                                  #
#                                                                            #
# This file has hapm configuration                                           #
#                                                                            #
# High Availability Port Monitor is a Free Software under GNU/GPL-2+ License #
#                                                                            #
# This is a Brazilian Project created by:                                    #
#                                                                            #
# - Alexandre Antonio Antunes de Almeida                                     #
# - Joao Eriberto Mota Filho                                                 #
# - Rosemeri Dantas de Oliveira                                              #
#                                                                            #
##############################################################################

# Put the socket to be monitored here.
#socket=10.0.0.1:80

# This is the time in seconds to check the port status. You must have caution
# when using 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 death of the process. This time
# prevents 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 it. Default value is 10 seconds.
graceful_time=10

# The Heartbeat start/stop script path
heartbeat=/etc/init.d/heartbeat

# Check where Heartbeat put the PID file and set it below.
# Default is /var/run/heartbeat.pid
heartbeatpid=/var/run/heartbeat.pid
