Need help?

Our experts have had an average response time of 11.7 minutes in August 2021 to fix urgent issues.

We will keep your servers stable, secure, and fast at all times for one fixed price.

Monitoring Linux Using NCPA

by | May 10, 2021

Monitoring can be set up in Linux using NCPA which is a cross-platform monitoring agent for Nagios Core and Nagios XI that runs on Windows, Linux/Unix and Mac OS/X machines.

As a part of our Server Management services, our Support Engineers with Nagios-related requests regularly.

Let us see how to configure NCPA to monitor Linux.

Monitoring Linux Using NCPA

Before configuring NCPA, we must install NCPA on the target Windows/Linux/Mac OS X machine we wish to monitor.

Installing NCPA On Linux

There are several methods for installing NCPA on Linux depending on our OS distribution. First, establish a terminal session as a root user.

1. Using Nagios Repository

The Nagios Repository can be used to install NCPA on RHEL/CentOS. The first step is to install the repository depending on the version of Linux.

* 7.x:
# rpm -Uvh http://repo.nagios.com/nagios/7/nagios-repo-7-4.el7.noarch.rpm
* 8.x:
# rpm -Uvh http://repo.nagios.com/nagios/8/nagios-repo-8-1.el8.noarch.rpm

After the repository install, we have to execute the following command to install NCPA:

# yum install ncpa -y

 

2. Using RPM Package

An RPM package can be used to install NCPA on RHEL/CentOS. The step below depends on the version and architecture of Linux we are running.

RHEL/CentOS/Oracle Linux 7.x
# rpm -Uvh https://assets.nagios.com/downloads/ncpa/ncpa-latest.el7.x86_64.rpm

RHEL/CentOS/Oracle Linux 8.x
# rpm -Uvh https://assets.nagios.com/downloads/ncpa/ncpa-latest.el8.x86_64.rpm

 

3. Using DEB Package

A DEB package can be used to install NCPA on Ubuntu/Debian. Furthermore, the steps below depending on the version and architecture of Linux we are running.

* Debian 8.x i386
# wget https://assets.nagios.com/downloads/ncpa/ncpa-latest.i386.deb
dpkg -i ./ncpa-latest.i386.deb

* Debian 8.x amd64
# wget https://assets.nagios.com/downloads/ncpa/ncpa-latest.amd64.deb
dpkg -i ./ncpa-latest.amd64.deb

* Debian 9.x i386
# wget https://assets.nagios.com/downloads/ncpa/ncpa-latest.d9.i386.deb
dpkg -i ./ncpa-latest.d9.i386.deb

* Debian 9.x amd64
# wget https://assets.nagios.com/downloads/ncpa/ncpa-latest.d9.amd64.deb
dpkg -i ./ncpa-latest.d9.amd64.deb

* Debian 10.x amd64
# wget https://assets.nagios.com/downloads/ncpa/ncpa-latest.d10.amd64.deb
dpkg -i ./ncpa-latest.d10.amd64.deb

* Ubuntu i386
# wget https://assets.nagios.com/downloads/ncpa/ncpa-latest.i386.deb
# sudo dpkg -i ./ncpa-latest.i386.deb

* Ubuntu amd64
# wget https://assets.nagios.com/downloads/ncpa/ncpa-latest.amd64.deb
# sudo dpkg -i ./ncpa-latest.amd64.deb

 

Using The Linux Server Wizard

In Nagios XI, wizards perform the configuration of hosts and services through the Web UI. Wizards take the complicated matter of creating hosts and services, defining configuration parameters, assigning contacts, contact groups, hostgroups, servicegroups, etc, into an easy form in the Nagios XI UI.

Moreover, wizards can also be easily added to Nagios XI through the Admin -> Manage Wizards menu to expand the capabilities of Nagios XI.

To begin using the NCPA Agent wizard, navigate via the top menu bar to Configure > Configuration Wizards and select the Linux Server wizard.

monitoring linux using ncpa

In the first field, type the address or FQDNS name of the host we want to monitor. Next, we can specify the port number if we have changed it from the default of 5693. Then, type the Token we are using on the NCPA agent. Finally, choose the system type of the host we want to monitor and click Next.

Next step, we will configure all of the options for monitoring. Here, we will need to enter the following details:

  • Enter a valid Host Name.
  • Select the metrics that we want to monitor.
  • We can adjust the warning and critical thresholds for each metric to suit our needs.
  • Click Next once we have selected all the required options.
  • Complete the wizard by choosing the required options.

To finish up, click on Finish in the final step of the wizard. This will create the new host and services and begin monitoring.

Once the wizard applies the configuration, click the View status details for <NCPA HOST> link to see the newly created service.

[Need any further assistance in monitoring Linux using NCPA? – We’re available 24*7]

Conclusion

In short, we can set up monitoring in Linux using NCPA. Today, we saw how our Support Engineers configures NCPA to monitor Linux.

PREVENT YOUR SERVER FROM CRASHING!

Never again lose customers to poor server speed! Let us help you.

Our server experts will monitor & maintain your server 24/7 so that it remains lightning fast and secure.

SEE SERVER ADMIN PLANS

var google_conversion_label = "owonCMyG5nEQ0aD71QM";

0 Comments

Submit a Comment

Your email address will not be published. Required fields are marked *

Privacy Preference Center

Necessary

Necessary cookies help make a website usable by enabling basic functions like page navigation and access to secure areas of the website. The website cannot function properly without these cookies.

PHPSESSID - Preserves user session state across page requests.

gdpr[consent_types] - Used to store user consents.

gdpr[allowed_cookies] - Used to store user allowed cookies.

PHPSESSID, gdpr[consent_types], gdpr[allowed_cookies]
PHPSESSID
WHMCSpKDlPzh2chML

Statistics

Statistic cookies help website owners to understand how visitors interact with websites by collecting and reporting information anonymously.

_ga - Preserves user session state across page requests.

_gat - Used by Google Analytics to throttle request rate

_gid - Registers a unique ID that is used to generate statistical data on how you use the website.

smartlookCookie - Used to collect user device and location information of the site visitors to improve the websites User Experience.

_ga, _gat, _gid
_ga, _gat, _gid
smartlookCookie

Marketing

Marketing cookies are used to track visitors across websites. The intention is to display ads that are relevant and engaging for the individual user and thereby more valuable for publishers and third party advertisers.

IDE - Used by Google DoubleClick to register and report the website user's actions after viewing or clicking one of the advertiser's ads with the purpose of measuring the efficacy of an ad and to present targeted ads to the user.

test_cookie - Used to check if the user's browser supports cookies.

1P_JAR - Google cookie. These cookies are used to collect website statistics and track conversion rates.

NID - Registers a unique ID that identifies a returning user's device. The ID is used for serving ads that are most relevant to the user.

DV - Google ad personalisation

IDE, test_cookie, 1P_JAR, NID, DV, NID
IDE, test_cookie
1P_JAR, NID, DV
NID
hblid

Security

These are essential site cookies, used by the google reCAPTCHA. These cookies use an unique identifier to verify if a visitor is human or a bot.

SID, APISID, HSID, NID, PREF
SID, APISID, HSID, NID, PREF