Werk #11480: snmp_info, mgmt_snmp_info: Add host label "cmk/device_type" discovery

Komponente Checks und Agenten
Titel snmp_info, mgmt_snmp_info: Add host label "cmk/device_type" discovery
Datum 19.09.2020
Checkmk-Editon Checkmk Raw (CRE)
Checkmk-Version 2.0.0i1 1.7.0i1
Level Kleine Änderung
Klasse Neues Feature
Kompatibilität Kompatibel - benötigt kein manuelles Eingreifen

From now on, the sysDescr is parsed for the following strings:

  • appliance
  • firewall
  • printer
  • router
  • sensor
  • switch
  • ups
  • wlc

  • If one string (foo in this example) is found, the host will discover the host label "cmk/device_type:foo".

    Because sysDescr is the only reliable way to get the device type from a snmp device, but not every description contains the strings above, we also have to add device specific host labels via the regarding check plugins. This will be added with further werks.

    The implementation takes care, that the device specific host label always wins about the strings in snmp_info and mgmt_snmp_info.

    Zur Liste aller Werks