Bug 43564 - Nagios-Monitoring needs a DNS entry for the client if it is added by ad tools
Nagios-Monitoring needs a DNS entry for the client if it is added by ad tools
Status: RESOLVED WONTFIX
Product: UCS
Classification: Unclassified
Component: Monitoring (Prometheus or Nagios)
UCS 4.2
Other Linux
: P5 normal with 2 votes (vote)
: ---
Assigned To: UCS maintainers
UCS maintainers
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2017-02-16 15:47 CET by Christina Scheinig
Modified: 2022-06-27 17:48 CEST (History)
5 users (show)

See Also:
What kind of report is it?: Bug Report
What type of bug is this?: 2: Improvement: Would be a product improvement
Who will be affected by this bug?: 1: Will affect a very few installed domains
How will those affected feel about the bug?: 2: A Pain – users won’t like this once they notice it
User Pain: 0.023
Enterprise Customer affected?: Yes
School Customer affected?:
ISV affected?:
Waiting Support:
Flags outvoted (downgraded) after PO Review:
Ticket number: 2017021621000182, 2017021421000551
Bug group (optional):
Max CVSS v3 score:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Christina Scheinig univentionstaff 2017-02-16 15:47:29 CET
The customer reported that a computer created by AD-Tools which should be activated for nagios monitoring, also needs a DNS entry. 
In AD Member Mode Windows dns is used, so this entry is not necessary in UCS. 
→ In UMC you have to activate nagios and add a DNS entry.
Comment 1 Arvid Requate univentionstaff 2018-04-26 15:32:56 CEST
The Windows client should create its DNS record via DDNS update. I don't know how the Nagios monitoring works, probably it would be good if it would not require anything else to work.
Comment 2 Stephan Hendl 2018-04-26 15:45:21 CEST
Just to make it clear - one MUST create a DNS entry in the Univention-LDAP if one wants to enable Nagios in the UMC. In AD member mode bind9 from UCS is normally not used and therefore this requirement should be avoided. 

The requirement should be changed to a check if the host is resolvable or not.
Comment 3 Michael Grandjean univentionstaff 2018-04-26 15:46:48 CEST
> The Windows client should create its DNS record via DDNS update. 
Yes, but sometimes you want to monitor a printer, a USV, a switch or router and those boxes are usually not capable of DDNS. 

Anyway, if I understand correctly, the listener module "nagios-server.py" writes a "host" configuration file for each host that should be monitored. The host configuration file MUST contain the IP address of the host. The listener module retrieves this information from the "aRecord" entry of the UDM computer object. And I guess this is empty in an AD Member mode scenario, which probably results in a non-existant host configuration file. AFAICS the listener module would also log "'NAGIOS-SERVER: missing aRecord ${DN}' in this case.
Comment 4 Ingo Steuwer univentionstaff 2020-07-03 20:53:55 CEST
This issue has been filed against UCS 4.2.

UCS 4.2 is out of maintenance and many UCS components have changed in later releases. Thus, this issue is now being closed.

If this issue still occurs in newer UCS versions, please use "Clone this bug" or reopen it and update the UCS version. In this case please provide detailed information on how this issue is affecting you.