How To Install nsca-ng-server on Rocky Linux 8

In this tutorial we learn how to install nsca-ng-server on Rocky Linux 8. nsca-ng-server is Add-on for transferring check results (and other commands) to Nagios or Icinga (server)

Introduction

In this tutorial we learn how to install nsca-ng-server on Rocky Linux 8.

What is nsca-ng-server

Add-on for transferring check results (and other commands) to Nagios or Icinga (server).

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

Install nsca-ng-server 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 nsca-ng-server using dnf by running the following command:

sudo dnf -y install nsca-ng-server

Install nsca-ng-server 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 nsca-ng-server using yum by running the following command:

sudo yum -y install nsca-ng-server

How To Uninstall nsca-ng-server on Rocky Linux 8

To uninstall only the nsca-ng-server package we can use the following command:

sudo dnf remove nsca-ng-server

nsca-ng-server Package Contents on Rocky Linux 8

/etc/nsca-ng.cfg
/usr/lib/.build-id
/usr/lib/.build-id/73
/usr/lib/.build-id/73/81af96ad2807d4bb17c975c27e8ae4a0d282e9
/usr/lib/systemd/system/nsca-ng.service
/usr/lib/systemd/system/nsca-ng.socket
/usr/sbin/nsca-ng
/usr/share/doc/nsca-ng-server
/usr/share/doc/nsca-ng-server/NEWS
/usr/share/doc/nsca-ng-server/PROTOCOL
/usr/share/doc/nsca-ng-server/README
/usr/share/licenses/nsca-ng-server
/usr/share/licenses/nsca-ng-server/COPYING
/usr/share/man/man5/nsca-ng.cfg.5.gz
/usr/share/man/man8/nsca-ng.8.gz

References

Summary

In this tutorial we learn how to install nsca-ng-server on Rocky Linux 8 using yum and dnf.