summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: aa86828)
raw | patch | inline | side by side (parent: aa86828)
author | Karl DeBisschop <kdebisschop@users.sourceforge.net> | |
Sat, 28 Feb 2004 07:27:17 +0000 (07:27 +0000) | ||
committer | Karl DeBisschop <kdebisschop@users.sourceforge.net> | |
Sat, 28 Feb 2004 07:27:17 +0000 (07:27 +0000) |
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@830 f882894a-f735-0410-b71e-b25c423dba1c
plugins/check_snmp.c | patch | blob | history |
diff --git a/plugins/check_snmp.c b/plugins/check_snmp.c
index b17a41775ba956580c972f0185d746e6a18cd109..907c1809cbcf9e10667742eeb09b1a71d1796e3a 100644 (file)
--- a/plugins/check_snmp.c
+++ b/plugins/check_snmp.c
unsigned long response_value[MAX_OIDS];
int check_warning_value = FALSE;
int check_critical_value = FALSE;
-int eval_method[MAX_OIDS];
+unsigned long eval_method[MAX_OIDS];
char *delimiter;
char *output_delim;
char *miblist;
}
if (eval_method[i] & CRIT_GT && eval_method[i] & CRIT_LT &&
- lower_warn_lim[i] > upper_warn_lim[i]) {
+ lower_crit_lim[i] > upper_crit_lim[i]) {
if (response_value[i] <= lower_crit_lim[i] &&
response_value[i] >= upper_crit_lim[i]) {
result = STATE_CRITICAL;