Page 1 of 2

performance counter monitoring

Posted: Thu Sep 10, 2015 9:14 am
by lafargeuser
How to monitor below parameters in Nagios XI

Individual CPU Usage
Traffic In/Out Rate
Avg.Disk sec/read
Avg.Disk sec/write

Do I achive above requirement using performace couter if yes Pls. provide should I add as it is in performace couter or do I have to modify
what I have to put in performance counter column & counter output format

Re: performance couter monitoring

Posted: Thu Sep 10, 2015 2:50 pm
by tmcdonald
This is going to vary greatly from OS to OS, but in either case you will probably want to go to Configure -> Monitoring Wizard, and select the wizard that most closely matches your target system. You will probably need to get an agent installed, which is part of the wizard process, but the CPU and disk checks are usually included in the setup by default. For the traffic, you might have to consult the Google for a plugin that can be run on each OS, or if you tell us more about the environment we can make some recommendations.

Re: performance couter monitoring

Posted: Thu Sep 10, 2015 2:58 pm
by lafargeuser
What if server has more than 1 cpu how do I monitor individual cpu. Also perf counter for disk I/o what are they.

Re: performance couter monitoring

Posted: Thu Sep 10, 2015 4:24 pm
by jdalrymple
When you say perf counter it makes it sound like you're referencing Microsoft Windows specifically. That being the case you can browse all of the available performance counters on any given system through perfmon. On my system there are quite a great number of perfcounters for individual cores. Let's say you wanted to know % Processor Time - on my system the 8 cores would be as follows:

Code: Select all

\Processor(0)\% Processor Time
\Processor(1)\% Processor Time
\Processor(2)\% Processor Time
\Processor(3)\% Processor Time
\Processor(4)\% Processor Time
\Processor(5)\% Processor Time
\Processor(6)\% Processor Time
\Processor(7)\% Processor Time
Likewise, there are quite a number of counters that measure "disk I/o", one sample on my system would be:

Code: Select all

\PhysicalDisk(0 C:)\Disk Bytes/sec
Go through perfmon to see the vast number of available counters.

Re: performance couter monitoring

Posted: Thu Sep 10, 2015 7:44 pm
by Box293
Here are some examples of how to monitor performance counters:

http://sites.box293.com/nagios/guides/c ... s/cpu-load

Re: performance couter monitoring

Posted: Fri Sep 11, 2015 3:28 am
by lafargeuser
Thanks. I shall give try & how about Traffic In/Out Rate do i get this from perf counter

Re: performance couter monitoring

Posted: Fri Sep 11, 2015 10:06 am
by WillemDH
Imho you better use a Powershell script to that. It gives you more options and freedom and you can use one plugin to monitor multiple counters at once. You could use this plugin to monitor disk load on Windows Servers:
http://outsideit.net/check-ms-win-disk-load/
And you could use this one (I must say that this one does not work out of the box with all network adapters) to monitor network load on a Windows Server:
http://outsideit.net/check-ms-win-network-load/

You need NSCLient++ installed and configured on the Windows Server.

Grtz

Willem

Re: performance couter monitoring

Posted: Fri Sep 11, 2015 12:41 pm
by lmiltchev
In addition to this, you can try this script:

https://github.com/sreinhardt/Nagios_Pe ... e_Counters

I have used it successfully with NSClient++ and NCPA in the past.

Re: performance couter monitoring

Posted: Tue Sep 29, 2015 9:05 am
by lafargeuser
How do I monitor N/W i/o in windows server.

I need to know counter name & threshold value which will give an output of n/w i/o of windows server.

Re: performance counter monitoring

Posted: Tue Sep 29, 2015 12:59 pm
by WillemDH
Could you please specify what you mean with 'N/W i/o'? (to be honest I never saw this term)