check_xmlrpc

check_xmlrpc

This plugin checks a XML-RPC Server for a valid response.

Usage

check_xmlrpc [options] -u

Example

check_xml-rpc.pl -u http://xml-rpc.foo.org:8080/RPC2 -m AddSum -r 5 -p 2,3

Calls method 'AddSum' for XML-RPC server at http://xml-rpc.foo.org/RPC2 on port 8080, with 2 and 3 as parameters and expects 5 as the response.

Options

--version            show program's version number and exit
-h, --help           show this help message and exit
-t T, --timeout=T    Specify a timeout in seconds, default 30.
-u URL, --url=URL    The complete URL of the XML-RPC server, including port.
-m M, --method=M     The method to call/check, defaults to 'ping'.
-r R, --response=R   A regex/string containing part of the expected response. Defaults to 'pong'.
-p P, --parameters=P A list of comma delimited parameters to pass the method.