Windows

check_disk_iostat

Description:

Windows NRPE plugin for disks performance monitoring. Return
Name, AvgDiskQueueLength, DiskReadBytesPersec, DiskWriteBytesPersec, PercentDiskTime.
Check AvgDiskQueueLength parameter to warning/critical levels.

Current Version

1.0.0

Last Release Date

2011-07-18

Compatible With

  • Nagios 3.x

Owner


Nagios CSP

Meet The New Nagios Core Services Platform

Built on over 25 years of monitoring experience, the Nagios Core Services Platform provides insightful monitoring dashboards, time-saving monitoring wizards, and unmatched ease of use. Use it for free indefinitely.

Monitoring Made Magically Better

  • Nagios Core on Overdrive
  • Powerful Monitoring Dashboards
  • Time-Saving Configuration Wizards
  • Open Source Powered Monitoring On Steroids
  • And So Much More!
Project Files
Project Notes
This script must be placed to script directory of NSClient++. You must append following information to nsclient.ini: [External Alias] check_disk_iostat=check_disk_iostat_vbs [Wrapped Scripts] check_disk_iostat_vbs=check_disk_iostat.vbs /warning:10 /critical:15 Thresholds are applied to AvgDiskQueueLength parameter. Result data is correct displayed by NagiosGraph without any changes of map file. Sample script output: [test@nagios ~]# /usr/lib/nagios/plugins/check_nrpe -H 10.0.0.2 -c check_disk_iostat Disk iostat| 0 C:AvgDiskQueueLength=0 DiskReadBytesPersec=0 DiskWriteBytesPersec=0 PercentDiskTime=0 OK:
Reviews (4) Add a Review
No output - shows "0".
by shan_1986, January 31, 2014
Hello Everyone,

Could anyone help me with this. I have copied the disk_iostat.vbs script in my windows machine. But when i execute, it gives me the output as "0".
Please guide me with suggestions to get it worked.

Thank you,
Sudarshan.
Helpful? Yes  No 
No output
by 33itsec, July 31, 2012
Hi,

If I check this script with check_nrpe, always I get the following output:
# ./check_nrpe -H 192.168.70.133 -c check_disk_iostat
OK: Disk windows iostat

And when I try to execute the vb script within windows I get:

Class not defined: 'NagiosPlugin'
Code: 800A01FA

How to solve this issue?

Thank you.

Best,
Sat.
Helpful? Yes  No 
Counters always zero
by mmindtho, October 31, 2011
Hello,
I've tried this plugin and the script is working with NSClient and NRPE. But all values of class Win32_PerfFormattedData_PerfDisk_PhysicalDisk are always zero. As I discover by looking around in some discussion forums it is likely because of the data type integer and rounding issues.
Is this class the right one?
Helpful? Yes  No 
Doesnt work
by davemiles871, August 31, 2011
I have installed this on a test server under NSclient++scripts. As documented in the notes it fails with "ExternalCommands: failed to create process (check_disk_iostat_vbs): 2 The system cannot find the file specified". If I include in the [External Scripts] section and give the full path to the script I get a Class not Defined: 'NagiosPlugin' which suggests there is a wrapper script missing where the classes get defined. Please help.
Owner's Reply:

Sorry for delay.
Could you show your nsclient.ini? It seems to me you have this because of configuration external script engine.


1 of 1 found this review helpful.
Helpful? Yes 1 No 0
Add a Review

You must be logged in to submit a review.

Thank you for your review!

Your review has been submitted and is pending approval.

Recommend

To:


From:


Thank you for your recommendation!

Your recommendation has been sent.

Project Stats
Rating
3.2 (5)
Favorites
0
Views
179,420