197 |
if (s<0) { |
if (s<0) { |
198 |
|
|
199 |
fprintf(stdout, |
fprintf(stdout, |
200 |
"Cannot connect to monit server to get extended process data.\n"); |
"Cannot connect to monit server to get" |
201 |
|
" extended process data.\n"); |
202 |
local_status(p); |
local_status(p); |
203 |
|
|
204 |
return FALSE; |
return FALSE; |
227 |
} |
} |
228 |
|
|
229 |
send_ssl_socket(ssl, req, sizeof(req)); |
send_ssl_socket(ssl, req, sizeof(req)); |
|
|
|
230 |
if(0>(n= recv_ssl_socket(ssl, buf, STRLEN))) { |
if(0>(n= recv_ssl_socket(ssl, buf, STRLEN))) { |
231 |
|
|
232 |
local_status(p); |
local_status(p); |