Web Hosting Talk







View Full Version : How-To: Install Pmon


viGeek
09-03-2004, 04:25 AM
PMON is a network socket monitor. It is designed to track changes to Network sockets and Unix domain sockets.

For More Information: http://rfxnetworks.net/pmon.php

root@yourserver [~]# mkdir pmon
root@yourserver [~]# cd pmon

root@yourserver [~]# wget http://rfxnetworks.net/downloads/pmon-current.tar.gz

root@yourserver [~]# gunzip pmon-current.tar.gz
root@yourserver [~]# tar -xvf pmon-current.tar
root@yourserver [~]# cd pmon-0.5
root@yourserver [~]# ./install.sh

root@yourserver [~]# cat README | more (If you wana checkout the readme)

root@yourserver [~]# pico /usr/local/pmon/pmon.conf (ADD your email then save)

root@yourserver [~]# pico /etc/cron.d/pmon (Make sure installer set cron)

root@yourserver [~]# cd /usr/local/sbin
root@yourserver [~]# pmon -g (Generates comparisson files)

Pmon is now installed, it will check based upon the cron job for any differences. You can also do a manul check by going into the /usr/local/sbin folder and doing "pmon -c"

Let me know if you run into any errors :)

hookgr
10-24-2004, 07:50 PM
how can i make PMON and BFD to auto start on boot time?

i mean, for APF firewall for example, i need to make a chkconfig entry, but for PMON and BFD, i have to make entries too ?

or they do work automatically witha cronjob ???

(is this also working after a reboot ?)

scooterh
10-24-2004, 09:00 PM
PMON and BFD run via cron, so nothing needs to be started except crond, which 99.9% of the time is started at boot time already.

Scooter

hookgr
10-24-2004, 10:37 PM
after i installed apf firewall and bfd and pmon,
i started receiving on my email failures for system services !!!
such as cppop failed and restarted, apache mysql etc....

why is this happening ?

kris1351
10-25-2004, 10:24 AM
The software is just reporting problems back to you. You will need to look through your logs to see why the individual services failed. One thing to note is that your could have a port blocked with the firewall if not properly configured to allow those ports to fail. Also, you need to check the conf files to make sure you are monitoring the correct processes. You will need to make changes on a few depending on how your system is setup.

rfxn
10-25-2004, 03:50 PM
PMON was/is renamed to LSM (Linux Socket Monitor).

http://www.r-fx.org/proj.php