|
Legrand / Raritan / Server Technology Xerus™ JSON-RPC API
|
Diagnostics interface. More...
Public Member Functions | |
| int | ping (in string hostName, in int count, out vector< string > results) |
| Ping a network host (send out ICMP echo requests) | |
| int | traceRoute (in string hostName, in int timeout, in boolean useIcmp, out vector< string > results) |
| Get the route packet trace to a network host. | |
| int | listTcpConnections (out vector< string > results) |
| List the currently active TCP connections. | |
| int | listTcpUdpListenSockets (out vector< string > results) |
| List TCP/UDP listen (server) sockets. | |
| void | resolveHostName (in string hostName, out vector< string > results) |
| Test whether resolving a host name works and provide diagnostic information. | |
Public Attributes | |
| constant int | NO_ERROR = 0 |
| No error. | |
| constant int | ERR_INVALID_PARAM = 1 |
| Invalid parameters. | |
| constant int | ERR_EXEC_FAIL = 2 |
| Error during execution. | |
| constant int | ERR_TIMEOUT = 3 |
| Timeout. | |
| constant int | ERR_RESOLVE_FAIL = 4 |
| Name resolution failure. | |
Diagnostics interface.
Definition at line 12 of file Diagnostics.idl.
| int net::Diagnostics::listTcpConnections | ( | out vector< string > | results | ) |
List the currently active TCP connections.
| int net::Diagnostics::listTcpUdpListenSockets | ( | out vector< string > | results | ) |
List TCP/UDP listen (server) sockets.
| int net::Diagnostics::ping | ( | in string | hostName, |
| in int | count, | ||
| out vector< string > | results | ||
| ) |
Ping a network host (send out ICMP echo requests)
| hostName | host that should be pinged |
| count | number of echo requests that should be sent (up to 20) |
| results | output of the ping command |
| void net::Diagnostics::resolveHostName | ( | in string | hostName, |
| out vector< string > | results | ||
| ) |
Test whether resolving a host name works and provide diagnostic information.
| hostName | host name to resolve |
| results | result (includes meta data and the actual result or error message) |
| int net::Diagnostics::traceRoute | ( | in string | hostName, |
| in int | timeout, | ||
| in boolean | useIcmp, | ||
| out vector< string > | results | ||
| ) |
Get the route packet trace to a network host.
| hostName | destination host to track |
| timeout | Timeout (in seconds) to wait for traceroute results (up to 900) |
| useIcmp | use ICMP packets instead of UDP packets |
| results | trace output |
| constant int net::Diagnostics::ERR_EXEC_FAIL = 2 |
Error during execution.
Definition at line 15 of file Diagnostics.idl.
| constant int net::Diagnostics::ERR_INVALID_PARAM = 1 |
Invalid parameters.
Definition at line 14 of file Diagnostics.idl.
| constant int net::Diagnostics::ERR_RESOLVE_FAIL = 4 |
Name resolution failure.
Definition at line 17 of file Diagnostics.idl.
| constant int net::Diagnostics::ERR_TIMEOUT = 3 |
Timeout.
Definition at line 16 of file Diagnostics.idl.
| constant int net::Diagnostics::NO_ERROR = 0 |
No error.
Definition at line 13 of file Diagnostics.idl.