Xymon Mailing List Archive search

IIS access

list Steve Aiello
Fri, 16 Feb 2007 08:32:57 -0500
Message-Id: <user-cf083ba774bb@xymon.invalid>

One way to do this is to write a vbscript. You can query this data via the Windows Performance Libraries. A snippet of how to do this would be:

Set oPerfLib=GetObject("Winmgmts:{impersonationlevel=impersonate}!\Root\Cimv2").ExecQuery("Select * from Win32_PerfRawData_W3SVC_WebService where name='Default'")
CurAnonUsers=oPerfLib.CurrentAnonymousUsers
CurAuthUsers=oPerfLib.CurrentNonAnonymoususers

I have a script that I use that runs mostly on IIS5 servers, but I believe this will work on IIS6.

Thanks,
 ~Steve

-----Original Message-----
From: Morsiani, Massimo [mailto:user-32025d8bd22e@xymon.invalid] Sent: Friday, February 16, 2007 7:43 AM
To: user-ae9b8668bcde@xymon.invalid
Subject: [hobbit] IIS access


Hi all,

I need to log/track how many access (users or IP) one MS IIS Web Server is currently receiving. Does anyone have suggestions/tips/scripts to share? Thank you.


Regards.

Massimo Morsiani
Information Technology Dept.
Gilbarco S.p.a.
via de' Cattani, 220/G
50145 Firenze
tel:	+XX-XXX-XXXXX
fax:	+XX-XXX-XXXXXX
email:	user-32025d8bd22e@xymon.invalid
web:	http://www.gilbarco.it


-----Original Message-----
From: Henrik Stoerner [mailto:user-ce4a2c883f75@xymon.invalid] Sent: venerdì 16 febbraio 2007 10.14
To: user-ae9b8668bcde@xymon.invalid
Subject: Re: [hobbit] Changing the Test interval

On Thu, Feb 15, 2007 at 02:49:51PM -0600, Trent Melcher wrote:
Is there a way to change the interval for either the content or http
tests  to 1 minute instead of the default 5 as everything else?
Change the INTERVAL setting for the [bbnet] task in hobbitlaunch.cfg

Note that you should not do this if you have lots of systems that you poll, since it's possible that it just won't be able to run all of the network tests once a minute. In that case, you should pick out the important ones that you do want to run every minute, flag them with a "NET:1minutepoll" and setup an additional [bbnet2] task that runs a script like this:

    #!/bin/sh

    BBLOCATION="1minutepoll"
    export BBLOCATION
    bbtest-net --ping --checkresponse 
    exit 0


Regards,
Henrik


This message (including any attachments) contains confidential and/or proprietary information intended only for the addressee.  Any unauthorized disclosure, copying, distribution or reliance on the contents of this information is strictly prohibited and may constitute a violation of law.  If you are not the intended recipient, please notify the sender immediately by responding to this e-mail, and delete the message from your system.  If you have any questions about this e-mail please notify the sender immediately.