Monitoring IIS (users)

Post support questions that relate to the Windows 2003/2000/XP operating systems.

Moderators: Developers, Moderators

Post Reply
Freaken
Posts: 2
Joined: Tue Jan 18, 2005 6:39 pm

Monitoring IIS (users)

Post by Freaken »

Hi all,

I would like to monitor several IIS servers. I tried to use the w32_iis_query_w3svc.pl script (found in the forum), but it gives me a graph based on -1 data. When I execute the perl script manually I get to see a good response. I read http://forums.cacti.net/viewtopic.php?t=4371 very carefully, and "googled" a lot.

My Config:
W2K Server
IIS
Cacti 0.8.6
PHP 5.0.3
rrdtool 1.0.48

Anybody any ideas, suggestions or solutions ?

Thanks in advance,

Vincent
User avatar
BSOD2600
Cacti Moderator
Posts: 12171
Joined: Sat May 08, 2004 12:44 pm
Location: USA

Post by BSOD2600 »

Sounds like a possible permission problem.

I'm running this script just fine under a normal user account on my server. Course, I am running it locally, instead of across the network.

When you say but it gives me a graph based on -1 data., how did you run it?
Freaken
Posts: 2
Joined: Tue Jan 18, 2005 6:39 pm

Monitoring IIS (users

Post by Freaken »

Hi,

I'm a bit further with the solution now, I modified the w32_iis_query_w3svc.pl file with to following:
Original:
my $Win32_Class = "Win32_PerfFormattedData_W3SVC_WebService";

Modified:
my $Win32_Class = "Win32_PerfRawData_W3SVC_WebService";

So the collecting of data goes well...


But, I changed the following in the "IIS - WWW Connections" data template:
In the custom data field, uncheck the "Host name" and the "Instance Name" and change it to "IP-Adres of your webserver" and "_Total" (collects al websites running).

So now I can static receive data from one webserver (not the different site on it). I think it has to do something with the "Data Input Method".
The settings of my "IIS - W3SVC Connections"-Data input message is as follows:
Input type: Script/Command
Input string: perl <path_cacti>/scripts/w32_iis_query_w3svc.pl <hostname> get CurrentConnections,CurrentAnonymousUsers,CurrentNonAnonymousUsers <instance>

It should work, but it doesnt, any ideas ?

Thanks in advance,

Vincent
Post Reply

Who is online

Users browsing this forum: No registered users and 3 guests