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
Monitoring IIS (users)
Moderators: Developers, Moderators
Monitoring IIS (users
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
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
Who is online
Users browsing this forum: No registered users and 0 guests