Monitoring Windows performance counters with check_nrpe
Posted: Thu Nov 16, 2017 11:51 am
Good afternoon,
Following on from my request for suggestions for plugins to monitor disk performance, I stumbled upon the following article:
Using NSClient++ 0.4.3.143 with nrpe support enabled on my Windows hosts, I was able to define services including the following syntax:
Whilst I can get all of these to successfully run without generating errors in Nagios Core 4.3.4, I have to confess that I don't I don't fully understand the syntax. For instance, on the Read Bytes/Sec and Write Bytes/Sec commands, the warning alerts are generated at a lower value than the critical alerts. Surely higher bytes per second are "better" than lower ones, yet the parameters seem to be the wrong way round.
Of course, I HAVE been looking at this all afternoon and I MAY just be missing something completely obvious, but any assistance or observations would be more than welcome, also with any suggestions as to other useful counters that I could use.
Thanks in advance for your interest
Pete
Following on from my request for suggestions for plugins to monitor disk performance, I stumbled upon the following article:
Code: Select all
http://sites.box293.com/nagios/guides/common-checks/disk-performance
Code: Select all
check_command check_nrpe!checkcounter! -a 'Counter:C % Read Time=\LogicalDisk(C:)\% Disk Read Time' ShowAll MaxWarn=50 MaxCrit=75
check_command check_nrpe!checkcounter! -a 'Counter:C % Write Time=\LogicalDisk(C:)\% Disk Write Time' ShowAll MaxWarn=50 MaxCrit=75
check_command check_nrpe!checkcounter! -a 'Counter:C: Queue Length=\LogicalDisk(C:)\Current Disk Queue Length' ShowAll MaxWarn=10 MaxCrit=20
check_command check_nrpe!checkcounter! -a 'Counter:C: % Read Bytes/sec=\LogicalDisk(C:)\Disk Read Bytes/sec' ShowAll MaxWarn=100 MaxCrit=500
check_command check_nrpe!checkcounter! -a 'Counter:C: % Write Bytes/sec=\LogicalDisk(C:)\Disk Write Bytes/sec' ShowAll MaxWarn=100 MaxCrit=500
check_command check_nrpe!checkcounter! -a 'Counter:C: Split IO/sec=\LogicalDisk(C:)\Split IO/Sec' ShowAll MaxWarn=10 MaxCrit=20
Of course, I HAVE been looking at this all afternoon and I MAY just be missing something completely obvious, but any assistance or observations would be more than welcome, also with any suggestions as to other useful counters that I could use.
Thanks in advance for your interest
Pete