Skip to content

Latest commit

 

History

History
53 lines (35 loc) · 1.13 KB

File metadata and controls

53 lines (35 loc) · 1.13 KB

Nodes

Description

This module aims to automatically register Poller servers as Gorgone nodes, in opposition to the register module.

For now, nodes can be registered as SSH nodes or ZMQ nodes.

Configuration

No specific configuration.

Example

name: nodes
package: "gorgone::modules::centreon::nodes::hooks"
enable: true

Events

Event Description
CENTREONNODESREADY Internal event to notify the core

API

Synchronize centreon nodes configuration

Endpoint Method
/centreon/nodes/sync POST

Headers

Header Value
Accept application/json
Content-Type application/json

Body

No parameters.

Example

curl --request POST "https://hostname:8443/api/centreon/nodes/sync" \
  --header "Accept: application/json" \
  --header "Content-Type: application/json" \
  --data "{}"