How To Install netdata on Rocky Linux 8

In this tutorial we learn how to install netdata on Rocky Linux 8. netdata is Real-time performance monitoring

Introduction

In this tutorial we learn how to install netdata on Rocky Linux 8.

What is netdata

netdata is the fastest way to visualize metrics. It is a resource efficient, highly optimized system for collecting and visualizing any type of realtime time-series data, from CPU usage, disk activity, SQL queries, API calls, web site visitors, etc. netdata tries to visualize the truth of now, in its greatest detail, so that you can get insights of what is happening now and what just happened, on your systems and applications.

We can use yum or dnf to install netdata on Rocky Linux 8. In this tutorial we discuss both methods but you only need to choose one of method to install netdata.

Install netdata on Rocky Linux 8 Using dnf

Update yum database with dnf using the following command.

sudo dnf makecache --refresh

After updating yum database, We can install netdata using dnf by running the following command:

sudo dnf -y install netdata

Install netdata on Rocky Linux 8 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

After updating yum database, We can install netdata using yum by running the following command:

sudo yum -y install netdata

How To Uninstall netdata on Rocky Linux 8

To uninstall only the netdata package we can use the following command:

sudo dnf remove netdata

netdata Package Contents on Rocky Linux 8

/etc/logrotate.d/netdata
/usr/lib/.build-id
/usr/lib/.build-id/28
/usr/lib/.build-id/28/189ed93b82d969f842adbe1118632094b1750d
/usr/lib/.build-id/3f
/usr/lib/.build-id/3f/61fa9ee2839c8756c3f25b35d361338f85d3c9
/usr/lib/.build-id/67
/usr/lib/.build-id/67/4ddd94051cf5116199ced7707b47111e338cbb
/usr/lib/.build-id/b0
/usr/lib/.build-id/b0/332ee702fbada60418298904ee3c44c07376fe
/usr/lib/.build-id/b2
/usr/lib/.build-id/b2/5cce97d0bfffcd747e9abf22fae594286970d7
/usr/lib/.build-id/d2
/usr/lib/.build-id/d2/097b419d6c765454e153a892566d68595e7ba3
/usr/lib/.build-id/dc
/usr/lib/.build-id/dc/961add1e508bfa78cbd0cb2ee8de6880bd2d73
/usr/lib/.build-id/e1
/usr/lib/.build-id/e1/1e701a4cef648f472bb882debfbe0c8a8c2712
/usr/lib/systemd/system/netdata.service
/usr/lib/tmpfiles.d/netdata.conf
/usr/libexec/netdata/charts.d
/usr/libexec/netdata/charts.d/ap.chart.sh
/usr/libexec/netdata/charts.d/apcupsd.chart.sh
/usr/libexec/netdata/charts.d/example.chart.sh
/usr/libexec/netdata/charts.d/libreswan.chart.sh
/usr/libexec/netdata/charts.d/nut.chart.sh
/usr/libexec/netdata/charts.d/opensips.chart.sh
/usr/libexec/netdata/charts.d/sensors.chart.sh
/usr/libexec/netdata/node.d
/usr/libexec/netdata/node.d/fronius.node.js
/usr/libexec/netdata/node.d/named.node.js
/usr/libexec/netdata/node.d/node_modules
/usr/libexec/netdata/node.d/node_modules/asn1-ber.js
/usr/libexec/netdata/node.d/node_modules/extend.js
/usr/libexec/netdata/node.d/node_modules/lib
/usr/libexec/netdata/node.d/node_modules/lib/ber
/usr/libexec/netdata/node.d/node_modules/lib/ber/errors.js
/usr/libexec/netdata/node.d/node_modules/lib/ber/index.js
/usr/libexec/netdata/node.d/node_modules/lib/ber/reader.js
/usr/libexec/netdata/node.d/node_modules/lib/ber/types.js
/usr/libexec/netdata/node.d/node_modules/lib/ber/writer.js
/usr/libexec/netdata/node.d/node_modules/net-snmp.js
/usr/libexec/netdata/node.d/node_modules/netdata.js
/usr/libexec/netdata/node.d/node_modules/pixl-xml.js
/usr/libexec/netdata/node.d/sma_webbox.node.js
/usr/libexec/netdata/node.d/snmp.node.js
/usr/libexec/netdata/node.d/stiebeleltron.node.js
/usr/libexec/netdata/plugins.d
/usr/libexec/netdata/plugins.d/acl.sh
/usr/libexec/netdata/plugins.d/alarm-email.sh
/usr/libexec/netdata/plugins.d/alarm-notify.sh
/usr/libexec/netdata/plugins.d/alarm-test.sh
/usr/libexec/netdata/plugins.d/alarm.sh
/usr/libexec/netdata/plugins.d/anonymous-statistics.sh
/usr/libexec/netdata/plugins.d/apps.plugin
/usr/libexec/netdata/plugins.d/cgroup-name.sh
/usr/libexec/netdata/plugins.d/cgroup-network
/usr/libexec/netdata/plugins.d/cgroup-network-helper.sh
/usr/libexec/netdata/plugins.d/charts.d.dryrun-helper.sh
/usr/libexec/netdata/plugins.d/charts.d.plugin
/usr/libexec/netdata/plugins.d/cups.plugin
/usr/libexec/netdata/plugins.d/fping.plugin
/usr/libexec/netdata/plugins.d/get-kubernetes-labels.sh
/usr/libexec/netdata/plugins.d/health-cmdapi-test.sh
/usr/libexec/netdata/plugins.d/ioping.plugin
/usr/libexec/netdata/plugins.d/loopsleepms.sh.inc
/usr/libexec/netdata/plugins.d/node.d.plugin
/usr/libexec/netdata/plugins.d/perf.plugin
/usr/libexec/netdata/plugins.d/python.d.plugin
/usr/libexec/netdata/plugins.d/request.sh
/usr/libexec/netdata/plugins.d/reset_netdata_trace.sh
/usr/libexec/netdata/plugins.d/slabinfo.plugin
/usr/libexec/netdata/plugins.d/system-info.sh
/usr/libexec/netdata/plugins.d/tc-qos-helper.sh
/usr/libexec/netdata/plugins.d/template_dim.sh
/usr/libexec/netdata/python.d
/usr/libexec/netdata/python.d/adaptec_raid.chart.py
/usr/libexec/netdata/python.d/alarms.chart.py
/usr/libexec/netdata/python.d/am2320.chart.py
/usr/libexec/netdata/python.d/anomalies.chart.py
/usr/libexec/netdata/python.d/apache.chart.py
/usr/libexec/netdata/python.d/beanstalk.chart.py
/usr/libexec/netdata/python.d/bind_rndc.chart.py
/usr/libexec/netdata/python.d/boinc.chart.py
/usr/libexec/netdata/python.d/ceph.chart.py
/usr/libexec/netdata/python.d/chrony.chart.py
/usr/libexec/netdata/python.d/couchdb.chart.py
/usr/libexec/netdata/python.d/dns_query_time.chart.py
/usr/libexec/netdata/python.d/dnsdist.chart.py
/usr/libexec/netdata/python.d/dockerd.chart.py
/usr/libexec/netdata/python.d/dovecot.chart.py
/usr/libexec/netdata/python.d/elasticsearch.chart.py
/usr/libexec/netdata/python.d/energid.chart.py
/usr/libexec/netdata/python.d/example.chart.py
/usr/libexec/netdata/python.d/exim.chart.py
/usr/libexec/netdata/python.d/fail2ban.chart.py
/usr/libexec/netdata/python.d/freeradius.chart.py
/usr/libexec/netdata/python.d/gearman.chart.py
/usr/libexec/netdata/python.d/go_expvar.chart.py
/usr/libexec/netdata/python.d/haproxy.chart.py
/usr/libexec/netdata/python.d/hddtemp.chart.py
/usr/libexec/netdata/python.d/hpssa.chart.py
/usr/libexec/netdata/python.d/httpcheck.chart.py
/usr/libexec/netdata/python.d/icecast.chart.py
/usr/libexec/netdata/python.d/ipfs.chart.py
/usr/libexec/netdata/python.d/isc_dhcpd.chart.py
/usr/libexec/netdata/python.d/litespeed.chart.py
/usr/libexec/netdata/python.d/logind.chart.py
/usr/libexec/netdata/python.d/megacli.chart.py
/usr/libexec/netdata/python.d/memcached.chart.py
/usr/libexec/netdata/python.d/mongodb.chart.py
/usr/libexec/netdata/python.d/monit.chart.py
/usr/libexec/netdata/python.d/mysql.chart.py
/usr/libexec/netdata/python.d/nginx.chart.py
/usr/libexec/netdata/python.d/nginx_plus.chart.py
/usr/libexec/netdata/python.d/nsd.chart.py
/usr/libexec/netdata/python.d/ntpd.chart.py
/usr/libexec/netdata/python.d/nvidia_smi.chart.py
/usr/libexec/netdata/python.d/openldap.chart.py
/usr/libexec/netdata/python.d/oracledb.chart.py
/usr/libexec/netdata/python.d/ovpn_status_log.chart.py
/usr/libexec/netdata/python.d/phpfpm.chart.py
/usr/libexec/netdata/python.d/portcheck.chart.py
/usr/libexec/netdata/python.d/postfix.chart.py
/usr/libexec/netdata/python.d/postgres.chart.py
/usr/libexec/netdata/python.d/powerdns.chart.py
/usr/libexec/netdata/python.d/proxysql.chart.py
/usr/libexec/netdata/python.d/puppet.chart.py
/usr/libexec/netdata/python.d/python_modules
/usr/libexec/netdata/python.d/python_modules/__init__.py
/usr/libexec/netdata/python.d/python_modules/bases
/usr/libexec/netdata/python.d/python_modules/bases/FrameworkServices
/usr/libexec/netdata/python.d/python_modules/bases/FrameworkServices/ExecutableService.py
/usr/libexec/netdata/python.d/python_modules/bases/FrameworkServices/LogService.py
/usr/libexec/netdata/python.d/python_modules/bases/FrameworkServices/MySQLService.py
/usr/libexec/netdata/python.d/python_modules/bases/FrameworkServices/SimpleService.py
/usr/libexec/netdata/python.d/python_modules/bases/FrameworkServices/SocketService.py
/usr/libexec/netdata/python.d/python_modules/bases/FrameworkServices/UrlService.py
/usr/libexec/netdata/python.d/python_modules/bases/FrameworkServices/__init__.py
/usr/libexec/netdata/python.d/python_modules/bases/__init__.py
/usr/libexec/netdata/python.d/python_modules/bases/charts.py
/usr/libexec/netdata/python.d/python_modules/bases/collection.py
/usr/libexec/netdata/python.d/python_modules/bases/loaders.py
/usr/libexec/netdata/python.d/python_modules/bases/loggers.py
/usr/libexec/netdata/python.d/python_modules/pyyaml2
/usr/libexec/netdata/python.d/python_modules/pyyaml2/__init__.py
/usr/libexec/netdata/python.d/python_modules/pyyaml2/composer.py
/usr/libexec/netdata/python.d/python_modules/pyyaml2/constructor.py
/usr/libexec/netdata/python.d/python_modules/pyyaml2/cyaml.py
/usr/libexec/netdata/python.d/python_modules/pyyaml2/dumper.py
/usr/libexec/netdata/python.d/python_modules/pyyaml2/emitter.py
/usr/libexec/netdata/python.d/python_modules/pyyaml2/error.py
/usr/libexec/netdata/python.d/python_modules/pyyaml2/events.py
/usr/libexec/netdata/python.d/python_modules/pyyaml2/loader.py
/usr/libexec/netdata/python.d/python_modules/pyyaml2/nodes.py
/usr/libexec/netdata/python.d/python_modules/pyyaml2/parser.py
/usr/libexec/netdata/python.d/python_modules/pyyaml2/reader.py
/usr/libexec/netdata/python.d/python_modules/pyyaml2/representer.py
/usr/libexec/netdata/python.d/python_modules/pyyaml2/resolver.py
/usr/libexec/netdata/python.d/python_modules/pyyaml2/scanner.py
/usr/libexec/netdata/python.d/python_modules/pyyaml2/serializer.py
/usr/libexec/netdata/python.d/python_modules/pyyaml2/tokens.py
/usr/libexec/netdata/python.d/python_modules/pyyaml3
/usr/libexec/netdata/python.d/python_modules/pyyaml3/__init__.py
/usr/libexec/netdata/python.d/python_modules/pyyaml3/composer.py
/usr/libexec/netdata/python.d/python_modules/pyyaml3/constructor.py
/usr/libexec/netdata/python.d/python_modules/pyyaml3/cyaml.py
/usr/libexec/netdata/python.d/python_modules/pyyaml3/dumper.py
/usr/libexec/netdata/python.d/python_modules/pyyaml3/emitter.py
/usr/libexec/netdata/python.d/python_modules/pyyaml3/error.py
/usr/libexec/netdata/python.d/python_modules/pyyaml3/events.py
/usr/libexec/netdata/python.d/python_modules/pyyaml3/loader.py
/usr/libexec/netdata/python.d/python_modules/pyyaml3/nodes.py
/usr/libexec/netdata/python.d/python_modules/pyyaml3/parser.py
/usr/libexec/netdata/python.d/python_modules/pyyaml3/reader.py
/usr/libexec/netdata/python.d/python_modules/pyyaml3/representer.py
/usr/libexec/netdata/python.d/python_modules/pyyaml3/resolver.py
/usr/libexec/netdata/python.d/python_modules/pyyaml3/scanner.py
/usr/libexec/netdata/python.d/python_modules/pyyaml3/serializer.py
/usr/libexec/netdata/python.d/python_modules/pyyaml3/tokens.py
/usr/libexec/netdata/python.d/python_modules/third_party
/usr/libexec/netdata/python.d/python_modules/third_party/__init__.py
/usr/libexec/netdata/python.d/python_modules/third_party/boinc_client.py
/usr/libexec/netdata/python.d/python_modules/third_party/filelock.py
/usr/libexec/netdata/python.d/python_modules/third_party/lm_sensors.py
/usr/libexec/netdata/python.d/python_modules/third_party/mcrcon.py
/usr/libexec/netdata/python.d/python_modules/third_party/monotonic.py
/usr/libexec/netdata/python.d/python_modules/third_party/ordereddict.py
/usr/libexec/netdata/python.d/python_modules/urllib3
/usr/libexec/netdata/python.d/python_modules/urllib3/__init__.py
/usr/libexec/netdata/python.d/python_modules/urllib3/_collections.py
/usr/libexec/netdata/python.d/python_modules/urllib3/connection.py
/usr/libexec/netdata/python.d/python_modules/urllib3/connectionpool.py
/usr/libexec/netdata/python.d/python_modules/urllib3/contrib
/usr/libexec/netdata/python.d/python_modules/urllib3/contrib/__init__.py
/usr/libexec/netdata/python.d/python_modules/urllib3/contrib/_securetransport
/usr/libexec/netdata/python.d/python_modules/urllib3/contrib/_securetransport/__init__.py
/usr/libexec/netdata/python.d/python_modules/urllib3/contrib/_securetransport/bindings.py
/usr/libexec/netdata/python.d/python_modules/urllib3/contrib/_securetransport/low_level.py
/usr/libexec/netdata/python.d/python_modules/urllib3/contrib/appengine.py
/usr/libexec/netdata/python.d/python_modules/urllib3/contrib/ntlmpool.py
/usr/libexec/netdata/python.d/python_modules/urllib3/contrib/pyopenssl.py
/usr/libexec/netdata/python.d/python_modules/urllib3/contrib/securetransport.py
/usr/libexec/netdata/python.d/python_modules/urllib3/contrib/socks.py
/usr/libexec/netdata/python.d/python_modules/urllib3/exceptions.py
/usr/libexec/netdata/python.d/python_modules/urllib3/fields.py
/usr/libexec/netdata/python.d/python_modules/urllib3/filepost.py
/usr/libexec/netdata/python.d/python_modules/urllib3/packages
/usr/libexec/netdata/python.d/python_modules/urllib3/packages/__init__.py
/usr/libexec/netdata/python.d/python_modules/urllib3/packages/backports
/usr/libexec/netdata/python.d/python_modules/urllib3/packages/backports/__init__.py
/usr/libexec/netdata/python.d/python_modules/urllib3/packages/backports/makefile.py
/usr/libexec/netdata/python.d/python_modules/urllib3/packages/ordered_dict.py
/usr/libexec/netdata/python.d/python_modules/urllib3/packages/six.py
/usr/libexec/netdata/python.d/python_modules/urllib3/packages/ssl_match_hostname
/usr/libexec/netdata/python.d/python_modules/urllib3/packages/ssl_match_hostname/__init__.py
/usr/libexec/netdata/python.d/python_modules/urllib3/packages/ssl_match_hostname/_implementation.py
/usr/libexec/netdata/python.d/python_modules/urllib3/poolmanager.py
/usr/libexec/netdata/python.d/python_modules/urllib3/request.py
/usr/libexec/netdata/python.d/python_modules/urllib3/response.py
/usr/libexec/netdata/python.d/python_modules/urllib3/util
/usr/libexec/netdata/python.d/python_modules/urllib3/util/__init__.py
/usr/libexec/netdata/python.d/python_modules/urllib3/util/connection.py
/usr/libexec/netdata/python.d/python_modules/urllib3/util/request.py
/usr/libexec/netdata/python.d/python_modules/urllib3/util/response.py
/usr/libexec/netdata/python.d/python_modules/urllib3/util/retry.py
/usr/libexec/netdata/python.d/python_modules/urllib3/util/selectors.py
/usr/libexec/netdata/python.d/python_modules/urllib3/util/ssl_.py
/usr/libexec/netdata/python.d/python_modules/urllib3/util/timeout.py
/usr/libexec/netdata/python.d/python_modules/urllib3/util/url.py
/usr/libexec/netdata/python.d/python_modules/urllib3/util/wait.py
/usr/libexec/netdata/python.d/rabbitmq.chart.py
/usr/libexec/netdata/python.d/redis.chart.py
/usr/libexec/netdata/python.d/rethinkdbs.chart.py
/usr/libexec/netdata/python.d/retroshare.chart.py
/usr/libexec/netdata/python.d/riakkv.chart.py
/usr/libexec/netdata/python.d/samba.chart.py
/usr/libexec/netdata/python.d/sensors.chart.py
/usr/libexec/netdata/python.d/smartd_log.chart.py
/usr/libexec/netdata/python.d/spigotmc.chart.py
/usr/libexec/netdata/python.d/springboot.chart.py
/usr/libexec/netdata/python.d/squid.chart.py
/usr/libexec/netdata/python.d/tomcat.chart.py
/usr/libexec/netdata/python.d/tor.chart.py
/usr/libexec/netdata/python.d/traefik.chart.py
/usr/libexec/netdata/python.d/uwsgi.chart.py
/usr/libexec/netdata/python.d/varnish.chart.py
/usr/libexec/netdata/python.d/w1sensor.chart.py
/usr/libexec/netdata/python.d/web_log.chart.py
/usr/sbin/netdata
/usr/sbin/netdata-claim.sh
/usr/sbin/netdatacli
/usr/share/doc/netdata
/usr/share/doc/netdata/CHANGELOG.md
/usr/share/doc/netdata/CODE_OF_CONDUCT.md
/usr/share/doc/netdata/CONTRIBUTORS.md
/usr/share/doc/netdata/HISTORICAL_CHANGELOG.md
/usr/share/doc/netdata/README.md
/usr/share/licenses/netdata
/usr/share/licenses/netdata/LICENSE
/usr/share/licenses/netdata/REDISTRIBUTED.md
/var/cache/netdata
/var/lib/netdata
/var/log/netdata

References

Summary

In this tutorial we learn how to install netdata on Rocky Linux 8 using yum and dnf.