[Check_mk (deutsch)] Frage zu den automatic discovered host labels

Hi,

Ich bin ein Check MK Neueinsteiger.

Ich habe eine Frage zu automatisch discovereten Host Labels:

Weiß jemand ob diese Host Labels mit dem Betriebssystem ab einer bestimmten Version automatisch mit dem HW/SW Inventory „discovered“ werden, oder ob man dafür etwas speziell konfigurieren/aktivieren muss?

Aktuell verwenden wir Check MK in der 1.6.0-2019.08.23 Beta Version.

image002.png

è Laut Doku (https://checkmk.de/cms_labels.html) „Hardware-/Softwareinventur“ müsste ich diese „discovered“ Host Labes im WATO bei den Services mit dem Schalter „Update Host Labels“ quasi „aktivieren“ können.

So wie hier im Beispiel eines Check MK Server mit dem Check MK Host Label:

Danke jetzt schon für die Antworten.

LG
Roland

Roland Schwarz
@ roland.m.schwarz@a1.at

Hallo Roland,

Ich kann dir hier nur die beiden folgenden Commits aus dem GIT mitteilen - diese gehören zur selben Werk ID und beschreiben was sich bei den Labels in der Beta alles noch geändert hat. Ich denke bis jetzt wird es nicht viele oder auch keine Plugins geben welche beim Discovery auch Labels mit erstellen. Die vorherige Funktion der Labels per HW/SW Inventory ist wieder obsolet bevor eingeführt :slight_smile:

Remove host label discovery from HW/SW inventory

The host label discovery will also be done by the discovery function of
the checks in the future. The just removed functionality will be added
back soon. See following commits for details.

CMK-2458

Start implementing discovery of host labels via check discovery

  • Discovery functions can now produce host labels like this:

    yield HostLabels(
    HostLabel(u"os", u"Windows", plugin_name=“windows_updates”),
    HostLabel(u"type", u"security", plugin_name=“windows_updates”),
    )

    Which adds the two host labels os:Windows and type:security to the host.

  • Host labels are now read / updated / saved when the discovery while
    the discovery is executed manually (cmk_base.discovery._do_discovery_for)

  • Next steps: Add the host label handling to the discovery check, bulk
    discovery and service discovery page functions.

Advantages over the previous HW/SW approach:

  • Discovery logic with the optional automatic activation of changes can be used.
  • The discovery page can be used to visualize changes in the amount of host labels
  • The labels can be discovered incrementally (just like services) with
    -I, -II and --only-checks flags of the discovery
  • CEE: The DCD can immediately add host labels just by enabling the
    service discovery for a DCD connection.

CMK-2458

Mal schauen ob das bis Release 1.6 noch soweit funktioniert wie gewünscht.

Gruß

Andreas

image002.png

···

Am Di., 10. Sept. 2019 um 09:36 Uhr schrieb Schwarz Roland M. roland.m.schwarz@a1.at:

Hi,

Ich bin ein Check MK Neueinsteiger.

Ich habe eine Frage zu automatisch discovereten Host Labels:

Weiß jemand ob diese Host Labels mit dem Betriebssystem ab einer bestimmten Version automatisch mit dem HW/SW Inventory „discovered“ werden, oder ob man dafür etwas speziell konfigurieren/aktivieren muss?

Aktuell verwenden wir Check MK in der 1.6.0-2019.08.23 Beta Version.

è Laut Doku (https://checkmk.de/cms_labels.html) „Hardware-/Softwareinventur“ müsste ich diese „discovered“ Host Labes im WATO bei den Services mit dem Schalter „Update Host Labels“ quasi „aktivieren“ können.

So wie hier im Beispiel eines Check MK Server mit dem Check MK Host Label:

Danke jetzt schon für die Antworten.

LG
Roland

Roland Schwarz
@ roland.m.schwarz@a1.at


checkmk-de mailing list

checkmk-de@lists.mathias-kettner.de

Verwaltung & Abmeldung unter

https://lists.mathias-kettner.de/cgi-bin/mailman/listinfo/checkmk-de

Hallo Andreas,

Vielen Dank für deine AW.

Das hilft mir auf jeden Fall weiter.

Danke +

LG

Roland

···

Von: Andreas Döhler andreas.doehler@gmail.com
Gesendet: Dienstag, 10. September 2019 11:54
An: Schwarz Roland M. roland.m.schwarz@A1.at
Cc: checkmk-de@lists.mathias-kettner.de
Betreff: Re: [Check_mk (deutsch)] Frage zu den automatic discovered host labels

Hallo Roland,

Ich kann dir hier nur die beiden folgenden Commits aus dem GIT mitteilen - diese gehören zur selben Werk ID und beschreiben was sich bei den Labels in der Beta alles noch geändert hat. Ich denke bis jetzt wird es nicht viele oder auch keine Plugins geben welche beim Discovery auch Labels mit erstellen. Die vorherige Funktion der Labels per HW/SW Inventory ist wieder obsolet bevor eingeführt :slight_smile:

Remove host label discovery from HW/SW inventory

The host label discovery will also be done by the discovery function of
the checks in the future. The just removed functionality will be added
back soon. See following commits for details.

CMK-2458

Start implementing discovery of host labels via check discovery

  • Discovery functions can now produce host labels like this:

    yield HostLabels(
    HostLabel(u"os", u"Windows", plugin_name=“windows_updates”),
    HostLabel(u"type", u"security", plugin_name=“windows_updates”),
    )

    Which adds the two host labels os:Windows and type:security to the host.

  • Host labels are now read / updated / saved when the discovery while
    the discovery is executed manually (cmk_base.discovery._do_discovery_for)

  • Next steps: Add the host label handling to the discovery check, bulk
    discovery and service discovery page functions.

Advantages over the previous HW/SW approach:

  • Discovery logic with the optional automatic activation of changes can be used.
  • The discovery page can be used to visualize changes in the amount of host labels
  • The labels can be discovered incrementally (just like services) with
    -I, -II and --only-checks flags of the discovery
  • CEE: The DCD can immediately add host labels just by enabling the
    service discovery for a DCD connection.

CMK-2458

Mal schauen ob das bis Release 1.6 noch soweit funktioniert wie gewünscht.

Gruß

Andreas

Am Di., 10. Sept. 2019 um 09:36 Uhr schrieb Schwarz Roland M. roland.m.schwarz@a1.at:

Hi,

Ich bin ein Check MK Neueinsteiger.

Ich habe eine Frage zu automatisch discovereten Host Labels:

Weiß jemand ob diese Host Labels mit dem Betriebssystem ab einer bestimmten Version automatisch mit dem HW/SW Inventory „discovered“ werden, oder ob man dafür etwas speziell konfigurieren/aktivieren muss?

Aktuell verwenden wir Check MK in der 1.6.0-2019.08.23 Beta Version.

è Laut Doku (https://checkmk.de/cms_labels.html) „Hardware-/Softwareinventur“ müsste ich diese „discovered“ Host Labes im WATO bei den Services mit dem Schalter „Update Host Labels“ quasi „aktivieren“ können.

So wie hier im Beispiel eines Check MK Server mit dem Check MK Host Label:

Danke jetzt schon für die Antworten.

LG
Roland

Roland Schwarz
@ roland.m.schwarz@a1.at


checkmk-de mailing list
checkmk-de@lists.mathias-kettner.de
Verwaltung & Abmeldung unter
https://lists.mathias-kettner.de/cgi-bin/mailman/listinfo/checkmk-de