Branch: refs/heads/2.2.0
Home:
https://github.com/tribe29/checkmk
Commit: 1d393ce746a380354aacba55c926aee77b19f701
https://github.com/tribe29/checkmk/commit/1d393ce746a380354aacba55c926aee77…
Author: Mathias Laurin <mathias.laurin(a)tribe29.com>
Date: 2023-04-14 (Fri, 14 Apr 2023)
Changed paths:
M cmk/fetchers/_snmp.py
Log Message:
-----------
Make sure SNMP fetch loop isn't empty
If `section_names` is empty, then the SNMP fetcher is no-op and
`fetch()` returns and empty set of data instead of an error.
This patch makes sure to trigger and error in such a case.
Change-Id: I1e28375f63d586eeee956e69c03a2ff6ab14be4d
(cherry picked from commit b7006d4c0e88ce9e03118fba70ca7b00b77c9e43)