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

Directory Tree

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
179442
Files:
FileDescription
check_disk_iostat.vbscheck_disk_iostat.vbs
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!
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.