Licenses: Updated the list of licenses and added a PDF containing all license texts
[check_mk.git] / .werks / 4236
blobea0ff442ee1406de8c289e05e7ee7fabb3e0faa8
1 Title: Removed g_hostname and g_service_description from Check API
2 Level: 1
3 Component: checks
4 Compatible: incomp
5 Version: 1.5.0i1
6 Date: 1484066870
7 Class: fix
9 In previous versions the check and inventory plugins of Check_MK
10 could use the variable <tt>g_hostname</tt> to refer to the host
11 that is currently being checked and <tt>g_service_description</tt>
12 to get the description of the service that is currently being
13 checked.
15 Instead of those variables, you can now use the functions
16 <tt>host_name()</tt> and <tt>service_description()</tt>