diff options
Diffstat (limited to 'plugins/check_ldap.c')
| -rw-r--r-- | plugins/check_ldap.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/plugins/check_ldap.c b/plugins/check_ldap.c index 0e8c5804..ea4b3b1e 100644 --- a/plugins/check_ldap.c +++ b/plugins/check_ldap.c | |||
| @@ -98,6 +98,8 @@ int main(int argc, char *argv[]) { | |||
| 98 | 98 | ||
| 99 | mp_check overall = mp_check_init(); | 99 | mp_check overall = mp_check_init(); |
| 100 | 100 | ||
| 101 | mp_set_ok_summary(&overall, "LDAP check succeeded"); | ||
| 102 | |||
| 101 | LDAP *ldap_connection; | 103 | LDAP *ldap_connection; |
| 102 | /* initialize ldap */ | 104 | /* initialize ldap */ |
| 103 | { | 105 | { |
| @@ -428,7 +430,7 @@ check_ldap_config_wrapper process_arguments(int argc, char **argv) { | |||
| 428 | die(STATE_UNKNOWN, "failed to parse number of entries critical threshold"); | 430 | die(STATE_UNKNOWN, "failed to parse number of entries critical threshold"); |
| 429 | } | 431 | } |
| 430 | result.config.entries_thresholds = | 432 | result.config.entries_thresholds = |
| 431 | mp_thresholds_set_crit(result.config.entries_thresholds, tmp.range); | 433 | mp_thresholds_set_crit(result.config.entries_thresholds, tmp.range); |
| 432 | } break; | 434 | } break; |
| 433 | #ifdef HAVE_LDAP_SET_OPTION | 435 | #ifdef HAVE_LDAP_SET_OPTION |
| 434 | case '2': | 436 | case '2': |
