eximon - Exim Monitor installation on cPanel machines (CentOS 7)
Hi,
Next month, I will be presenting at the cPanel Conference in Denver for my topic on Exim Optimization. During the course of preparing that topic, I decided to try installing eximon on a CentOS 7 machine.
The following tutorial covers how to install this component, but I do need to note that X-Windows is installed in the process on the cPanel box. The tool is useful enough to warrant having X-Windows installed, although we typically would not encourage installing interfaces onto a cPanel-based machine. As any component not provided by default, this component would have the caveat to use or install at your own risk.
1. Grabbing exim monitoring script (exim-mon):
The only copy is in the Fedora project:
2. Install libXaw, required for the script to install:
3. Install the rpm itself now:
4. Install X Windows
5. Configuration of eximon Create the file at /usr/local/eximon.conf by taking the copy from
To this:
Now, create this directory:
Then symlink the exim configuration into that folder location (this is because that's where eximon expects the file to be found):
6. Getting X Windows working:
Now, SSH to the box from your system:
Of note, I tested this on Mac OSX 10.10 and 10.8 where I also had X Windows setup for the connection (I setup X Windows some time ago on the Mac, so I don't have the steps for that portion). If using another system for connecting, that system also needs to have X Windows working on it.
wget http://dl.fedoraproject.org/pub/epel/7/x86_64/e/exim-mon-4.84-4.el7.x86_64.rpm2. Install libXaw, required for the script to install:
yum install libXaw3. Install the rpm itself now:
rpm -Uvh exim-mon-4.84-4.el7.x86_64.rpm4. Install X Windows
yum -y groupinstall "X Window System"5. Configuration of eximon Create the file at /usr/local/eximon.conf by taking the copy from
To this:
EXIMON_BINARY="/usr/sbin/eximon.bin"Now, create this directory:
mkdir -p /etc/eximThen symlink the exim configuration into that folder location (this is because that's where eximon expects the file to be found):
ln -s /etc/exim.conf /etc/exim/exim.conf6. Getting X Windows working:
touch /root/.XauthorityNow, SSH to the box from your system:
ssh -X root@servername
eximonOf note, I tested this on Mac OSX 10.10 and 10.8 where I also had X Windows setup for the connection (I setup X Windows some time ago on the Mac, so I don't have the steps for that portion). If using another system for connecting, that system also needs to have X Windows working on it.
-
Getting: Exim Monitor version 2.06 (compiled 10-Oct-2014 09:16:40) initializing Error: Can't open display: 0
Please sign in to leave a comment.
Comments
1 comment