17.3. Procedure – Monitoring Zorp with Nagios

Purpose: 

To monitor Zorp Professional hosts with Nagios, complete the following steps.

Using Nagios, the following details can be monitored:

Prerequisites: 

  • To monitor the Zorp Professional hosts with Nagios, there must already be a central Nagios server installed. It is not possible to install the Nagios server on Zorp Professional hosts.

  • Experience in administering Nagios is required.

Steps: 

  1. Login to the host locally, or remotely using SSH. For details on enabling SSH access, see Section 9.4, Local services on Zorp.

  2. Issue the following command to install the required packages: sudo apt install zorp-pro-nagios-plugins nagios-nrpe-server. The zorp-pro-nagios-plugins package installs three scripts; these are automatically configured to run as root, and are listed in the /etc/nagios/nrpe.d/zorp.cfg file.

  3. Login to your ZMS host using ZMC, and enable access to the TCP/5666 port. For details, see Section 9.4, Local services on Zorp.

  4. Repeat this procedure for every Zorp Professional host that is required to be integrated into the actual monitoring system.

  5. Add the Zorp Professional hosts to the central Nagios server, and create services for the hosts. For details, see the documentation of Nagios.

    Note

    Adjust the alerting limits set in the scripts as needed for the environment.