Hi!
ServiceCheck.Custom accepts two arguments - host name or IP address and port number. For example, to check port 8080 on address 10.1.2.3, use
ServiceCheck.Custom(10.1.2.3,8080)
All ServiceCheck.* parameters return the following values:
0 - success (server was connected and return expected response);
1 - invalid arguments was passed;
2 - cannot connect to server;
3 - bad server's response.
Best regards,
Victor
ServiceCheck.Custom accepts two arguments - host name or IP address and port number. For example, to check port 8080 on address 10.1.2.3, use
ServiceCheck.Custom(10.1.2.3,8080)
All ServiceCheck.* parameters return the following values:
0 - success (server was connected and return expected response);
1 - invalid arguments was passed;
2 - cannot connect to server;
3 - bad server's response.
Best regards,
Victor