performance counter monitoring

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
lafargeuser
Posts: 341
Joined: Thu Sep 27, 2012 12:23 am

performance counter monitoring

Post 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
Last edited by lafargeuser on Tue Sep 29, 2015 9:16 am, edited 1 time in total.
tmcdonald
Posts: 9117
Joined: Mon Sep 23, 2013 8:40 am

Re: performance couter monitoring

Post 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.
Former Nagios employee
lafargeuser
Posts: 341
Joined: Thu Sep 27, 2012 12:23 am

Re: performance couter monitoring

Post 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.
jdalrymple
Skynet Drone
Posts: 2620
Joined: Wed Feb 11, 2015 1:56 pm

Re: performance couter monitoring

Post 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.
User avatar
Box293
Too Basu
Posts: 5126
Joined: Sun Feb 07, 2010 10:55 pm
Location: Deniliquin, Australia
Contact:

Re: performance couter monitoring

Post by Box293 »

Here are some examples of how to monitor performance counters:

http://sites.box293.com/nagios/guides/c ... s/cpu-load
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
lafargeuser
Posts: 341
Joined: Thu Sep 27, 2012 12:23 am

Re: performance couter monitoring

Post by lafargeuser »

Thanks. I shall give try & how about Traffic In/Out Rate do i get this from perf counter
User avatar
WillemDH
Posts: 2320
Joined: Wed Mar 20, 2013 5:49 am
Location: Ghent
Contact:

Re: performance couter monitoring

Post 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
Last edited by WillemDH on Fri Sep 11, 2015 12:52 pm, edited 1 time in total.
Nagios XI 5.8.1
https://outsideit.net
User avatar
lmiltchev
Former Nagios Staff
Posts: 13589
Joined: Mon May 23, 2011 12:15 pm

Re: performance couter monitoring

Post 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.
Be sure to check out our Knowledgebase for helpful articles and solutions!
lafargeuser
Posts: 341
Joined: Thu Sep 27, 2012 12:23 am

Re: performance couter monitoring

Post 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.
User avatar
WillemDH
Posts: 2320
Joined: Wed Mar 20, 2013 5:49 am
Location: Ghent
Contact:

Re: performance counter monitoring

Post by WillemDH »

Could you please specify what you mean with 'N/W i/o'? (to be honest I never saw this term)
Nagios XI 5.8.1
https://outsideit.net
Locked