Search Exchange

Search All Sites

Nagios Live Webinars

Let our experts show you how Nagios can help your organization.

Contact Us

Phone: 1-888-NAGIOS-1


Remember Me


5 votes
Current Version
Last Release Date
Compatible With
  • Nagios 3.x

Help Support Ethan Galstad's New Project:

Help Support Ethan

A Message From The Founder...

As the founder of Nagios, I'm asking for your help in a cause that's dear to my heart.

I'm launching a new project to help better the world by providing the information, ideas, and inspiration that I believe can improve the lives of people everywhere.

I know you're busy managing networks, but I would appreciate it if you would consider liking my Facebook page and showing your support for the content and messages I produce by sharing them with your friends and family.

You can learn more about my project by visiting Thank you for your time. I wish you all the best in your endeavors, whatever they may be.

- Ethan

Windows NRPE plugin for disks performance monitoring. Return
Name, AvgDiskQueueLength, DiskReadBytesPersec, DiskWriteBytesPersec, PercentDiskTime.
Check AvgDiskQueueLength parameter to warning/critical levels.
This script must be placed to script directory of NSClient++.

You must append following information to nsclient.ini:
[External Alias]
[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 -c check_disk_iostat
Disk iostat| 0 C:AvgDiskQueueLength=0 DiskReadBytesPersec=0 DiskWriteBytesPersec=0 PercentDiskTime=0
Reviews (4)
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,
by33itsec, July 31, 2012

If I check this script with check_nrpe, always I get the following output:
# ./check_nrpe -H -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.

bymmindtho, October 25, 2011
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?
bydavemiles871, August 11, 2011
1 of 1 people found this review helpful
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.