diff options
Diffstat (limited to 'plugins/check_snmp.d')
-rw-r--r-- | plugins/check_snmp.d/check_snmp_helpers.c | 2 | ||||
-rw-r--r-- | plugins/check_snmp.d/config.h | 2 |
2 files changed, 4 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 | }; |
diff --git a/plugins/check_snmp.d/config.h b/plugins/check_snmp.d/config.h index e96dff5c..e68986e2 100644 --- a/plugins/check_snmp.d/config.h +++ b/plugins/check_snmp.d/config.h | |||
@@ -58,7 +58,9 @@ typedef struct check_snmp_config { | |||
58 | 58 | ||
59 | // Modify data | 59 | // Modify data |
60 | double multiplier; | 60 | double multiplier; |
61 | bool multiplier_set; | ||
61 | double offset; | 62 | double offset; |
63 | bool offset_set; | ||
62 | 64 | ||
63 | // Modify output | 65 | // Modify output |
64 | bool use_perf_data_labels_from_input; | 66 | bool use_perf_data_labels_from_input; |