History | Log In     View a printable version of the current page.  
Hyperic HQ 3.2.5-EE Maintenance Release is Now Available
Issue Details (XML | Word | Printable)

Key: HHQ-1844
Type: Bug Bug
Status: Closed Closed
Resolution: Fixed
Priority: Minor Minor
Assignee: Doug MacEachern
Reporter: Doug MacEachern
Votes: 0
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
Hyperic HQ

IIS plugin auto-discovers deleted VHosts

Created: 18/Mar/08 01:19 PM   Updated: 15/May/08 08:40 AM
Component/s: Plugins
Affects Version/s: None
Fix Version/s: 4.0.0, 3.2.3

Verify By: Ilaya Perumal
Last comment: 25 weeks, 4 days ago
Resolution Date: 25/Mar/08 11:47 AM


 Description  « Hide
The IIS plugin auto-discovers VHosts (Web Sites) using instances of the "Web Service" performance object (as seen in perfmon.exe).
When a web site is deleted using IIS admin the instance is not removed (may require restart or reload of the counters), so the server continues to be auto-discovered.

 All   Comments   Change History      Sort Order: Ascending order - Click to sort in descending order
Doug MacEachern - 18/Mar/08 01:35 PM
Fixed for 3.2.2 and 4.0.0
The plugin will not report the service unless it exists in the MetaBase.

Ilaya Perumal - 23/Mar/08 11:12 AM
The deleted IIS VHost still gets auto-discovered even after being deleted from the inventory.

Verified with following test environment:
Agent build: hyperic-hq-agent-3.2.2-EE-647-win32
HQ Server build: 3.2.2.-EE-646
IIS version: IIS 6.x
Steps followed to verify the issue:

1) Added a new web site using IIS Manager
2) Have it auto discovered by the agent and this service is added to the inventory.
3) Deleted the web site using IIS Manager
4) Deleted the service from HQ inventory
5) After the agent restart, the deleted website is still auto-discovered.

Thanks!

Doug MacEachern - 24/Mar/08 01:25 PM
Which version of windows?
Can you attach the output of the following command after the website is added and after it has been deleted:

.\jre\bin\java -jar pdk\lib\hq-product.jar -Dplugins.include=iis -m discover

Ilaya Perumal - 25/Mar/08 10:18 AM
The Windows version is Microsoft Windows 2003 Server.

After adding a new website(WebTest) to IIS , following is the output:

E:\hyperic-hq-agent-3.2.2-EE>.\jre\bin\java -jar pdk\lib\hq-product.jar -Dplugin
s.include=iis -m discover
1 servers detected

Server: vmwin-004 IIS 6.x [C:\WINDOWS\system32]
 AIID.....C:\WINDOWS\system32
 config...
 product..{service_name=W3SVC}
 metric...{}
 control..{}
 cprops...{version=6.0}

Runtime Resource Report...
Platform=Win32, fqdn=vmwin-004.intranet.hyperic.net (Microsoft Windows 2003)
config...
product..null
metric...{platform.log_track.level=Warn, platform.config_track.enable=true, plat
form.log_track.enable=true, platform.log_track.eventlogs=System}
control..null
cprops...{vendorVersion=2003, secondaryDNS=216.93.170.17, primaryDNS=10.0.0.11,
defaultGateway=10.0.0.1, vendor=Microsoft, arch=x86, ram=512 MB, ip=10.0.0.74, c
puSpeed=3205 MHz, version=5.2}
  vmwin-004 IIS 6.x services:
    vmwin-004 IIS 6.x Default Web Site
     config...
     product..{}
     metric...{protocol=http, iishost=Default Web Site, sotimeout=10, ssl=false,
 hostname=localhost, path=/, port=80}
     control..null
     cprops...{docroot=c:\inetpub\wwwroot}
     rt.......null
    vmwin-004 IIS 6.x WebTest
     config...
     product..{}
     metric...{protocol=http, iishost=WebTest, sotimeout=10, ssl=false, hostname
=localhost, path=/, port=80}
     control..null
     cprops...{docroot=C:\IISTest}
     rt.......null

After deleting the website(WebTest) :

E:\hyperic-hq-agent-3.2.2-EE>.\jre\bin\java -jar pdk\lib\hq-product.jar -Dplugin
s.include=iis -m discover
1 servers detected

Server: vmwin-004 IIS 6.x [C:\WINDOWS\system32]
 AIID.....C:\WINDOWS\system32
 config...
 product..{service_name=W3SVC}
 metric...{}
 control..{}
 cprops...{version=6.0}

Runtime Resource Report...
Platform=Win32, fqdn=vmwin-004.intranet.hyperic.net (Microsoft Windows 2003)
config...
product..null
metric...{platform.log_track.level=Warn, platform.config_track.enable=true, plat
form.log_track.enable=true, platform.log_track.eventlogs=System}
control..null
cprops...{vendorVersion=2003, secondaryDNS=216.93.170.17, primaryDNS=10.0.0.11,
defaultGateway=10.0.0.1, vendor=Microsoft, arch=x86, ram=512 MB, ip=10.0.0.74, c
puSpeed=3205 MHz, version=5.2}
  vmwin-004 IIS 6.x services:
    vmwin-004 IIS 6.x Default Web Site
     config...
     product..{}
     metric...{protocol=http, iishost=Default Web Site, sotimeout=10, ssl=false,
 hostname=localhost, path=/, port=80}
     control..null
     cprops...{docroot=c:\inetpub\wwwroot}
     rt.......null
    vmwin-004 IIS 6.x WebTest
     config...
     product..null
     metric...null
     control..null
     rt.......null

Doug MacEachern - 25/Mar/08 11:47 AM
Good catch, fixed now and marked for 3.2.3

Ilaya Perumal - 15/Apr/08 07:59 AM
The deleted IIS V-Hosts are not auto-discovered now.

Thanks!