Microsoft Active Directory WSMAN
Pack Assets​
Templates​
The Centreon Pack Active Directory WSMAN brings 1 host template:
- App-ActiveDirectory-WSMAN-custom
It brings the following service templates:
Service Alias | Service Template | Service Description | Default | Discovery |
---|---|---|---|---|
Dcdiag | App-ActiveDirectory-Dcdiag-WSMAN | This check diagnose the domain controller. It executes the command dcdiag . | X |
Collected metrics & status​
- Dcdiag
Metric Name | Unit |
---|---|
domain controller status |
Prerequisites​
To monitor Active Directory, please follow our official documentation and make sure that WinRM and all rights are properly configured.
Setup​
- Online License
- Offline License
- Install the Centreon package on every Centreon poller expected to monitor Active Directory WSMAN resources:
yum install centreon-plugin-Applications-ActiveDirectory-Wsman
- On the Centreon web interface, install the Active Directory WSMAN Centreon Pack on the Configuration > Monitoring Connector Manager page.
- Install the Centreon package on every Centreon poller expected to monitor Active Directory WSMAN resources:
yum install centreon-plugin-Applications-ActiveDirectory-Wsman
- Install the Active Directory WSMAN Centreon Pack RPM on the Centreon Central server:
yum install centreon-pack-applications-active-directory-wsman
- On the Centreon web interface, install the Active Directory WSMAN Centreon Pack on the Configuration > Monitoring Connector Manager 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 Active Directory WSMAN server's settings.
- Apply the App-ActiveDirectory-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_activedirectory_wsman.pl \
--plugin=apps::microsoft::activedirectory::wsman::plugin \
--mode=dcdiag \
--hostname=10.0.0.1 \
--wsman-scheme=http \
--wsman-port=5985 \
--wsman-username='' \
--wsman-password=''
The expected command output is shown below:
OK: Connectivity - Advertising - DFSREvent - SysVolCheck - KccEvent - MachineAccount - Replications - RidManager - Services - FsmoCheck
All available options for a given mode can be displayed by adding the
--help
parameter to the command:
/usr/lib/centreon/plugins/centreon_activedirectory_wsman.pl \
--plugin=apps::microsoft::activedirectory::wsman::plugin \
--mode=dcdiag \
--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_activedirectory_wsman.pl \
--plugin=apps::microsoft::activedirectory::wsman::plugin \
--list-mode
Troubleshooting​
Please find the troubleshooting documentation for Centreon Plugins typical issues.