Windows IIS/W3SVC script

Templates, scripts for templates, scripts and requests for templates.

Moderators: Developers, Moderators

Post Reply
sidewinder
Cacti User
Posts: 66
Joined: Sat Dec 06, 2003 12:44 pm
Location: Winchester, MA

Windows IIS/W3SVC script

Post by sidewinder »

Just type the script name at a dos prompt for info on usage.

The script can be modified to get values for other IIS counters by changing the following line in the script to a different WMI class.

my $WMI_Class = "Win32_PerfRawData_W3SVC_WebService";

to
my $Win32_Class = "Win32_PerfRawData_ASP_ActiveServerPages";

or
my $WMI_Class = "Win32_PerfRawData_SMTPSVC_SMTPServer";
Attachments
w32_query_W3SVC.pl.txt
Script to monitor IIS/w3svc wmi class
(5.32 KiB) Downloaded 3132 times
warenet
Cacti User
Posts: 53
Joined: Mon Feb 10, 2003 12:00 pm
Location: Southern / CA
Contact:

Thanks

Post by warenet »

Sidewinder, these scripts are pretty cool.

Any thoughts on creating one for Windows Media Services on 2003?

I'd like to be able to remotely monitor connection players and player allocated bandwidth per publishing point. Currently I'm planning on doing it via an ASP script but WMI seems much cleaner.

Lance
padonker
Posts: 4
Joined: Wed Nov 29, 2006 5:59 am

Post by padonker »

Hi, is it possible to use this to feed info to a linux cacti server? Mind you, I'm new to this and rather clueless ;)
If there are resources on how to do this, please point me in the right direction.
This question goes for all windows based queries as my cacti box is linux based

Tnx
Patrick
vyasrao
Posts: 2
Joined: Fri Mar 02, 2007 6:52 am

Using Win32_PerfRawData_ASP_ActiveServerPages

Post by vyasrao »

Using Win32_PerfRawData_ASP_ActiveServerPages, I can return the
currentConnection count for ROOT

suppose i have a web service named IPAAP,
how do i return currentConection for IPAAP


plz help
Regards,
Vyas
nortuas
Posts: 10
Joined: Fri Jan 11, 2013 4:02 am

Re: Windows IIS/W3SVC script

Post by nortuas »

Please,

This Script doesn't work on 2008 servers.

Someone knows why ?

Thanks,

nortuas
nortuas
Posts: 10
Joined: Fri Jan 11, 2013 4:02 am

Re: Windows IIS/W3SVC script

Post by nortuas »

Nobody ?
Dan5ielle
Posts: 8
Joined: Sat Jan 19, 2013 2:22 am

Re: Windows IIS/W3SVC script

Post by Dan5ielle »

The script can be modified to get values for other IIS counters by changing the following line in the script to a different WMI class.
Image
Image
Image
Image
Image
nortuas
Posts: 10
Joined: Fri Jan 11, 2013 4:02 am

Re: Windows IIS/W3SVC script

Post by nortuas »

Thank you for your response but I can't see your uploaded images :(
nortuas
Posts: 10
Joined: Fri Jan 11, 2013 4:02 am

Re: Windows IIS/W3SVC script

Post by nortuas »

Thanks but I have this message :
We are sorry, but you are not authorised to use this feature. You may have just registered here and may need to participate more to be able to use this feature.


EDIT :

It's ok now, can ou re-send to me ?
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest