Page 1 of 1

monitor the Disk I/O and Network I/O

Posted: Tue Jan 15, 2013 3:03 am
by lafargeuser
We are facing performace issue. I have checked CPU & Memory and found both are under threshold.
How can i monitor the Disk I/O and Network I/O for servers.
Also want to know how can i use check_load for windows server ?

Re: monitor the Disk I/O and Network I/O

Posted: Tue Jan 15, 2013 10:54 am
by slansing
For the windows server you will need to install an agent which can handle NSCA/NRPE checks such as NSClient++ "use version 0.3.9.x."

What are you currently using to monitor CPU and memory thresholds on the server you mentioned? Is it the local nagios server or an external one, if it's the nagios server lets get that sorted out before trying to add more monitoring in. :)

Re: monitor the Disk I/O and Network I/O

Posted: Tue Jan 15, 2013 10:59 am
by yancy
lafargeuser,

There is a few way to check these metrics, either with an agent and performance counters, or remotely with wmi.

to find the performance counter metric to match your goal:

start > run > perfmon

right click on one of the "performance Monitors" > properties > choose the data tab

Here you can add new metrics and find what there counter values are

for example:
"Counter=\LogicalDisk(_Total)\Current Disk Queue Length"

The corresponding NRPE command would be:
./check_nrpe -H 192.168.5.176 -c CheckCounter -a "Counter=\LogicalDisk(_Total)\Current Disk Queue Length" ShowAll MaxWarn=60 MaxCrit=90"Counter=\LogicalDisk(_Total)\Current Disk Queue Length"


Hope that helps!

-Yancy

Re: monitor the Disk I/O and Network I/O

Posted: Fri Jan 18, 2013 8:37 am
by lafargeuser
Thanks.

I am monitoring below Performance Counter.

\\Server Work Queues(0)\\Queue Length

It indicate Current work queue (an indication of processing load) is %.f but not sure is this server load monitoring. Also not able to fetch that data. attaching document for reference.


Else, how can monitor load on windows server.

Re: monitor the Disk I/O and Network I/O

Posted: Fri Jan 18, 2013 3:23 pm
by abrist
slansing wrote:For the windows server you will need to install an agent which can handle NSCA/NRPE checks such as NSClient++ "use version 0.3.9.x."
http://nsclient.org/nscp/downloads

Re: monitor the Disk I/O and Network I/O

Posted: Mon Jan 21, 2013 5:44 am
by lafargeuser
I tried using nsca/nrpe , but it doesnt collect data.
CPU Usage Critical 6h 28m 2s 5/5 21/01/2013 10:15:36 CRITICAL - Socket timeout after 10 seconds

i reinstalled nsclient with nrpe & nsca check enabled.Do i need to do any further changes. Pls. guide me with steps.

any help would highly appericiate.

Also trying with WMI but not sure if i achieve this ? trying every possibilities.

Pls. let me know, how can i monitor windows server using nrpe.

Else, would be good to use WMI.

Re: monitor the Disk I/O and Network I/O

Posted: Mon Jan 21, 2013 11:26 am
by slansing
Can you send us both your nsclient.ini/nsc.ini file and your nrpe.cfg file from the Nagios system.

Re: monitor the Disk I/O and Network I/O

Posted: Tue Jan 22, 2013 2:43 am
by lafargeuser
I have installed NSclient with NRPE/NSCA check enabled. Services running fine.
Now, how can i move further to achieve Disk I/O & N/W I/O.

Attaching, requested files along with NSClient installed snapshot for your reference.

Re: monitor the Disk I/O and Network I/O

Posted: Tue Jan 22, 2013 3:37 am
by lafargeuser
Attaching........NSClient snapshot ....

Re: monitor the Disk I/O and Network I/O

Posted: Tue Jan 22, 2013 8:33 am
by scottwilkerson
closing thread, already being worked via email support.