Skip to content

Commit 2cf27c9

Browse files
author
Yann MAHE
committed
[wmi_check][iis] unmute various exceptions πŸ”Š
Unmute WMI `com_errors` exceptions related to an invalid `provider` option or WMI class.
1 parent 41788f9 commit 2cf27c9

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

β€Žchecks.d/iis.pyβ€Ž

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ def check(self, instance):
8383
self.CLASS, properties,
8484
filters=filters,
8585
host=host, namespace=self.NAMESPACE, provider=provider,
86-
username=user, password=password
86+
username=user, password=password, mute=False
8787
)
8888

8989
# Sample, extract & submit metrics

β€Žchecks.d/wmi_check.pyβ€Ž

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ def check(self, instance):
5050
wmi_class, properties,
5151
tag_by=tag_by, filters=filters,
5252
host=host, namespace=namespace, provider=provider,
53-
username=username, password=password,
53+
username=username, password=password, mute=False
5454
)
5555

5656
# Sample, extract & submit metrics

0 commit comments

Comments
Β (0)