Skip to content

Commit b01e734

Browse files
committed
update docs
1 parent a0595a0 commit b01e734

File tree

2 files changed

+8
-2
lines changed

2 files changed

+8
-2
lines changed

docs/checks/commands/check_wmi.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,9 @@ title: wmi
66

77
Check status and metrics by running wmi queries.
88

9+
In order to use this plugin, you need to enable 'CheckWMI' in the '[/modules]' section of the snclient_local.ini.
10+
11+
912
- [Examples](#examples)
1013
- [Argument Defaults](#argument-defaults)
1114

pkg/snclient/check_wmi.go

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,8 +28,11 @@ func NewCheckWMI() CheckHandler {
2828

2929
func (l *CheckWMI) Build() *CheckData {
3030
return &CheckData{
31-
name: "check_wmi",
32-
description: "Check status and metrics by running wmi queries.",
31+
name: "check_wmi",
32+
description: `Check status and metrics by running wmi queries.
33+
34+
In order to use this plugin, you need to enable 'CheckWMI' in the '[/modules]' section of the snclient_local.ini.
35+
`,
3336
implemented: Windows,
3437
args: map[string]CheckArgument{
3538
"query": {value: &l.query, description: "The WMI query to execute"},

0 commit comments

Comments
 (0)