rrdcollect command not found

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

Introduction

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

rrdcollect: command not found

or when using sudo you get the following error message

sudo: rrdcollect: command not found

Solutions to rrdcollect: command not found

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

In Ubuntu rrdcollect is provided by rrdcollect package.

rrdcollect is:

RRDcollect is a daemon which polls certain files in /proc/ directory, gathering data and storing it inside RRDtool’s database files. Being written in C it should be both fast and resources-friendly. It supports both scanf(3)-style pattern matches and perl compatible regular expressions.

This package does not create rrd files. You need to create those files manually using rrdtool package.

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

sudo apt-get -y install rrdcollect

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

You can also use apt command to install rrdcollect.

sudo apt -y install rrdcollect

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

sudo aptitude install rrdcollect

Summary

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