Home » Categories » General Topics » 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
Printer Checks
Viewed 869 times since Tue, Nov 28, 2017
Scheduled Task Checks
Viewed 2182 times since Tue, Nov 28, 2017
Disk Performance Checks
Viewed 2287 times since Sun, Nov 26, 2017
Memory Checks
Viewed 5901 times since Mon, Nov 13, 2017
Load Checks
Viewed 7262 times since Thu, Nov 9, 2017
File And Folder Checks
Viewed 6105 times since Sun, Nov 26, 2017
Uptime Checks
Viewed 3140 times since Sun, Nov 26, 2017
Service Checks
Viewed 3768 times since Tue, Nov 14, 2017
Log Checks
Viewed 2399 times since Tue, Nov 28, 2017
Disk Space Checks
Viewed 12645 times since Thu, Nov 9, 2017