Aller au contenu principal

SCOM Rest API

Prerequisites

Centreon Plugin

Install this plugin on each needed poller:

yum install centreon-plugin-Applications-Monitoring-Scom-Restapi

The plugin works with SCOM 2012 and 2016 only. You need to install following module: https://gallery.technet.microsoft.com/System-Center-Operations-5d88527c

Centreon Configuration

Create a host using the appropriate template

Go to Configuration > Hosts and click Add. Then, fill the form as shown by the following table:

FieldValue
Host nameName of the host
AliasHost description
IPHost IP Address
Monitored fromMonitoring Poller to use
Host Multiple TemplatesApp-Monitoring-Scom-Restapi-custom

Click on the Save button.

Host Macro Configuration

The following macros must be configured on host:

MacroDescriptionDefault value
SCOMAPIPORTPort of the SCOM API instance80
SCOMAPIPROTOProtocol used by the SCOM APIhttp
SCOMAPIUSERNAMEUsername to access API
SCOMAPIPASSWORDPassword to access API

Click on the Save button.