NodePing.Diagnostics (NodePing Elixir v1.7.1) View Source
Request diagnostic information from a probe or AGENT
Different metrics types include mtr, ping, traceroute, dig, pageload/browserperf, and screenshot.
NOTE AGENT locations do not support pageload and screenshot tools
Link to this section Summary
Functions
Get diagnostic information from a probe or agent
Link to this section Functions
Get diagnostic information from a probe or agent
Parameters
token
- NodePing API token that was provided with accountcheckid
- Check id of the check you want to get diagnostics onlocation
- The probe or AGENT you want to gather metrics fromtool
- The type of diagnostic you would like to run
Tool options include:
- mtr, ping, traceroute, dig, pageload, or screenshot
NOTE AGENTs do not support browserperf or screenshot
Opts
target
- The URL, FQDN, or IP address you'd like to get diagnostics aboutdnsserver
- Used for the dig tool - the FQDN or IP address of the DNS server you'd like to querydnstype
- Used for the dig tool - the DNS record type for the querycount
- Used for the following tools: mtr and ping
The opts are a map where the key is an atom. For example,
%{:target => "www.example.com", :count => 10}