API: diagnostics
POST /api/hosts/{host_id}/diagnostics/dns#
Dns
Permission hosts.prepare (prepare)
Parameters
host_id * | path | string (uuid) |
Request body DnsRequest
Show 2 fields
| Field | Type | Notes |
|---|---|---|
name * | string | minLength 1, maxLength 253 |
server | string | null |
Response 200
POST /api/hosts/{host_id}/diagnostics/ping#
Ping
Permission hosts.prepare (prepare)
Parameters
host_id * | path | string (uuid) |
Request body PingRequest
Show 5 fields
| Field | Type | Notes |
|---|---|---|
count | integer | default: 4 · minimum 1, maximum 10 |
ipproto | "inet" | "inet6" | default: "inet" |
packetsize | integer | null | |
source | string | null | |
target * | string | minLength 1, maxLength 253 |
Response 200
POST /api/hosts/{host_id}/diagnostics/portprobe#
Portprobe
Permission hosts.prepare (prepare)
Parameters
host_id * | path | string (uuid) |
Request body PortprobeRequest
Show 4 fields
| Field | Type | Notes |
|---|---|---|
ipproto | "inet" | "inet6" | default: "inet" |
port * | integer | minimum 1, maximum 65535 |
source | string | null | |
target * | string | minLength 1, maxLength 253 |
Response 200
POST /api/hosts/{host_id}/diagnostics/traceroute#
Traceroute
Permission hosts.prepare (prepare)
Parameters
host_id * | path | string (uuid) |
Request body TracerouteRequest
Show 4 fields
| Field | Type | Notes |
|---|---|---|
ipproto | "inet" | "inet6" | default: "inet" |
protocol | "udp" | "icmp" | default: "icmp" |
source | string | null | |
target * | string | minLength 1, maxLength 253 |