Bug 25396 - Bei Nagios-Dienst-Modifikation werden alle Rechner angezeigt
Bei Nagios-Dienst-Modifikation werden alle Rechner angezeigt
Status: CLOSED DUPLICATE of bug 26065
Product: UCS
Classification: Unclassified
Component: UMC - Nagios
UCS 3.0
Other Linux
: P3 normal (vote)
: UCS 3.1
Assigned To: UMC maintainers
Dirk Wiesenthal
: interim-1
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2011-12-09 16:22 CET by Sönke Schwardt-Krummrich
Modified: 2012-12-12 21:11 CET (History)
4 users (show)

See Also:
What kind of report is it?: ---
What type of bug is this?: ---
Who will be affected by this bug?: ---
How will those affected feel about the bug?: ---
User Pain:
Enterprise Customer affected?:
School Customer affected?:
ISV affected?:
Waiting Support:
Flags outvoted (downgraded) after PO Review:
Ticket number:
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 Sönke Schwardt-Krummrich univentionstaff 2011-12-09 16:22:04 CET
Wird ein nagios-Service-Objekt modfiziert, werden beim Hinzufügen von Rechnern alle verfügbaren Rechner angezeigt. Es ist Grundvoraussetzung für die Aktivierung der Nagios-Option, dass mindestens IP-Adresse und DNS-Forward-Entry gesetzt sind. Daher sollte der Dialog nur Rechnerobjekte zum Hinzufügen vorschlagen, für die der LDAP-Filter "univentionNagiosEnabled=1" gilt.

Konkret ist dies kein Problem, da das UDM-Modul nocheinmal auf korrekte Einträge prüft und die Rechner ohne IP-Adresse und/oder DNS-Eintrag nicht übernimmt. Für den Benutzer kann dies verwirrend sein, da er über da automatische Entfernen nicht informiert wird.
Comment 1 Tobias Scherer univentionstaff 2012-01-05 16:04:58 CET
(In reply to comment #0)
 
> Konkret ist dies kein Problem, da das UDM-Modul nocheinmal auf korrekte
> Einträge prüft und die Rechner ohne IP-Adresse und/oder DNS-Eintrag nicht
> übernimmt. Für den Benutzer kann dies verwirrend sein, da er über da
> automatische Entfernen nicht informiert wird.

Das kann zu einem Problem werden, da Nagios ggf. den Neustart verweigert. 

Bspw.:

Processing object config file '/etc/nagios3/commands.cfg'...
Error: Could not find any host matching 'host.domain.foo.bar' (config file '/etc/nagios3/conf.univention.d/services/UNIVENTION_SSL,host.domain.foo.bar.cfg', starting on line 7)
Error: Could not expand hostgroups and/or hosts specified in service (config file '/etc/nagios3/conf.univention.d/services/UNIVENTION_SSL,host.domain.foo.bar.cfg', starting on line 7)
   Error processing object config files!


***> One or more problems was encountered while processing the config files...

     Check your configuration file(s) to ensure that they contain valid
     directives and data defintions.  If you are upgrading from a previous
     version of Nagios, you should be aware that some variables/definitions
     may have been removed or modified in this version.  Make sure to read
     the HTML documentation regarding the config files, as well as the
     'Whats New' section to find out what has changed.

errors in config! ... failed!
 failed!
Comment 2 Alexander Kläser univentionstaff 2012-02-03 14:18:22 CET
Wenn dies konkret zu Probleme auf Produktivsystemen führt, wäre es wichtig dies zu korrigieren. Das können wir für 3.0-2 überprüfen.
Comment 3 Stefan Gohmann univentionstaff 2012-07-11 08:06:21 CEST
(In reply to comment #2)
> Wenn dies konkret zu Probleme auf Produktivsystemen führt, wäre es wichtig dies
> zu korrigieren. Das können wir für 3.0-2 überprüfen.

Das war allerdings nur ein Beispiel von Tobias, in der Regel tritt das nicht auf -> 3.1.
Comment 4 Stefan Gohmann univentionstaff 2012-07-11 08:08:12 CEST
Ah, das ist identisch mit Bug #26065, der ist nach wie vor für 3.0-2 vorgesehen.

*** This bug has been marked as a duplicate of bug 26065 ***
Comment 5 Dirk Wiesenthal univentionstaff 2012-09-13 17:00:36 CEST
Durch das Beheben von Bug #26065 kann das Problem nicht mehr auftauchen. Von daher tatsächlich Duplicate
Comment 6 Stefan Gohmann univentionstaff 2012-12-12 21:11:06 CET
UCS 3.1-0 has been released: 
 http://forum.univention.de/viewtopic.php?f=54&t=2125

If this error occurs again, please use "Clone This Bug".