diff options
author | Lorenz Kästle <12514511+RincewindsHat@users.noreply.github.com> | 2025-09-09 01:57:25 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2025-09-09 01:57:25 +0200 |
commit | 615fec347cd575c0ee4343aa17ee99962f375f64 (patch) | |
tree | a3603d9006ecd9ed9dadc33aa3e9eeb25dbb5113 /lib/perfdata.h | |
parent | 5c81b8e2ab3df0b8c56bf5ab5b30b15a816a1112 (diff) | |
parent | c43f845c22a9e879546472aa9051d7ca0803ef2a (diff) | |
download | monitoring-plugins-615fec347cd575c0ee4343aa17ee99962f375f64.tar.gz |
Merge pull request #2144 from RincewindsHat/refactor/check_snmp
Refactor check snmp:
- Switch from executing `snmpget`/`snmpgetnext` to linking directly agains net-snmp
- Refactor to use test abstraction -> allows for JSON output
Diffstat (limited to 'lib/perfdata.h')
-rw-r--r-- | lib/perfdata.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/perfdata.h b/lib/perfdata.h index 7fd908a9..c5d4a61d 100644 --- a/lib/perfdata.h +++ b/lib/perfdata.h | |||
@@ -45,7 +45,7 @@ typedef struct range_struct { | |||
45 | double start; | 45 | double start; |
46 | bool start_infinity; | 46 | bool start_infinity; |
47 | double end; | 47 | double end; |
48 | int end_infinity; | 48 | bool end_infinity; |
49 | int alert_on; /* OUTSIDE (default) or INSIDE */ | 49 | int alert_on; /* OUTSIDE (default) or INSIDE */ |
50 | char *text; /* original unparsed text input */ | 50 | char *text; /* original unparsed text input */ |
51 | } range; | 51 | } range; |