Home » Categories » Multiple Categories

Nagios XI - Monitoring Performance Counters in Nagios Using NCPA

Monitoring Performance Counters in Nagios Using NCPA

This article describes how you can monitor Windows Performance Counters in Nagios XI. This article will show you how to do this using Core Configuration Manager (CCM).

This article is going to focus on the following performance counter:

"\Memory\Available MBytes"

Which is referenced by NCPA in the following format:

'windowscounters/Memory/Available%20MBytes'

Note: When spaces are involved, %20 is required to emulate the space:

 

Warning threshold will be set to 500 and critical 256.

 

Requirements

You need to install NCPA to be able to monitor performance counters in Nagios XI. Please refer to the installing NCPA KB article if you have not already done so.

You will also need to have the host already monitored by Nagios XI (you can do this using the NCPA wizard). In this example, the host is called win7-01 and the host has the token uumrdrd3p704.

 

Create The Service

Click the Configure menu

Click Core Configuration Manager

In the left pane under Monitoring click Services

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

Click Apply Configuration

 

Now the settings have been applied, 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

You should see something like the following:

 

 

This completes monitoring a performance counter using NCPA.

 

Summary

At this point you should have an understanding of how to configure Nagios XI to monitor performance counters.

 

 

Final Thoughts

For any support related questions please visit the Nagios Support Forums at:

http://support.nagios.com/forum/

5 (1)
Article Rating (1 Votes)
Rate this article
  • Icon PDFExport to PDF
  • Icon MS-WordExport to MS Word
Attachments Attachments
There are no attachments for this article.
Related Articles RSS Feed
Nagios XI - How To Use Deadpool In Nagios XI
Viewed 1857 times since Thu, Mar 16, 2017
Nagios XI - Core Config Manager - Bulk Modification Tool
Viewed 3443 times since Sun, Jul 30, 2017
Nagios XI - How SNMP Traps Work
Viewed 2499 times since Mon, Nov 18, 2019
Nagios XI - Core Config Manager - How It Works
Viewed 2179 times since Sun, Jul 30, 2017
Nagios XI - Business Process Integration
Viewed 3231 times since Thu, Jan 28, 2016
Nagios XI - Redundancy And Security Planning
Viewed 2011 times since Sun, Mar 25, 2018
Nagios XI - Using The Core Config Manager For Service Management
Viewed 5634 times since Mon, Aug 8, 2016
Nagios XI - Monitoring Apache Tomcat With XI
Viewed 2386 times since Wed, Jan 27, 2016
Nagios Core - Time Period Inheritance
Viewed 3279 times since Thu, Mar 10, 2016
Nagios XI - Accessing And Utilizing The Core Config Manager
Viewed 2536 times since Wed, Jul 19, 2017