Werk #4236 · Jan 10, 17
Removed g_hostname and g_service_description from Check API
Incompatible change. Existing setups may behave differently after upgrading. Review the details below before updating.
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()
Details
- Class:
- Bug Fixes
- Level:
- Trivial
- Component:
- Checks
- Versions:
- 1.5.0i1CommunityProUltimate + MT