Werk #4236

KomponenteChecks & Agents
TitelRemoved g_hostname and g_service_description from Check API
Datum2017-01-10 17:47:50
Check_MK EditionCheck_MK Raw Edition (CRE)
Check_MK Version1.5.0i1
Level1 - Triviale Änderung
KlasseBug Fix
KompatibilitätIncompatible - Manual interaction might be required

In previous versions the check and inventory plugins of Check_MK could use the variable g_hostname to refer to the host that is currently being checked and g_service_description to get the description of the service that is currently being checked.

Instead of those variables, you can now use the functions host_name() and service_description()