Installing a Xymon client
Posted on 27. Mar, 2010 by forouzani in Server Monitoring, Software Installation
Installing a xymon client once you have the Xymon server setup is very simple. There are 2 main steps:
- Installing the xymon client application
- Adding details of it to your Xymon server
This is assuming you have already installed a xymon server – if not, you should first read the xymon server installation tutorial.
Installing the xymon client application
The xymon client application needs to be installed on the machine you wish to monitor. But before we do this, we need to create a new user account called xymon.
# useradd --disabled-login xymon
Now you can download and install the xymon client.
# cd /usr/local/src
# wget http://transact.dl.sourceforge.net/sourceforge/hobbitmon/xymon-4.3.0-beta2.tar.gz
# tar -xzf xymon-4.3.0-beta2.tar.gz
# cd xymon-4.3.0-beta2
# ./configure –client
When prompted to give details, choose:
- config => server
- user => xymon
- installation => /home/xymon
- IP address => IP address of your xymon server
# make
# make install
At this point the xymon is setup on the client server – now we need to configure the xymon server to monitor this new client.
Configuring the Xymon server
There are only 2 files which need to be altered to allow the xymon server to monitor this new client, and the files are located at:
- /home/xymon/server/etc/hobbit-clients.cfg
- /home/xymon/server/etc/bb-hosts
The hobbit-clients.cfg file is used to configure custom statuses for each service. For example, if we wanted our xymon client to have a warning status when CPU load reaches 18, and critical status when CPU load reaches 25, we would add the following to the hobbit-clients.cfg file:
HOST=server2
LOAD 18.0 25.0
The bb-hosts file is used to display all the clients in the xymon panel. We simply need to add our new client to this file, so it shows up. Below is an example of what you might have, assuming your client xymon server had the IP address 222.222.222.222:
222.222.222.222 server2 # CLIENT:server2.example.com ssh ftp pop3 smtp http://server2.example.com/ NOCOLUMNS:ports



New Comments