Windows WSMAN
Pack Assetsβ
Templatesβ
The Centreon Plugin Pack Windows WSMAN brings 1 host template:
- OS-Windows-WSMAN-custom
It brings the following service templates:
Service Alias | Service Template | Service Description | Default | Discovery |
---|---|---|---|---|
Cpu | OS-Windows-Cpu-WSMAN | Check the rate of utilization of CPU for the machine. This check can give the average CPU utilization rate and the rate per CPU for multi-core CPUs | X | |
Disk-Global | OS-Windows-Disk-Global-WSMAN | Check the rate of free space on the disk. For each checks the name of the disk will appear | X | |
Files-Date-Generic | OS-Windows-Files-Date-Generic-WSMAN | Check time | ||
Files-Size-Generic | OS-Windows-Files-Size-Generic-WSMAN | Check size of files | ||
Memory | OS-Windows-Memory-WSMAN | Check the rate of the utilization of memory | X | |
Ntp | OS-Windows-Ntp-WSMAN | Check the synchronization with an NTP server | ||
Pending-Reboot | OS-Windows-Pending-Reboot-WSMAN | Check windows pending reboot | ||
Process-Global | OS-Windows-Process-Global-WSMAN | Check if Windows processes are started | X | |
Service-Generic | OS-Windows-Service-Generic-WSMAN | Check if Windows services are started | X | |
Services-Auto | OS-Windows-Services-Auto-WSMAN | Check if Windows services are started | X | |
Sessions | OS-Windows-Sessions-WSMAN | Check Windows user sessions | ||
Swap | OS-Windows-Swap-WSMAN | Check the rate of the utilization of virtual memory | X | |
Traffic-Global | OS-Windows-Traffic-Global-WSMAN | Check the bandwidth of the interface. For each checks the name of the interface will appear | X | |
Updates | OS-Windows-Updates-WSMAN | Check windows pending updates | ||
Uptime | OS-Windows-Uptime-WSMAN | Check the uptime of the Windows server since the last reboot. It's just an indication with no threshold |
Discovery rulesβ
Rule Name | Description |
---|---|
OS-Windows-WSMAN-Disk-Name | Discover the disk partitions and monitor space occupation |
OS-Windows-WSMAN-Processes-Name | Discover processes and monitor their system usage |
OS-Windows-WSMAN-Services-Name | Discover services and monitor their system usage |
OS-Windows-WSMAN-Traffic-Name | Discover network interfaces and monitor bandwidth utilization |
Collected metrics & statusβ
- Cpu
- Disk-Global
- Files-Date-Generic
- Files-Size-Generic
- Memory
- Ntp
- Pending-Reboot
- Process-Global
- Sessions
- Swap
- Traffic-Global
- Updates
- Uptime
Metric Name | Unit |
---|---|
cpu.utilization.percentage | % |
cpu_core#core.cpu.utilization.percentage | % |
Metric Name | Unit |
---|---|
storages.detected.count | count |
storages#storage.space.usage.bytes | B |
storages#storage.space.free.bytes | B |
storages#storage.space.usage.percentage | % |
Metric Name | Unit |
---|---|
file.mtime.last.seconds | s |
Metric Name | Unit |
---|---|
file.size.bytes | B |
Metric Name | Unit |
---|---|
memory.usage.bytes | B |
memory.free.bytes | B |
memory.usage.percentage | % |
Metric Name | Unit |
---|---|
time.offset.seconds | s |
Metric Name | Unit |
---|---|
status | string |
Metric Name | Unit |
---|---|
processes.detected.count | count |
Metric Name | Unit |
---|---|
sessions.active.current.count | count |
sessions.created.total.count | count |
sessions.disconnected.total.count | count |
sessions.disconnected.current.count | count |
sessions.reconnected.total.count | count |
Metric Name | Unit |
---|---|
files#page.space.usage.bytes | B |
files#page.space.free.bytes | B |
files#page.space.usage.percentage | % |
Metric Name | Unit |
---|---|
interfaces#interface.packets.in.discard.count | count |
interfaces#interface.packets.in.error.count | count |
interfaces#interface.traffic.in.bitspersecond | B/s |
interfaces#interface.packets.out.discard.count | count |
interfaces#interface.packets.out.error.count | count |
interfaces#interface.traffic.out.bitspersecond | B/s |
Metric Name | Unit |
---|---|
windows.pending.updates.count |
Metric Name | Unit |
---|---|
uptime | s |
Prerequisitesβ
To monitor Windows Servers through WSMAN, please follow our official documentation and make sure that WinRM and all rights are properly configured.
Setupβ
- Online License
- Offline License
Install the Centreon plugin package on every Centreon poller expected to monitor Windows WSMAN resources:
yum install centreon-plugin-Operatingsystems-Windows-Wsman
On the Centreon web interface, install the Windows WSMAN Centreon Plugin Pack on the Configuration > Plugin Packs page.
Install the Centreon plugin package on every Centreon poller expected to monitor Windows WSMAN resources:
yum install centreon-plugin-Operatingsystems-Windows-Wsman
Install the Windows WSMAN Centreon Plugin Pack RPM on the Centreon Central server:
yum install centreon-pack-operatingsystems-windows-wsman
On the Centreon web interface, install the Windows WSMAN Centreon Plugin Pack on the Configuration > Plugin Packs page.
Configurationβ
Hostβ
- Log into Centreon and add a new host through Configuration > Hosts.
- Fill the Name, Alias and IP Address/DNS fields according to your Windows WSMAN server's settings.
- Apply the OS-Windows-WSMAN-custom template to the host.
- Once the template is applied, fill in the corresponding macros. Some macros are mandatory.
Mandatory | Macro | Description |
---|---|---|
WSMANEXTRAOPTIONS | Any extra option you may want to add to every command line (eg. a --verbose flag) | |
WSMANPASSWORD | ||
WSMANPORT | 5985 | |
WSMANPROTO | http | |
WSMANUSERNAME |
How to check in the CLI that the configuration is OK and what are the main options for?β
Once the plugin is installed, log into your Centreon Poller's CLI using the
centreon-engine user account (su - centreon-engine
) and test the plugin by
running the following command:
/usr/lib/centreon/plugins//centreon_windows_wsman.pl \
--plugin=os::windows::wsman::plugin \
--mode=uptime \
--hostname=10.0.0.1 \
--wsman-scheme=http \
--wsman-port=5985 \
--wsman-username='' \
--wsman-password='' \
--warning='' \
--critical='' \
--use-new-perfdata
The expected command output is shown below:
OK: | System uptime is: 53m 15s | 'system.uptime.seconds'=3195s;;;0;
All available options for a given mode can be displayed by adding the
--help
parameter to the command:
/usr/lib/centreon/plugins//centreon_windows_wsman.pl \
--plugin=os::windows::wsman::plugin \
--mode=uptime \
--help
All available options for a given mode can be displayed by adding the
--list-mode
parameter to the command:
/usr/lib/centreon/plugins//centreon_windows_wsman.pl \
--plugin=os::windows::wsman::plugin \
--list-mode
Troubleshootingβ
Please find all the troubleshooting documentation for the Centreon Plugins in the dedicated page.