Hapm stands for High Availability Port Monitor and is a local port status check. It is a simple, light and fast daemon to check TCP/UDP ports.
If one or more monitored ports (per IP) downs then the Heartbeat will be killed by HAPM.
You will need gcc, g++ and make. To compile this program use:
To install use:
# make install
Please check the /etc/ha.d/hapm.conf file.
# /etc/init.d/hapm start
What's New in This Release:
· new screen messages.
· functions strcpy replaced for strncpy (strcpy does not check for buffer overflows).
· functions strcat replaced for strncat (strcat does not check for buffer overflows).
· created const BUFFMAXSIZEIP and BUFFMAXSIZEPORT.
· code optimization.
· translation of comments to English.