Call Us! 1-800-383-5193
Call Us! 1-800-383-5193
Call Us! 1-800-383-5193

Need Help?

Emergency Response Time custom

Our experts have had an average response time of 12.45 minutes in December 2020 to fix urgent issues.

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

Monitoring Performance Counters in Nagios XI Using NCPA

by | Jan 3, 2021

Monitoring Performance Counters in Nagios XI is possible using NCPA.

As part of our Server Management Services, we assist our customers with several Nagios queries on a daily basis.

Today, let us focus on NCPA to monitor servers.


Monitoring Performance Counters in Nagios

In this article, our Support Engineers describes how we can monitor Windows Performance Counters in Nagios XI.

To begin with, let us focus on the following performance counter:

“\Memory\Available MBytes”

This is referenced by NCPA in the following format:


The warning threshold will be set to 500 and critical 256.

We need to install NCPA to be able to monitor performance counters in Nagios XI.

We can download NCPA packages for our operating system (OS) from the URL:

To install NCPA On Windows we navigate to the location of the download and double-click the installer. Eventually, the Welcome screen will pop up.

Click Next to continue. Then, we can see the license agreement.

Here we click I Agree

Then, we can see the configuration screen for Passive checks.

The only setting we need is a Token. This is what Nagios server will use to authenticate with NCPA.

The Bind IP of means that NCPA will listen on all Ipv4 addresses on the Windows machine. It uses the default port of 5693.

Click Next to proceed. Then, we can see the configuration screen for Passive checks.

We need to check the Send passive checks over the NRDP box to enable passive checks.

Similarly, we will also need to provide the following NRDP settings:

  • URL

This is the URL on Nagios Host that accepts passive check results to submit.

  • NRDP Token

This is the token that we use when passing NCPA passive checks to Nagios for NRDP to accept the check.

The URL and NRDP token in Nagios XI is configured via Admin > Check Transfers > Inbound Transfers.

  • Hostname

The hostname that the passive checks belong to on the Nagios server.

Click Next to proceed.

Continuing with Passive checks, we will present the default passive service checks that will execute and send to the Nagios server. However, we can change it, as per our requirements.

Then, click Next to proceed.

Now, we will have the install location. Change the destination folder as per requirement.

Then click the Install button to install NCPA. Then, wait for the installation and configuration of NCPA.

Once done,  click Finish

We will also need to monitor the host by Nagios XI. For example, here the host is win7-01 and the host has the token uumrdrd3p704.

Create the Service

  • Click the Configure menu
  • Then click Core Configuration Manager
  • In the left pane under Monitoring click Services
  • Then, click the Add New button
  • Populate the fields on each tab as follows:

Common Settings:

Config Name: win7-01
Description Memory: Available
Manage Hosts button: Select win7-01
Manage Templates button: Select xiwizard_ncpa_service
Check command: check_xi_ncpa_agent
$ARG1$: -t ‘uumrdrd3p704’ -P 5693 -M ‘windowscounters/Memory/Available%20MBytes’ -w 500: -c 256:

Check Settings:

Check interval: 5
Retry interval: 1
Max check attempts: 5
Check period: xi_timeperiod_24x7

Alert Settings:

Complete any notification options as required.

  • Click Save
  • Then, click Apply Configuration
  • Now, click the magnifying glass on the right of the menu bar.
  • Search for Memory Available
  • In the search result, click on the new service Memory Available
  • We can now see something like the following:
    Monitoring Performance Counters in Nagios

[Couldn’t configure NCPA? We’d be happy to assist!]



To conclude, we saw that monitoring Performance Counters in Nagios XI is possible using NCPA. Today, we saw how our Support Engineers configure Nagios XI to monitor performance counters.


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.


var google_conversion_label = "owonCMyG5nEQ0aD71QM";


Submit a Comment

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

server management

Spend time on your business, not on your servers.


Or click here to learn more.



Privacy Preference Center


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]


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


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


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.