diff options
author | Lorenz Kästle <12514511+RincewindsHat@users.noreply.github.com> | 2025-08-30 14:18:42 +0200 |
---|---|---|
committer | Lorenz Kästle <12514511+RincewindsHat@users.noreply.github.com> | 2025-08-30 14:18:42 +0200 |
commit | 7f1877f760a5ecdd0356010dd14c7606d44abfb0 (patch) | |
tree | 138c9ae13260b92bac0a0bff0911e249e4a541f7 /plugins/check_snmp.d/check_snmp_helpers.c | |
parent | 77a5db04d7ccc954096c2d86c21fa7b05948072d (diff) | |
download | monitoring-plugins-7f1877f760a5ecdd0356010dd14c7606d44abfb0.tar.gz |
check_snmp: Fix number processing (offset + multiplier)
Diffstat (limited to 'plugins/check_snmp.d/check_snmp_helpers.c')
-rw-r--r-- | plugins/check_snmp.d/check_snmp_helpers.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/plugins/check_snmp.d/check_snmp_helpers.c b/plugins/check_snmp.d/check_snmp_helpers.c index 7725cc18..8f4bcb9c 100644 --- a/plugins/check_snmp.d/check_snmp_helpers.c +++ b/plugins/check_snmp.d/check_snmp_helpers.c | |||
@@ -97,7 +97,9 @@ check_snmp_config check_snmp_config_init() { | |||
97 | .string_cmp_value = "", | 97 | .string_cmp_value = "", |
98 | 98 | ||
99 | .multiplier = 1.0, | 99 | .multiplier = 1.0, |
100 | .multiplier_set = false, | ||
100 | .offset = 0, | 101 | .offset = 0, |
102 | .offset_set = false, | ||
101 | 103 | ||
102 | .use_perf_data_labels_from_input = false, | 104 | .use_perf_data_labels_from_input = false, |
103 | }; | 105 | }; |