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
Email: sales@nagios.com

Login

Remember Me

check_disk_iostat

Rating
5 votes
Favoured:
0
Current Version
1.0.0
Last Release Date
2011-07-18
Compatible With
  • Nagios 3.x
Owner
Hits
172663
Files:
FileDescription
check_disk_iostat.vbscheck_disk_iostat.vbs

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 ethangalstad.me/nagios. 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]
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)
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.
by33itsec, 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.
bymmindtho, October 25, 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?
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.