items tagged with process

Installing PRM ( Process Resource Monitor )
Written By: Chris
Section:

Category:

2008-08-20 14:52:29

Product Name : PRM ( Process Resource Monitor )
Product Version : 0.5
Homepage : http://rfxnetworks.com/prm.php
Description : RM monitors the process table on a given system and matches process id's with set resource limits in the config file or per-process based rules. Process id's that match or exceed the set limits are logged and killed; includes e-mail alerts, kernel logging routine and more...

Step 1: Downloading, Installing LES

cd /usr/local/src
wget http://www.r-fx.ca/downloads/prm-current.tar.gz
tar -zxvf prm-current.tar.gz
cd prm-0.*
./install.sh
rm -Rf /usr/local/src/prm*



Step 2: Configure PRM Config

nano -w /usr/local/prm/conf.prm


Step 2.1: Turn on Email Alerts

Change USR_ALERT="0" to USR_ALERT="1"

Change USR_ADDR="root" to USR_ADDR=" This e-mail address is being protected from spambots. You need JavaScript enabled to view it "


Step 3: Configure PRM.Ignore, Adding users we want ignored fro PRM checks

nano -w /usr/local/prm/ignore


Step 3.1: If you installed OSSEC, you should add these users

ossec
ossecm



PRM is set to run every 4 minutes, see /etc/cron.d/prm
PRM log is located at /usr/local/prm/prm_log
PRM Kill Log is located at /usr/local/prm/killed/

Usage
:
/usr/local/sbin/prm -s  (Standard run)
/usr/local/sbin/prm -q  (Quiet run)






There are 1 items tagged with process. You can view all our tags in the Tag Cloud

<< Start < Previous 1 Next > End >>
Page 1 Of 1