mirror of
https://github.com/monitoring-plugins/monitoring-plugins.git
synced 2026-06-23 15:38:57 -04:00
check_smtp: implement ok summary
This commit is contained in:
parent
272d7ebdae
commit
1a94de9ae6
1 changed files with 3 additions and 0 deletions
|
|
@ -187,6 +187,9 @@ int main(int argc, char **argv) {
|
|||
my_tcp_connect(config.server_address, config.server_port, &socket_descriptor);
|
||||
|
||||
mp_check overall = mp_check_init();
|
||||
|
||||
mp_set_ok_summary(&overall, "SMTP connection check is OK");
|
||||
|
||||
mp_subcheck sc_tcp_connect = mp_subcheck_init();
|
||||
char buffer[MAX_INPUT_BUFFER];
|
||||
bool ssl_established = false;
|
||||
|
|
|
|||
Loading…
Reference in a new issue