Bug 29839 - Nagios external commands funktioniert nicht out-of-the-box
Nagios external commands funktioniert nicht out-of-the-box
Status: CLOSED FIXED
Product: UCS
Classification: Unclassified
Component: Monitoring (Prometheus or Nagios)
UCS 3.1
Other Linux
: P5 normal (vote)
: UCS 3.2
Assigned To: Felix Botner
Erik Damrose
: interim-1
: 9109 (view as bug list)
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2012-12-17 11:17 CET by Erik Damrose
Modified: 2022-06-27 17:48 CEST (History)
3 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 Erik Damrose univentionstaff 2012-12-17 11:17:00 CET
Bei einem frisch installierten 3.1 kann man im nagios nicht die sofortige Überprüfung eines nagios-checks über die Weboberfläche anstoßen.

Die ucr-variable nagios/server/checkexternalcmd ist Standardmäßig auf 0 gesetzt. Wird sie auf 1/yes gesetzt, funktionert das ausführen external commands trotzdem nicht, da die Datei /var/lib/nagios3/rw/nagios.cmd nicht existiert und ihre Rechte daher nicht angepasst werden können. Erst nach einem Neustart/Reload von nagios wird die Datei angelegt.

checkexternalcmd sollte Standardmäßig auf 1 gesetzt sein.
Nach der Änderung dieser (und vermutlich der anderen) Variablen muss ein nagios reload durchgeführt werden.
Comment 1 Stefan Gohmann univentionstaff 2013-03-18 06:52:01 CET
*** Bug 9109 has been marked as a duplicate of this bug. ***
Comment 2 Moritz Muehlenhoff univentionstaff 2013-05-31 10:44:58 CEST
We will not ship a UCS 3.1-2 release; the next UCS release will be UCS 3.2.

As such, this bug is moved to the new target milestone.
Comment 3 Felix Botner univentionstaff 2013-06-26 11:49:18 CEST
The new default for nagios/server/checkexternalcmd  is *yes*. 
Restart/reload of nagios daemon has not been implemented.
Comment 4 Erik Damrose univentionstaff 2013-08-16 16:56:46 CEST
The new default for nagios/server/checkexternalcmd  is *yes*. - OK
Restart/reload of nagios daemon has not been implemented. - OK
Changelog: OK
External commands are executable by default: OK

-> Verified
Comment 5 Stefan Gohmann univentionstaff 2013-11-19 06:43:29 CET
UCS 3.2 has been released:
 http://docs.univention.de/release-notes-3.2-en.html
 http://docs.univention.de/release-notes-3.2-de.html

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