statgrab-make-mrtg-config command not found
Introduction
When you run more command in linux terminal / console, you get the following error message
statgrab-make-mrtg-config: command not found
or when using sudo you get the following error message
sudo: statgrab-make-mrtg-config: command not found
Solutions to statgrab-make-mrtg-config: command not found
How To Fix statgrab-make-mrtg-config: command not found in Ubuntu / Debian / Kali Linux / Raspbian
In Ubuntu statgrab-make-mrtg-config is provided by statgrab package.
statgrab is:
statgrab provides an access to system statistics using a sysctl-style interface. This is useful for applications that don’t want to make library calls, but still want to access the statistics. An example is mrtg, for which scripts are provided to generate configuration files.
statgrab utilizes libstatgrab library.
To fix this problem, we can install more using the command below.
sudo apt-get -y install statgrab
This command might take some time to finish depending on your machine internet connection.
You can also use apt command to install statgrab.
sudo apt -y install statgrab
Or if you have aptitude installed you can use the following command.
sudo aptitude install statgrab
Summary
In this tutorial we learn how to fix statgrab-make-mrtg-config command not found error in Ubuntu / Debian / Kali Linux or Raspbian distribution.