Questions tagged [centreon-api]
14 questions
1
vote
2 answers
how to convert this curl command to PowerShell
I am using PowerShell and want to convert this curl command in PowerShell. It works well in bash
curl -s -H 'X-AUTH-TOKEN:'09f4a92e8fbfc9f9f530771ac32d37a1'' -H "Content-Type: application/json" -X GET…

Adolf Ku
- 21
- 1
0
votes
0 answers
Centreon 23.04, Update host via API
it's possible to edit host details via Centreon 23.04 API? Especially i would like to update GPS coordinates.
I reead documentation centreon API v2 and look on relative Postman collection but i not found any endpoint to host update.
I'm not here to…

Lac
- 1
0
votes
0 answers
Can't Install the Centreon Plugin
I have this error :
An error occured while installing the following plugin pack :
virtualization-vmware2-esx Reason: Cannot get id of parent template generic-active-service-custom
So the following plugin pack were not processed +…
0
votes
1 answer
All hosts and services Status in the top counter and the monitoring page flapping to UNKNOWN then back to normal every few minutes
Eric here,
I did a fresh install of Centreon 21.10.8, with a Central and Database server.
Soon after adding hosts and services to be monitored, I noticed that the status of hosts and services go to UNKNOWN for a few seconds (about 5s to 10s) before…

uneric1
- 11
- 4
0
votes
1 answer
Centreon - missing part of output in Resource Status Information column
i have created simple script that uses nmap to collect data from host.
here is the script:
#!/bin/bash
# Return codes:
STATE_OK=0
STATE_WARNING=1
STATE_CRITICAL=2
STATE_UNKNOWN=3
while test $# -ne 0; do
case "$1" in
-H)
…

Tomislav Balaž
- 35
- 6
0
votes
1 answer
The centreon poller does not run after exporting the configuration
I want to connect my poller to start monitoring. Unfortunately when exporting the configuration, the poller does not start running
View no executed poller (NON)
I tried to change the IP of the poller, restart the gorgon services of the two…

TORN16
- 1
- 2
0
votes
1 answer
Can't show file configuration Poller in Centreon
I have a problem with centreon when i would like add a Poller. I don't have touch the gorgone file on the central server
Error MSG
I reinstalled the poller and still the same problem, I think it comes from the server
the service gorgoned is running…

TORN16
- 1
- 2
0
votes
1 answer
Centreon web API v2 endpoints return 500 - No route found
I run centreon 21.04 in a VM for some tests.
I imported the Centreon REST API v2 collection into Postman as described here.
Some endpoints work like:
POST /login
GET /logout
GET /configuration/icons
GET /monitoring/acknowledgements
GET…

Mathieu Rollet
- 2,016
- 2
- 18
- 31
0
votes
1 answer
MariaDB : Help a noobie to use timerange
I don't know a lot about MyQSL.
Here is my code (to extract code from a monitoring tool)
SELECT DISTINCT
FROM_UNIXTIME(data_bin.ctime), index_data.host_name, index_data.service_description, metrics.metric_name, data_bin.value
FROM…

AnulomaViloa
- 1
- 2
0
votes
1 answer
Why Python library import doesn't work via NRPE
I'm developing plugin Nrpe in Python.
When i try to execute my code it works well on my machine. But when the NRPE execute it, an error occurs : 'No Module named pycurl'
I'm working on CentOs6.10 with Python 3.4 and i've installed pycurl with…

Raihan
- 1
0
votes
2 answers
Summary status of a group of hosts in Centreon
It may be a stupid question when you know Centron, but I'm very new to it.
I'm trying to determine if it is possible, with Centreon, to do the following:
Create a group of hosts (OK for me)
Have a service for each host with a simple check (e.g.…

Laurent C.
- 196
- 1
- 9
0
votes
1 answer
Is there a possibility for configurating via CLI and not by web interfaces for installing Centreon?
I am trying to use only CLI to install centreon, I don't want to use the web interface. ( I am trying to create an Ansible role who install centreon)
Is there a methode to do the web interface part via CLI ?

Hasoke
- 1
- 2
0
votes
3 answers
Use GLPI or Centreon on ADFS or Azure AD Proxy
I am currently looking to connect ADFS with GLPI or Centreon , but I found that I can't because these two apps don't use SAML .
I am now focused on how can I connect GLPI or Centreon to Azure AD using Application Proxy to authenticate with tenant…

Irino
- 1
- 2
-1
votes
1 answer
Install centreon on centos7.9 raspberrypi
How guys, can you help me I have problem with install centreon:
#yum install centreon-base-config-centreon-engine centreon
output
Loading mirror speeds from cached hostfile
base: mirror.vpsnet.com
centos-kernel: mirror.vpsnet.com
extras:…

keca13
- 52
- 6