Windows IIS/W3SVC script

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

Moderators: Moderators, Developers

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

Windows IIS/W3SVC script

#1 Post by sidewinder » Wed Dec 17, 2003 7:12 pm

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 3055 times

warenet
Cacti User
Posts: 53
Joined: Mon Feb 10, 2003 12:00 pm
Location: Southern / CA
Contact:

Thanks

#2 Post by warenet » Mon Jun 21, 2004 1:34 pm

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

#3 Post by padonker » Wed Nov 29, 2006 6:01 am

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

#4 Post by vyasrao » Wed Mar 07, 2007 4:26 am

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

#5 Post by nortuas » Mon Jan 14, 2013 10:31 am

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

#6 Post by nortuas » Thu Jan 17, 2013 3:46 am

Nobody ?

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

Re: Windows IIS/W3SVC script

#7 Post by Dan5ielle » Sat Jan 19, 2013 2:36 am

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

#8 Post by nortuas » Sun Jan 20, 2013 8:14 am

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

#9 Post by nortuas » Thu Jan 24, 2013 3:08 pm

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