Page 1 of 1
Check number of web connections
Posted: Sun Oct 12, 2014 3:17 am
by ryadus
Hi,
I'm new to NAgios and I'm looking for a counter that can gives me the number of web connections to my website.
The same that we get using PerfMon for Windows:
Code: Select all
\Web Service(_Total)\\Current Connections
Thanks in advance for your help.
Re: Check number of web connections
Posted: Mon Oct 13, 2014 10:29 am
by abrist
Re: Check number of web connections
Posted: Mon Oct 13, 2014 10:54 am
by ryadus
Hi,
In WMI there is no performance counter.
I'm using NSclient and Windows Server monitoring wizard, but not able to find Performance Counters for current connections.
Re: Check number of web connections
Posted: Mon Oct 13, 2014 12:05 pm
by lmiltchev
I'm using NSclient and Windows Server monitoring wizard, but not able to find Performance Counters for current connections.
Can you show us the actual command that you are running from the CLI and the output of it?
Re: Check number of web connections
Posted: Tue Oct 14, 2014 3:02 am
by ryadus
lmiltchev wrote:I'm using NSclient and Windows Server monitoring wizard, but not able to find Performance Counters for current connections.
Can you show us the actual command that you are running from the CLI and the output of it?
Actually, I don't know which command to use to get my results. I'm asking about the command that can give me the current connection of a web service.
check_????
Re: Check number of web connections
Posted: Tue Oct 14, 2014 5:25 pm
by lmiltchev
You may try something like:
Code: Select all
./check_nrpe -H <client ip> -p 5666 -c CheckCounter -a "\\Web Service(_Total)\\Current Connections"
or
Code: Select all
./check_nt -H <client ip> -p 12489 -v COUNTER -l "\\Web Service(_Total)\\Current Connections"
You may need to play with "\" to deal with escaping issues.