Page 1 of 2
Windows Disk I/O monitoring issue
Posted: Tue Oct 08, 2013 8:33 am
by anoop
Hi Team,
I followed Below link for monitoring Disks Read/write and IOPS for windows
http://exchange.nagios.org/directory/Pl ... at/details
But i am facing error
when I try to execute the vb script within windows I get:
Class not defined: 'NagiosPlugin'
Code: 800A01FA
How to solve this issue?
I need to monitor Disks Read/write and IOPS for windows
Thanks in advance
Re: Windows Disk I/O monitoring issue
Posted: Tue Oct 08, 2013 8:59 am
by slansing
You may want to take a look at this page here:
http://www.nsclient.org/nscp/discussion/topic/1079
What version of NSClient++ are you running?
Re: Windows Disk I/O monitoring issue
Posted: Tue Oct 08, 2013 9:09 am
by anoop
We are using Nsclient++ version 0.3.9.328
Re: Windows Disk I/O monitoring issue
Posted: Tue Oct 08, 2013 9:17 am
by anoop
And we tried by this command
./check_nt -H 10.0.0.21 -s "Test@193" -p 12489 -v COUNTER -1 "\\PhysicalDisk(C:)\\Disk Reads/Sec"
It showing output ( 0 ), even if we try to copy data also
plz lest know exact command
Re: Windows Disk I/O monitoring issue
Posted: Tue Oct 08, 2013 9:19 am
by slansing
It looks like they resolved that same error on the page I linked, please follow it through and make sure you effect the same changes. Let us know!
Re: Windows Disk I/O monitoring issue
Posted: Tue Oct 08, 2013 9:41 am
by anoop
This link not working for Disk IOPS and read and write , even we try to change option mention in ur link. but it is not quite related.
please suggest us
Re: Windows Disk I/O monitoring issue
Posted: Tue Oct 08, 2013 9:45 am
by slansing
Oh you are now using counters??.. okay, looks like your problem is you have a "-1" defined where it should be a "-l"
Code: Select all
./check_nt -H 10.0.0.21 -s "Test@193" -p 12489 -v COUNTER -l "\\PhysicalDisk(C:)\\Disk Reads/Sec"
Re: Windows Disk I/O monitoring issue
Posted: Tue Oct 08, 2013 9:49 am
by anoop
Sry we used -l only. while copying it shown like that..again i tried now ,But it giving value zero
Re: Windows Disk I/O monitoring issue
Posted: Tue Oct 08, 2013 4:11 pm
by abrist
"0" usually means it could not find the performance counter . . .
Re: Windows Disk I/O monitoring issue
Posted: Tue Oct 08, 2013 4:11 pm
by sreinhardt
Not sure how much this will effect it, however the seconds portion should be lower case. Performance counters all have Bytes/sec instead of Bytes/Sec. They also generally have a disk number, 0 in the case of C:. Just to be sure that it's not something silly like that.
Code: Select all
./check_nt -H 10.0.0.21 -s "Test@193" -p 12489 -v COUNTER -l "\\PhysicalDisk(C:)\\Disk Reads/sec"
./check_nt -H 10.0.0.21 -s "Test@193" -p 12489 -v COUNTER -l "\\PhysicalDisk(0 C:)\\Disk Reads/sec"