With check_ping plugin, it goes well!
Code:
String[] strPing = {"10.192.75.226","-w 1000,50%","-c 2000,100%"};
check_ping.main(strPing);
Result:
PING OK - Packet loss = 0%, RTA = 931.00 ms
But with check_http plugin, it doesn't work...
Code:
String[] strHttp = {"10.192.75.226"};
check_http.main(strHttp);
Result:
...nothing... (no error message, ... nothing) (and the code after this line, nothing either)
Do you have an idea?
Thanks, regards!
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hi,
I try to use plugins from my java application...
With check_ping plugin, it goes well!
Code:
String[] strPing = {"10.192.75.226","-w 1000,50%","-c 2000,100%"};
check_ping.main(strPing);
Result:
PING OK - Packet loss = 0%, RTA = 931.00 ms
But with check_http plugin, it doesn't work...
Code:
String[] strHttp = {"10.192.75.226"};
check_http.main(strHttp);
Result:
...nothing... (no error message, ... nothing) (and the code after this line, nothing either)
Do you have an idea?
Thanks, regards!