W32 IIS W3SVC Perl Script via WMI

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

Moderators: Developers, Moderators

kevinsonney
Posts: 4
Joined: Mon Aug 29, 2005 1:23 pm

Scripts runs from command line but gives parial results

Post by kevinsonney »

I'm able to run perl M:/Apache/Apache2/htdocs/scripts/w32_iis_query_w3svc.pl 10.100.0.7 get CurrentConnections,CurrentAnonymousUsers,CurrentNonAnonymousUsers Default website

from the command line without problems but when cactid runs it gives WARNING: Result from SCRIPT not valid. Partial Result: ...

Any ideas?
jengstro
Cacti User
Posts: 156
Joined: Tue Nov 15, 2005 12:14 pm

Post by jengstro »

I get the same error...
[size=75]Cacti - 0.8.6h + patches
PHP - 5.1.2
ZendOptimizer - 2.6.2
FastCGI - 0.6
MySQL - 4.1.15
Cactid - 0.8.6g
rrdtool - 1.2.x
IIS6[/size]
kevinsonney
Posts: 4
Joined: Mon Aug 29, 2005 1:23 pm

Figured it out

Post by kevinsonney »

Downgrade to cactid 0.8.6e and it works.

Thank god!
argon0
Cacti User
Posts: 460
Joined: Fri Mar 12, 2004 1:22 pm

Post by argon0 »

Using the CactiEZ "distro" and IIS on Win2K - will these scripts/templates work (I can get WMI running on my IIS servers)?

At the moment I am getting the Windows Logged on users via SNMP - which is a terrible measure of connections (i.e. it never changes).

Argon0
No longer a n00by, probably, by now an 0ldby

Now Head of Technology at RSCH, back to the prickly subject of Monitorring....
vyasrao
Posts: 2
Joined: Fri Mar 02, 2007 6:52 am

Instead of _Total, i need 2 put Particular Service, how do i

Post by vyasrao »

hello buddys,

i need to check the current users for a partivular service instead of _Total.
suppose my service name is 'IPAAS', how do i configure
Set WebPerf = GetObject("winmgmts:root\cimv2:Win32_PerfRawData_W3SVC_WebService.Name="'_Toal'")
to suit IPAAS,
i tried all the ways, but i didnt get the solution, plz help me out....
Regards

Vyas
jwashburn
Posts: 33
Joined: Fri Jun 09, 2006 12:56 pm

Old Post

Post by jwashburn »

Sorry for picking up so an old post, but how do I add multiple webites? I can add the default site or any other site ok, but it seems that I can only monitor one site. My web server has multiple sites on it.
jasemccarty
Posts: 1
Joined: Fri Mar 16, 2007 12:44 pm

Has anyone had success with 0.8.6h?

Post by jasemccarty »

I can't downgrade to 0.8.6e.

Has anyone had success with 0.8.6h?
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest