Home » Categories » Check Library

Performance Counter Checks

Performance Counter Checks

Performance Counter checks are specifically for the Windows operating system. A detailed explanation of performance counters can be found in the following KB article:

What Is A Performance Counter

The sections below provide examples of performance counter checks.

 

Nagios Plugins

Nagios Plugins does not provide performance counter checking capabilities.

NCPA

NPCA includes a windowscounters module. In this example, using the Nagios Plugin Threshold standards, the thresholds are triggered if the available memory is less than the supplied value.

Counter: \Memory\Available MBytes
Unit: MB
Warning: 1000MB Free
Critical: 500MB Free

Command:

./check_ncpa.py -H 10.25.14.91 -t Str0ngT0k3n -M 'windowscounters/Memory/Available MBytes' -w 1000: -c 500:

Output:

OK: \Memory\Available MBytes was 7071.00 Available MBytes | '\Memory\Available MBytes'=7071.00;1000:;500:;

NSClient++ via check_nt

NSClient++ via check_nt includes a COUNTER module. In this example the thresholds are triggered if the available memory is less than the supplied value.

Counter: \Memory\Available MBytes
Unit: MB
Warning: 1000MB Free
Critical: 500MB Free

Command:

./check_nt -H 10.25.14.10 -p 12489 -s 'Str0ngP@ssw0rd' -v COUNTER -l "\\Memory\\Available MBytes","Memory Available","MB" -w 1000 -c 500

Output:

Memory Available = 3786.00 MB | 'Memory Available'=3786.000000MB;1000.000000;500.000000;

NSClient++ via check_nrpe

NSClient++ via check_nrpe includes a check_pdh module. In this example the thresholds are triggered if the available memory is less than the supplied value.

Counter: \Memory\Available MBytes
Unit: MB
Warning: 1000MB Free
Critical: 500MB Free

Command:

./check_nrpe -H 10.25.11.3 -c check_pdh -a "counter=\Memory\Available MBytes" 'warn=value<1000' 'crit=value<500' 'perf-config=*(suffix:none)'

Output:

OK: \Memory\Available MBytes = 4921|'\Memory\Available MBytes'=4921;1000;500

WMI

Check WMI Plus does not includes a performance counter module.

SNMP

It's complicated and requires a lot of work. Here is a link from Microsoft:

SNMP WMI Provider Overview.

 

 

Final Thoughts

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

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



Special Offer For Knowledgebase Visitors! Get a huge discount on Nagios Log Server by clicking below.

Get 60% Off Nagios Log Server!

Did you know? Nagios provides complete monitoring of: Windows, Linux, UNIX, Servers, Websites, SNMP, DHCP, DNS, Email, Storage, Files, Apache, IIS, EC2, and more!

0 (0)
Article Rating (No 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
Process Checks
Viewed 69265 times since Thu, Nov 23, 2017
Service Checks
Viewed 40549 times since Tue, Nov 14, 2017
File And Folder Checks
Viewed 60667 times since Sun, Nov 26, 2017
Load Checks
Viewed 60371 times since Thu, Nov 9, 2017
Agent Checks
Viewed 13560 times since Tue, Nov 14, 2017
Scheduled Task Checks
Viewed 20235 times since Tue, Nov 28, 2017
Printer Checks
Viewed 9508 times since Tue, Nov 28, 2017
CPU Usage Checks
Viewed 38773 times since Sun, Nov 12, 2017
Network Interface Checks
Viewed 20600 times since Mon, Nov 20, 2017
Uptime Checks
Viewed 30756 times since Sun, Nov 26, 2017