In this article, we will demonstrate how to install and run MTR report on a CentOS server.
MTR is a powerful tool that combines the traceroute and ping utilities, allowing our support team to get a clear picture of where traffic is flowing across the Internet to our network. MTR Reports are also useful in diagnosing latency issues.
Install MTR
RHEL/Fedora/CentOS:
1. Login to your server over SSH or KVM
2. Run the following command:
sudo yum update && yum -y install mtr
You have now successfully installed MTR on your CentOS VPS or dedicated server.
Debian/Ubuntu:
1. Login to your server over SSH or KVM
2. Run the following command:
sudo apt update sudo apt install mtr -y
You have now successfully installed MTR on your Debian VPS or dedicated server.
Run MTR Report
To make a report for use by admins or by Rad Web Hosting Support technicians, run the following command:
mtr -rw radwebhosting.com > mtr_report.txt
The output of the example above will be saved to mtr_report.txt
.
To test the route from your server to another location, replace radwebhosting.com
with the host you wish to diagnose.
Download MTR
-
You can download MTR for Windows here:
https://sourceforge.net/projects/winmtr/ -
You can download MTR for Mac OS here:
https://github.com/sitedata/packages/blob/master/mtr-0.92-macos10.15.pkg -
You can download MTR for Linux using these instructions here:
https://www.thegeekstuff.com/2014/04/mtr-my-traceroute/