diff options
Diffstat (limited to 'plugins/check_snmp.c')
| -rw-r--r-- | plugins/check_snmp.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/plugins/check_snmp.c b/plugins/check_snmp.c index 09196dc4..b595066a 100644 --- a/plugins/check_snmp.c +++ b/plugins/check_snmp.c | |||
| @@ -295,6 +295,8 @@ int main(int argc, char **argv) { | |||
| 295 | 295 | ||
| 296 | mp_check overall = mp_check_init(); | 296 | mp_check overall = mp_check_init(); |
| 297 | 297 | ||
| 298 | mp_set_ok_summary(&overall, "SNMP query is OK"); | ||
| 299 | |||
| 298 | if (response.errorcode == OK) { | 300 | if (response.errorcode == OK) { |
| 299 | mp_subcheck sc_successfull_query = mp_subcheck_init(); | 301 | mp_subcheck sc_successfull_query = mp_subcheck_init(); |
| 300 | xasprintf(&sc_successfull_query.output, "SNMP query was successful"); | 302 | xasprintf(&sc_successfull_query.output, "SNMP query was successful"); |
