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
Windows Disk I/O monitoring issue
Windows Disk I/O monitoring issue
System:
Nagios XI Version : 2012R2.2 | PHP Version: 5.3.3
Offloaded MySQL DB on another virtual machine
16 CPU with 2 cores each | 32 GB RAM | 1 TB HDD
CentOS-6.3 |Total = 4,000 hosts| 40,000 services.
Nagios XI Version : 2012R2.2 | PHP Version: 5.3.3
Offloaded MySQL DB on another virtual machine
16 CPU with 2 cores each | 32 GB RAM | 1 TB HDD
CentOS-6.3 |Total = 4,000 hosts| 40,000 services.
-
slansing
- Posts: 7698
- Joined: Mon Apr 23, 2012 4:28 pm
- Location: Travelling through time and space...
Re: Windows Disk I/O monitoring issue
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?
http://www.nsclient.org/nscp/discussion/topic/1079
What version of NSClient++ are you running?
Re: Windows Disk I/O monitoring issue
We are using Nsclient++ version 0.3.9.328
System:
Nagios XI Version : 2012R2.2 | PHP Version: 5.3.3
Offloaded MySQL DB on another virtual machine
16 CPU with 2 cores each | 32 GB RAM | 1 TB HDD
CentOS-6.3 |Total = 4,000 hosts| 40,000 services.
Nagios XI Version : 2012R2.2 | PHP Version: 5.3.3
Offloaded MySQL DB on another virtual machine
16 CPU with 2 cores each | 32 GB RAM | 1 TB HDD
CentOS-6.3 |Total = 4,000 hosts| 40,000 services.
Re: Windows Disk I/O monitoring issue
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
./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
System:
Nagios XI Version : 2012R2.2 | PHP Version: 5.3.3
Offloaded MySQL DB on another virtual machine
16 CPU with 2 cores each | 32 GB RAM | 1 TB HDD
CentOS-6.3 |Total = 4,000 hosts| 40,000 services.
Nagios XI Version : 2012R2.2 | PHP Version: 5.3.3
Offloaded MySQL DB on another virtual machine
16 CPU with 2 cores each | 32 GB RAM | 1 TB HDD
CentOS-6.3 |Total = 4,000 hosts| 40,000 services.
-
slansing
- Posts: 7698
- Joined: Mon Apr 23, 2012 4:28 pm
- Location: Travelling through time and space...
Re: Windows Disk I/O monitoring issue
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
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.slansing wrote: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?
please suggest us
System:
Nagios XI Version : 2012R2.2 | PHP Version: 5.3.3
Offloaded MySQL DB on another virtual machine
16 CPU with 2 cores each | 32 GB RAM | 1 TB HDD
CentOS-6.3 |Total = 4,000 hosts| 40,000 services.
Nagios XI Version : 2012R2.2 | PHP Version: 5.3.3
Offloaded MySQL DB on another virtual machine
16 CPU with 2 cores each | 32 GB RAM | 1 TB HDD
CentOS-6.3 |Total = 4,000 hosts| 40,000 services.
-
slansing
- Posts: 7698
- Joined: Mon Apr 23, 2012 4:28 pm
- Location: Travelling through time and space...
Re: Windows Disk I/O monitoring issue
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
Sry we used -l only. while copying it shown like that..again i tried now ,But it giving value zero
System:
Nagios XI Version : 2012R2.2 | PHP Version: 5.3.3
Offloaded MySQL DB on another virtual machine
16 CPU with 2 cores each | 32 GB RAM | 1 TB HDD
CentOS-6.3 |Total = 4,000 hosts| 40,000 services.
Nagios XI Version : 2012R2.2 | PHP Version: 5.3.3
Offloaded MySQL DB on another virtual machine
16 CPU with 2 cores each | 32 GB RAM | 1 TB HDD
CentOS-6.3 |Total = 4,000 hosts| 40,000 services.
Re: Windows Disk I/O monitoring issue
"0" usually means it could not find the performance counter . . .
Former Nagios employee
"It is turtles. All. The. Way. Down. . . .and maybe an elephant or two."
VI VI VI - The editor of the Beast!
Come to the Dark Side.
"It is turtles. All. The. Way. Down. . . .and maybe an elephant or two."
VI VI VI - The editor of the Beast!
Come to the Dark Side.
-
sreinhardt
- -fno-stack-protector
- Posts: 4366
- Joined: Mon Nov 19, 2012 12:10 pm
Re: Windows Disk I/O monitoring issue
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"Nagios-Plugins maintainer exclusively, unless you have other C language bugs with open-source nagios projects, then I am happy to help! Please pm or use other communication to alert me to issues as I no longer track the forum.