Configure Guardian/Local Interface to show statistics when CloudLinux/CageFS is used

From Wiki

Revision as of 07:14, 24 June 2014 by Admin (Talk | contribs)
Jump to: navigation, search

If you have CloudLinux on your servers and you also use CageFS you need to follow the steps below in order to see the Guardian statistics in the Local Interface:

1. Copy the Guardian status file from the global /tmp folder to your /usr/share/cagefs-skeleton/dev/shm directory:

 cp -a /tmp/guardian.status /usr/share/cagefs-skeleton/dev/shm/

2. Modify the following configuration files:


Replace the "/tmp/guardian.status" string with the following string:


You also need to edit one more configuration file:


but this time replace the default guardian.status location with the following string:


3. Restart all of the services. You can use the following command:

 /etc/init.d/guardian stop && /etc/init.d/lifesigns stop && /etc/init.d/guardian start;/etc/init.d/templar restart;
Personal tools