The purpose of this article is to show how to automatically install the Nagios server and the NRPE clients using the prearranged python scripts.

First of all, you must activate root access on all hosts (server and clients).

The following are the list and scheme of Nagios server and clients machines:



  1. Ubuntu 14.04


  1. Ubuntu 14.04
  2. FreeBSD 10.3
  3. Centos 6.7
  4. CentOS7


Now  we  start   Full automated Nagios   installation

After you have activated the root access and performed the system update on all machines, you must perform one additional step on FreeBSD. Install bash and copy the shell executable from /usr/local/bin/bash to /bin/bash.

Now we can prepare a Linux desktop, install the git package on it and copy all necessary scripts from the repository.

# git clone

Execute the to automatically install python2.7, python3.4, and all necessary libraries.

Automated scripts consist of the following parts:

clients.txt – List of IP addresses for all Nagios clients. – Automatic installation of Nagios Server. – Automatic installation of Nagios Clients. – Installation lunch script with an interactive menu.

Please, execute the following  to start the installation ( Full automated Nagios installation ) :

Please choose the installation option: 3

Your nagios Server + Clients are installed in one go .

Please test this wonderful  script and let us know your feed back about.




Please enter your comment!
Please enter your name here