15.3. Nagios#
With UCS 5.0 support for the Nagios server component has been discontinued. Yet, the systems can still be monitored, e.g. by UCS 4.4 Nagios servers, as described in the UCS 4.4 manual.
15.3.1. Installation#
In addition to the standard plugins provided with the installation of the univention-nagios-client package, additional plugins can be subsequently installed with the following packages:
univention-nagios-raid: Monitoring of the software RAID status
univention-nagios-smart: Test of the S.M.A.R.T. status of hard drives
univention-nagios-opsi: Test of software distribution OPSI
univention-nagios-ad-connector: Test of the AD Connector
Some of the packages are automatically set up during installation of the respective services. For example, if the UCS AD connector is set up, the monitoring plugin is included automatically.
15.3.2. Preconfigured Nagios checks#
During the installation, basic Nagios tests are set up automatically for UCS systems.
Nagios service |
Description |
---|---|
|
Tests the availability of the monitored UCS system with the command ping. By default an error status is attained if the response time exceeds 50 ms or 100 ms or package losses of 20% or 40% occur. |
|
Monitors how full the |
|
Tests the function of the local DNS server and the accessibility of the
public DNS server by querying the hostname |
|
Monitors the LDAP server running on UCS Directory Nodes. |
|
Monitors the system load. |
|
Requests the time from the NTP service on the monitored UCS system. If
this deviates by more than |
|
Tests the mail server. |
|
Tests the remaining validity period of the UCS SSL certificates. This plugin is only suitable for Primary Directory Node and Backup Directory Node systems. |
|
Monitors the utilization of the swap partition. An error status is raised if the remaining free space falls below the threshold (40% or 20% by default). |
|
Monitors the status of the LDAP replication and recognizes the creation
of a |
|
Tests the availability of the name server cache daemon (NSCD). If there is no NSCD process running, a CRITICAL event is triggered; if more than one process is running, a WARNING. |
|
Tests the availability of the Winbind service. If no process is running, a CRITICAL event is triggered. |
|
Tests the availability of the Samba service. If no process is running, a CRITICAL event is triggered. |
|
Tests the availability of the NMBD service, which is responsible for the NetBIOS service in Samba. If no process is running, a CRITICAL event is triggered. |
|
Tests the join status of a system. If a system has yet to join, a CRITICAL event is triggered; if non-run join scripts are available, a WARNING event is returned. |
|
Tests the availability of the Kerberos password service (only available on Primary/Backup Directory Nodes). If fewer or more than one process is running, a CRITICAL event is triggered. |
|
Monitors the CUPS daemon. If there is no cupsd process running or the web interface on port 631 is not accessible, the CRITICAL status is returned. |
|
Monitors the Squid proxy. If no squid process is running or the Squid proxy is not accessible, the CRITICAL status is returned. |
The following Nagios services are only available on the respective Nagios client once additional packages have been installed (see Installation):
Nagios service |
Description |
---|---|
|
Monitors the OPSI Daemon. If no OPSI process is running or the OPSI proxy is not accessible, the CRITICAL status is returned. |
|
Tests the S.M.A.R.T. status of the hard drive |
|
Tests the status of the software RAID via |
|
Checks the status of the AD connector:
The plugin can also be used in multi-connector instances; the name of the instance must be passed on as a parameter. |