DNX Master + Slaves - Load balancing.
Posted: Tue Feb 03, 2015 9:29 am
Hello,
I am trying to create the following structure:

The monitoring services are working but i want to create more load balancing by creating 1 Master DNX server, with multiple DNX Slaves/Workers.
As described in Using Nagios for Load Balancing PDF i tried the following but i keep getting errors. This is my first time using nagios, excuse me.
This is what i did:
Response After step 4:
What should i have done or should i do to realize what i want? I used a mod_gearman version for nagios.
I am trying to create the following structure:

The monitoring services are working but i want to create more load balancing by creating 1 Master DNX server, with multiple DNX Slaves/Workers.
As described in Using Nagios for Load Balancing PDF i tried the following but i keep getting errors. This is my first time using nagios, excuse me.
This is what i did:
Code: Select all
1. Log on to one of your Nagios servers that will serve as a “slave”, or worker client, as the root user.
2. Download the automated installation script to the /tmp directory:
cd /tmp
wget http://assets.nagios.com/downloads/nagiosxi/scripts/NagiosXI-DNX.sh
3. Make the script executable:
chmod +x NagiosXI-DNX.sh
4. Run the script in client mode
./NagiosXI-DNX.sh -c
5. Repeat steps 1-4 for each slave system.
6. Repeat steps 1-3 on the master Nagios server.
7. Run the script in server mode, optionally enabling automatic synchronization of check plugins by ssh (recommended).
./NagiosXI-DNX.sh -s -eCode: Select all
sed: can't read /usr/local/nagios/etc/dnxClient.cfg: No such file or directory
sed: can't read /usr/local/nagios/etc/dnxClient.cfg: No such file or directory
ln: creating symbolic link `/etc/init.d/dnxcld': File exists
error reading information on service dnxcld: No such file or directory
error reading information on service dnxcld: No such file or directory
dnxcld: unrecognized service