|
|
|
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! 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 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 Good catch, fixed now and marked for 3.2.3
The deleted IIS V-Hosts are not auto-discovered now.
Thanks! |
|||||||||||||||||||||||||||||||||||||||||||||
The plugin will not report the service unless it exists in the MetaBase.