Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Need to convert the error log to at least warning if not info - no instances found in W3SVC_W3WP or W3SVC_W3WP_IIS8 - skipping collection #975

Closed
chavalikesavanand opened this issue Apr 19, 2022 · 2 comments · Fixed by #1015

Comments

@chavalikesavanand
Copy link

The following error logs Cluttering windows event logs - Need to convert the error log to at least warning if not info

  1. no instances found in W3SVC_W3WP - skipping collection.
  2. no instances found in W3SVC_W3WP_IIS8 - skipping collection.
    File iis.go - line numbers 1344 and 1600
@aa-matthias
Copy link

aa-matthias commented May 16, 2022

is there a way to disable stats of the web service cache? I'm experiencing this error as well.

$strComputer = "."

$objWMi = get-wmiobject -computername localhost -Namespace root\CIMV2 -Query "Select * from Win32_PerfRawData_W3SVC_WebServiceCache"

foreach ($obj in $objWmi)
{

	write-host "Name:" $obj.Name

}

results in:

Name:

@chavalikesavanand
Copy link
Author

Any updates on this please?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants