Cacti (home)ForumsDocumentation
Cacti: offical forums and support
It is currently Thu Jun 27, 2019 5:48 am

All times are UTC - 5 hours




Post new topic Reply to topic  [ 9 posts ] 
Author Message
 Post subject: Windows IIS/W3SVC script
PostPosted: Wed Dec 17, 2003 7:12 pm 
Offline
Cacti User

Joined: Sat Dec 06, 2003 12:44 pm
Posts: 66
Location: Winchester, MA
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:
File comment: Script to monitor IIS/w3svc wmi class
w32_query_W3SVC.pl.txt [5.32 KiB]
Downloaded 2961 times
Top
 Profile  
 
 Post subject: Thanks
PostPosted: Mon Jun 21, 2004 1:34 pm 
Offline
Cacti User

Joined: Mon Feb 10, 2003 12:00 pm
Posts: 53
Location: Southern / CA
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


Top
 Profile  
 
 Post subject:
PostPosted: Wed Nov 29, 2006 6:01 am 
Offline

Joined: Wed Nov 29, 2006 5:59 am
Posts: 4
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


Top
 Profile  
 
 Post subject: Using Win32_PerfRawData_ASP_ActiveServerPages
PostPosted: Wed Mar 07, 2007 4:26 am 
Offline

Joined: Fri Mar 02, 2007 6:52 am
Posts: 2
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


Top
 Profile  
 
 Post subject: Re: Windows IIS/W3SVC script
PostPosted: Mon Jan 14, 2013 10:31 am 
Offline

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

This Script doesn't work on 2008 servers.

Someone knows why ?

Thanks,

nortuas


Top
 Profile  
 
 Post subject: Re: Windows IIS/W3SVC script
PostPosted: Thu Jan 17, 2013 3:46 am 
Offline

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


Top
 Profile  
 
 Post subject: Re: Windows IIS/W3SVC script
PostPosted: Sat Jan 19, 2013 2:36 am 
Offline

Joined: Sat Jan 19, 2013 2:22 am
Posts: 8
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


Top
 Profile  
 
 Post subject: Re: Windows IIS/W3SVC script
PostPosted: Sun Jan 20, 2013 8:14 am 
Offline

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


Top
 Profile  
 
 Post subject: Re: Windows IIS/W3SVC script
PostPosted: Thu Jan 24, 2013 3:08 pm 
Offline

Joined: Fri Jan 11, 2013 4:02 am
Posts: 10
Thanks but I have this message :

Quote:
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 ?


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 9 posts ] 

All times are UTC - 5 hours


Who is online

Users browsing this forum: Google Adsense [Bot] and 6 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  

Protected by Anti-Spam ACP Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group