Aller au contenu principal

Microsoft Active Directory NSClient++ API

Hello community! We're looking for a contributor to help us translate this page into French and provide a sample execution command. If it's you, let us know and ping us on our community platform The Watch.

Overview​

This Monitoring Connector monitors AD Domain Controller using local commands and the Centreon NSClient++ API to trigger their executions remotely.

Pack assets​

Monitored objects​

  • Active Directory domain controller, including:
    • Netdom connectivity
    • dfsr backlog
    • dcdiag

Collected metrics​

Coming soon

Prerequisites​

Centreon NSClient++​

To monitor an Active Directory domain controller through NSClient++ API, install the Centreon packaged version of the NSClient++ agent. Please follow our official documentation and make sure that the Webserver / RESTApi configuration is correct.

Installation​

  1. Install the Centreon package on every Centreon Poller expected to monitor AD Domain controller using REST API:
yum install centreon-plugin-Operatingsystems-Windows-Restapi
  1. On the Centreon Web interface, install the Active Directory API Centreon Pack on the Configuration > Monitoring Connector Manager page

Host configuration​

  • Log into Centreon and add a new Host through Configuration > Hosts.
  • Apply the Infra-ActiveDirectory-NSClient-05-Restapi-custom template and configure all the mandatory Macros:
MandatoryNameDescription
XNSCPRESTAPIPORTPort of the REST API NSclient++ (default: 8443)
XNSCPRESTAPIPROTOProtocol used (default: https)
XNSCPRESTAPILEGACYPASSWORDPassword used (configured in the prerequisites section)
NSCPRESTAPIEXTRAOPTIONSAny extra option you may want to add to the command (eg. a --verbose flag)