mrtg2pcp command not found

In this troubleshooting guide we learn how to fix mrtg2pcp command not found error message

Introduction

When you run more command in linux terminal / console, you get the following error message

mrtg2pcp: command not found

or when using sudo you get the following error message

sudo: mrtg2pcp: command not found

Solutions to mrtg2pcp: command not found

How To Fix mrtg2pcp: command not found in Ubuntu / Debian / Kali Linux / Raspbian

In Ubuntu mrtg2pcp is provided by pcp-import-mrtg2pcp package.

pcp-import-mrtg2pcp is:

Performance Co-Pilot (PCP) front-end tool for importing data from MRTG (the Multi Router Traffic Grapher tool) into standard PCP archive logs for replay with any PCP monitoring tool (such as pmie, pmlogsummary, pmchart or pmdumptext).

To fix this problem, we can install more using the command below.

sudo apt-get -y install pcp-import-mrtg2pcp

This command might take some time to finish depending on your machine internet connection.

You can also use apt command to install pcp-import-mrtg2pcp.

sudo apt -y install pcp-import-mrtg2pcp

Or if you have aptitude installed you can use the following command.

sudo aptitude install pcp-import-mrtg2pcp

Summary

In this tutorial we learn how to fix mrtg2pcp command not found error in Ubuntu / Debian / Kali Linux or Raspbian distribution.