Refactoring: Changed remaining check parameters starting with an 's' to the new rules...
[check_mk.git] / .werks / 2756
blobcc5219aa42704900fa498a62ca6b4793dd785227
1 Title: SNMP: Generalized error handling of emtpy info for SNMP checks
2 Level: 2
3 Component: core
4 Compatible: compat
5 Version: 1.2.7i4
6 Date: 1446828681
7 Class: fix
9 This change changes the way empty data for SNMP checks is handled.
10 In previous version each SNMP check had to deal with the fact that
11 the SNMP agent could respond with an empty response (info = []).
13 This situation can better be handled in the Check_MK SNMP engine
14 which catches this issue now before calling the discovery/check
15 function of the check. The error is then reported as missing info
16 like for the Check_MK Agent based checks.
18 There might be some special SNMP checks which need to treat this
19 case of empty data on its own. These checks now need to declare
20 the attribute <tt>handle_empty_info</tt> in the <tt>check_info</tt>.