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/

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
Operating System Checks
Viewed 14258 times since Tue, Nov 14, 2017
Disk Performance Checks
Viewed 16620 times since Sun, Nov 26, 2017
Disk Space Checks
Viewed 78420 times since Thu, Nov 9, 2017
Process Checks
Viewed 60462 times since Thu, Nov 23, 2017
File And Folder Checks
Viewed 54859 times since Sun, Nov 26, 2017
Network Interface Checks
Viewed 17589 times since Mon, Nov 20, 2017
Agent Checks
Viewed 11249 times since Tue, Nov 14, 2017
CPU Usage Checks
Viewed 33491 times since Sun, Nov 12, 2017
Load Checks
Viewed 53234 times since Thu, Nov 9, 2017
Service Checks
Viewed 33783 times since Tue, Nov 14, 2017