NodePing.Diagnostics.get
You're seeing just the function
get
, go back to NodePing.Diagnostics module for more information.
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}