From Univention Wiki

Note: Cool Solutions are articles documenting additional functionality based on Univention products.
Not all of the shown steps in the article are covered by Univention Support. For questions about your support coverage contact your contact person at Univention before you want to implement one of the shown steps.

Contents

UCC set up (Nagios client)

In some environments would be preferable to perform this steps within the image file before a roll out (by mounting it as described in the UCC Manual).

Install Nagios-NRPE packages (agent and plug-ins):

apt-get install nagios-nrpe-server

Accept monitoring from UCS-Nagios Server:

vi /etc/nagios/nrpe.cfg

Allow the Nagios server in nrpe.cfg:

#---
allowed_hosts=server.example.com
#---

For this set up it's helpful to use an UCS system that is already being monitored (it has the univention-nagios-client package installed). The idea is to copy the needed plug-ins and files into our UCC system.

Since the Nagios services attribute is not defined for UCC Objects, we will have to create this part manually. I suspect there are simpler ways to do this, but for now let us create a host file and add the new host to a hostgroup file.