The following sections describe running Service Probe actions.
Tests whether the probe's configured gateway is reachable using ARP. This command runs synchronously.
run service-probe <instance_id> query gateway
Example output:
Pass: Gateway 192.168.100.10 for Service Probe with ID 1 is reachable Fail: Gateway 192.168.200.11 for Service Probe with ID 100 is not reachable
Pings an IP address or hostname from within the probe's network context.
run service-probe <instance_id> ping <host>
Example output:
Pass: Ping to 11.100.100.1 using Service Probe with ID 1 succeeded Fail: Ping to 11.100.100.10 using Service Probe with ID 1 failed Not Completed: Ping to 11.100.100.99 using Service Probe with ID 99 was not completed
Resolves a hostname using the probe's DNS configuration.
Version 33.5.x:
run service-probe <instance_id> query dns <fqdn>
Version 33.6.1 and later — optionally target a specific server:
run service-probe <instance_id> query dns {primary | secondary | tertiary | default} {<fqdn>}
default to use the standard system resolver (glibc).Example output:
DNS query using Service Probe with ID 1: Pass: DNS query for www.extremenetworks.com using primary server 11.100.100.1 succeeded Fail: DNS query for www.extremenetworks.com using secondary server 8.8.8.8 failed
Available in version 33.6.1 and later. Executes a shell command string inside the probe's namespace. When you run the command, you are prompted to enter the command string interactively.
run service-probe <instance_id> shell
Example output:
Command: traceroute 11.100.100.1 Exit Status: 0 ...output follows: traceroute to 11.100.100.1 (11.100.100.1), 30 hops max, 46 byte packets 1 192.168.1.1 (192.168.1.1) 0.547 ms 0.343 ms 0.321 ms 2 110.110.110.2 (110.110.110.2) 0.364 ms 88.943 ms 0.375 ms 3 11.100.100.1 (11.100.100.1) 0.287 ms 0.271 ms 0.247 ms
Available in version 33.6.1 and later. Executes a Python script file inside the probe's namespace.
run service-probe <instance_id> python <script_file>
Example output:
Exit Status: 0 ...output follows: Username: admin, User ID: 1001 Group Name: admin, Group ID: 1001