concurrent users on a website

Jim Avery jim at jimavery.me.uk
Mon Apr 20 14:40:43 CEST 2009


2009/4/20 Harry John <irvine.harris at gmail.com>:
> Hi
> How do we check concurrent users in a website?
> Is this possibble in nagios friends?
> THanks!

If it's Microsoft IIS, you can query the performance counter for
current connections using NSClient++.  In my nsc.ini config, I have:

 web_curr_conn=inject CheckCounter "Counter:connections=\Web
Service(_Total)\Current Connections" ShowAll MaxWarn=40 MaxCrit=100

So I can then query the counter from Nagios using a simple nrpe command like:

$USER1$/check_nrpe -H $HOSTADDDRESS$ -c web_curr_conn


Cheers,

Jim

------------------------------------------------------------------------------
Stay on top of everything new and different, both inside and 
around Java (TM) technology - register by April 22, and save
$200 on the JavaOne (SM) conference, June 2-5, 2009, San Francisco.
300 plus technical and hands-on sessions. Register today. 
Use priority code J9JMT32. http://p.sf.net/sfu/p
_______________________________________________
Nagios-users mailing list
Nagios-users at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. 
::: Messages without supporting info will risk being sent to /dev/null





More information about the Users mailing list