Aller au contenu principal

MongoDB

Prerequisites

Centreon Plugin

Install this plugin on each needed poller:

yum install centreon-plugin-Applications-Databases-Mongodb

Centreon Configuration

Create a new server postgresql

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-DB-Mongodb-custom

Click "Save" button.

Host Macro Configuration

The following macros must be configured on host:

MacroDescriptionDefault value
MONGODBPORTPort used to connect to the MongoDB instance27017
MONGODBUSERNAMEThe MongoDB username
MONGODBPASSWORDThe MongoDB password