Describe your package hereDescribe your package requirements hereCurrently there are no FAQ items provided.mtr0.85_3Diagnostics: mtrRun mtryestrueIP or HostnamehostnameEnter the IP address or hostname that you would like to traceroute to.inputtrueCountcountThis is the number of pings to send, each one takes 1 second.input(Defaults to 10)No DNS LookupnodnsUse this option to force mtr to display numeric IP numbers and not try to resolve the host names.checkboxShow IPsshowipsUse this option to tell mtr to display both the host names and numeric IP numbers.checkboxRaw Output FormatrawUse this option to tell mtr to use the raw output format.checkboxIntervalintervalUse this option to specify the positive number of seconds between ICMP ECHO requests.input(Default is 1 second.)Use IPv4 onlyipv4onlyUse this option to use IPv4 only.checkbox
ERROR: No valid IP or Hostname given. Fix this and try again!";
echo "\n";
die();
}
/* Set up the configured options */
/* Use wide report mode to not cut hostnames in the report */
$mtr_options = " -w";
$mtr_options .= " -c " . $int_count;
if ($_POST['nodns']) {
$mtr_options .= " -n";
}
if ($_POST['showips']) {
$mtr_options .= " -b";
}
if ($_POST['raw']) {
$mtr_options .= " -l";
}
$mtr_options .= " -i " . $int_interval;
if ($_POST['ipv4only']) {
$mtr_options .= " -4";
}
$mtr_options .= " " . $_POST['hostname'];
echo "Running mtr $mtr_options:\n\n";
system("/usr/local/sbin/mtr" . $mtr_options);
echo "\n";
]]>