885 |
if(!available) { |
if(!available) { |
886 |
if( Run.httpdssl) { |
if( Run.httpdssl) { |
887 |
printf_ssl_socket(res->ssl, |
printf_ssl_socket(res->ssl, |
888 |
"Host '%s'\n\tPort %d is not available\n", |
"Host '%s'\n\tPort %d is not available\n" |
889 |
s->name, port->port); |
"\tMonitoring status: %s\n", |
890 |
|
s->name, port->port, statusnames[s->do_monitor]); |
891 |
} else { |
} else { |
892 |
fprintf(out, |
fprintf(out, |
893 |
"Host '%s'\n\tPort %d is not available\n", |
"Host '%s'\n\tPort %d is not available\n" |
894 |
s->name, port->port); |
"\tMonitoring status: %s\n", |
895 |
|
s->name, port->port, statusnames[s->do_monitor]); |
896 |
} |
} |
897 |
} else { |
} else { |
898 |
if( Run.httpdssl) { |
if( Run.httpdssl) { |
899 |
printf_ssl_socket(res->ssl, |
printf_ssl_socket(res->ssl, |
900 |
"Host '%s'\n\tAll monitored ports are available\n", |
"Host '%s'\n\tAll monitored ports are available\n" |
901 |
s->name); |
"\tMonitoring status: %s\n", |
902 |
|
s->name, statusnames[s->do_monitor]); |
903 |
} else { |
} else { |
904 |
fprintf(out, |
fprintf(out, |
905 |
"Host '%s'\n\tAll monitored ports are available\n", |
"Host '%s'\n\tAll monitored ports are available\n" |
906 |
s->name); |
"\tMonitoring status: %s\n", |
907 |
|
s->name, statusnames[s->do_monitor]); |
908 |
} |
} |
909 |
} |
} |
910 |
} |
} |