wmi

package
v0.19.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 8, 2020 License: GPL-3.0 Imports: 11 Imported by: 0 modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

README

Windows machine monitoring with Netdata

This module will monitor one or more Windows machines, using the wmi_exporter.

Module collects metrics from following collectors:

  • cpu
  • memory
  • net
  • logical_disk
  • os
  • system
  • logon

Run wmi_exporter with these collectors:

wmi-exporter-0.9.0-386.exe --collectors.enabled="cpu,memory,net,logical_disk,os,system,logon"

Installation: please follow official guide.

Charts

cpu
  • Total CPU Utilization (all cores) in percentage
  • Received and Serviced Deferred Procedure Calls (DPC) in dpc/c
  • Received and Serviced Hardware Interrupts in interrupts/s
  • CPU Utilization Per Core in percentage
  • Time Spent in Low-Power Idle State Per Core in percentage
memory
  • Memory Utilization in KiB
  • Memory Page Faults in events/s
  • Swap Utilization in KiB
  • Swap Operations in operations/s
  • Swap Pages in pages/s
  • Cached Data in KiB
  • Cache Faults in events/s
  • System Memory Pool in KiB
network
  • Bandwidth Per NIC in kilobits/s
  • Packets Per NIC in packets/s
  • Errors Per NIC in errors/s
  • Discards Per NIC in discards/s
disk
  • Utilization Per Disk in KiB
  • Bandwidth Per Disk in KiB/s
  • Operations Per Disk in operations/s
  • Average Read/Write Latency Disk in milliseconds
system
  • Processes in number
  • Threads in number
  • Uptime in seconds
logon
  • Active User Logon Sessions By Type in sessions

Configuration

Edit the go.d/wmi.conf configuration file using edit-config from the your agent's config directory, which is typically at /etc/netdata.

cd /etc/netdata # Replace this path with your Netdata config directory
sudo ./edit-config go.d/wmi.conf

Needs only url to wmi_exporter metrics endpoint. Here is an example for 2 instances:

jobs:
  - name : win_server1
    url  : http://203.0.113.10:9182/metrics

  - name : win_server2
    url  : http://203.0.113.11:9182/metrics

For all available options please see module configuration file.

Troubleshooting

Check the module debug output. Run the following command as netdata user:

./go.d.plugin -d -m wmi

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Chart

type Chart = module.Chart

Chart is an alias for module.Chart

type Charts

type Charts = module.Charts

Charts is an alias for module.Charts

type Config

type Config struct {
	web.HTTP `yaml:",inline"`
}

Config is the WMI module configuration.

type Dim

type Dim = module.Dim

Dim is an alias for module.Dim

type Dims

type Dims = module.Dims

Dims is an alias for module.Dims

type Opts

type Opts = module.DimOpts

Dim is an alias for module.Dim

type Vars

type Vars = module.Vars

Vars is an alias for module.Vars

type WMI

type WMI struct {
	module.Base
	Config `yaml:",inline"`
	// contains filtered or unexported fields
}

WMI WMI module.

func New

func New() *WMI

New creates WMI with default values.

func (WMI) Charts

func (w WMI) Charts() *Charts

func (WMI) Check

func (w WMI) Check() bool

func (WMI) Cleanup

func (WMI) Cleanup()

func (*WMI) Collect

func (w *WMI) Collect() map[string]int64

func (*WMI) Init

func (w *WMI) Init() bool

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL