Deploy Your Centreon Pollers as Containers: Join the Beta
Learn more about the Centreon Infra Monitoring.
Recently active
Hello, I’m encountering an issue when trying to retrieve the ID of a host category using the following API route: {{baseUrl}}/configuration/hosts/categories?search={"name":"X"} If the host category X is not linked to any host, the API returns an empty result. However, if I don’t use the search parameter, the API lists all my categories — including the one named X, even if it’s empty. My goal is to retrieve the ID of this category to use it in another script. As a workaround, I can fetch all categories without using the search parameter and then filter the results manually, but that requires handling pagination and parsing the entire result set, which is not ideal. I don’t understand why the category is returned when calling the endpoint without search, but not when using the search filter. To me, this behavior could be considered a bug. Has anyone experienced this before, or does someone have more information on this? Thanks in advance!
I am installing a distributed architecture for my centreon.I have a central centreon and I need to install a remote server on it (maybe in Proxy mode) and finally pollers in different locationsThe IP addresses of the central server, remote server and pollers are in different network ranges and are connected by VPNs. The VPNs allow traffic on all ports from Central to Remote and from Remote to Poller.this would be the architecture I have followed the steps in this post. But I have checked everything and I can't detect the problem.On the server I have this error in /var/log/centreon-gorgone/gorgoned.log2025-03-07 13:35:12 - DEBUG - [proxy] skip node pull target '223' for node '223' - never connected2025-03-07 13:35:12 - DEBUG - [proxy] no pathway for target '223'2025-03-07 13:35:12 - DEBUG - [proxy] skip node pull target '223' for node '223' - never connected2025-03-07 13:35:12 - DEBUG - [proxy] no pathway for target '223'Can anyone help me?THX
I’m trying to migrate an old Centreon 19.10.23 running on CentOS7 to 24.04 running on almalinux 8.I have followed the procedure here : https://docs.centreon.com/fr/docs/migrate/migrate-from-el-to-el/The problem occures during the web upgrade : 20.04.18 to 20.04.19 There is no active transactionIn the sql-error.log :2024-08-22 14:00|0|0|TokenRemoval CRON: failed to delete old tokens2024-08-22 15:00|0|0|Deleting expired refresh tokens2024-08-22 15:00|0|0|SQLSTATE[42S02]: Base table or view not found: 1146 Table 'centreon.security_authentication_tokens' doesn't exist QUERY : DELETE st FROM security_token stWHERE st.expiration_date < UNIX_TIMESTAMP(NOW())AND EXISTS ( SELECT 1 FROM security_authentication_tokens sat WHERE sat.provider_token_refresh_id = st.id AND sat.token_type = 'auto' LIMIT 1) This table does not exist.I tried to use the solution proposed here :to create the missing tables. it works fine for security_token but there’s an error when I try to create sec
I no longer have access to my administration platform
Hello,I have a problem on a Plugin apps::vmware::vsphere8::esx::plugin/usr/lib/centreon/plugins/centreon_vmware8_esx_restapi.pl --plugin=apps::vmware::vsphere8::esx::plugin --mode=power --hostname='******' --port='443' --proto='https' --esx-id='****' --username='*****' --password='*****'UNKNOWN: Undefined subroutine &centreon::plugins::misc::is_empty called at /usr/lib/centreon/plugins/centreon_vmware8_esx_restapi.pl line 839. Here's the result. Regardless of the mode, the result is always the same. FYI, I have the latest version of the plugin: centreon-plugin-Virtualization-Vmware8-ESX-Restapi-20250400-1.el9.noarchthanks you
Hi, new user here. We have deployed a centreon server only a couple of days ago and I’m trying to figure out if it covers all our needs.In particular I was tinkering with templates but seems that doesn’t work as I was expecting. I’ve created a host template with all the basic settings we need: notifications, services templates, scheduling…Now when I try to create a new host and assing this template to it, new host is inheriting only services and icon, no other fields are copied from the template.Is that supposed to work like this or I’m missing something? Thanks in advance for your attentionAlessio
Hello community o7 ! I am struggling with how to correctly write logfile name, here’s the command I tried with : bash-5.1$ /usr/lib/centreon/plugins//centreon_nsclient_restapi.pl --plugin=apps::nsclient::restapi::plugin --mode=query --hostname='X.X.X.X' --port='8443' --proto='https' --legacy-password='XXXX' --ssl-opt="SSL_verify_mode => SSL_VERIFY_NONE" --timeout=60 --command=check_logfiles --arg='--logfile="C:/Program Files/Centreon NSClient++/nsclient.log" --tag="" --criticalpattern="" --warningpattern="" ' --debugI’ve tried with differents separators : /, \, //, \\, \/, /\ but everytime I get this error message : Failed to execute check_logfiles: 2: The specified file cannot be found.======> request sendGET https://X.X.X.X:8443/query/check_logfiles?--logfile%3D%22C%3A%2FProgram%20Files%2FCentreon%20NSClient%2B%2B%2Fnsclient.log%22%20--tag%3D%22%22%20--criticalpattern%3D%22%22%20--warningpattern%3D%22%22%20[...]{"header":{"source_id":""},"payload":[{"comm
Hello everyone,I'm facing an issue while trying to use the severity level to create a ticket with a priority level in our custom ITSM system. Here's the approach I've followed so far:I've created a severity field within the categories. However, I'm stuck on the following points: It's not possible to retrieve the severity level directly from the service or host in a macro within the notification command. It's not possible to retrieve this information via command line (CLAPI v1) or REST API v1. This is preventing the creation of the ticket with the correct priority based on the severity.I'm wondering if anyone has any ideas or solutions to resolve this.I considered creating a special macro on all hosts/services, but I would prefer to use the existing setup as it is already
Bonjour,pour un besoin particulier j’ai configuré des sondes DSM rattachées à un host.Dans la conf DSM j’ai service template base qui est un service passif, dans lequel est défini une commande et un check freshness afin de libérer les slots pour de nouvelles alarmes et éviter qu’elles ne s’empilent en DB. Le check freshness n’est pas lancé toutes les 30s comme attendu.Bien évidemment j’ai modifié la durée du clean_locks_time et clean_locks_keep_stored dans centreon_dsmd.pm à 10s chacun.centreon-dsm-client-23.10.3-1.el8.noarchcentreon-dsm-server-23.10.3-1.el8.noarch Mon souci est que je ne peux pas mettre les services en actifs, car ils me servent à voir si une interco avec des produits tiers envoyant leur messages a Centreon est fonctionnelle en se basant sur le “last check”. Si les sondes sont lancées d’elles mêmes toutes les minutes
Hello,I just recreated a new fresh install of centreon, I just clicked on option “login the panel : And I cannot access anymore to my web page
Bonjour, J’ai récemment installé Centreon sur une debian 12. L’installation s’est faite “correctement” avec la commande : curl -L -s https://download.centreon.com/24.10/unattended.sh | bashCependant je rencontre un problème, mon collecteur “Central” ne veut pas passer dans l’état “En cours d’exécution”. J’ai suivis les docs d’installation officielles de Centreon, les différents forum, etc… Mais rien n’a fonctionné. Même au niveau de ma debian, je n’ai touché à aucun fichier de conf. Si quelqu’un à une solution, je suis preneur !
Hi,We just updated to the version 24.10.2, and started to use the dashboards just now, we were (and are) still using custom view for most of our issues We created a dashboard for our services, and we can see that the aknowledged ones appear in the grid view, and I can’t find a workaround to get rid of them. I found this post for the previous version (problem with the 24.4.4, patched in 24.4.5) I looked around in the new DbReadResourceRepository.php file, it look like the filter is already set to resources.enabled = 1 (lines 184 and 462), but aknowledged services still show in the view. I’m not against a workaround if there is no solution yet, I didn’t found a related issue in the recent posts (24.10 and up), but thanks to anyone that can help us start with those dashboard views =)
Hello , I try to install another one Remote Server on Azure.Following Centreon doc , it’s impossible im stuck on step 7 during install . I tried to reinstall all but always the same pbm .Any ideas ?
I dont know why, I have a centengine error, I get the following output when I put systemctl status centengine: centengine[38831]: [date] [configuration] [info] Processing object config file '/etc/centreon-engine/severities.cfg'centengine[38831]: [1674206969] [38831] Reading resource file '/etc/centreon-engine/resource.cfg'centengine[38831]: [date [configuration] [info] Reading resource file '/etc/centreon-engine/resource.cfg' centengine[38831]: [date] [core] [info] Starting the TCP thread pool of 4 threadscentengine[38831]: [date] [core] [info] protocols: registering protocol ('file' (layers 1-3)centengine[38831]: [date] [core] [info] protocols: registering protocol ('compression' (layers 6-6) centengine[38831]: [date] [core] [info] protocols: registering protocol ('BBDO' (layers 7-7)centengine[38831]: /usr/sbin/centengine: symbol lookup error: /usr/lib64/nagios/cbmod.so: undefined symbol: _ZN3com8centreon6broker3neb9log_entryC1Evsystemd[1]: centengine.service: Main process exited, cod
########## FRENCH ###########Bonjour,Le 25 Novembre dernier, j'ai effectué une montée de version Centreon vers la version 24.10 .Depuis ce jour, l'historique de mes sondes est arrêté en date du 25 novembre....Quelqu'un pourrait m'aider à debug et remédier à ce problème s'il vous plait ?########## ENGLISH ##########Hello,On November 25th, I upgraded Centreon to version 24.10 .Since that day, the timeline of my services is stopped as of November 25th....Could someone please help me to debug and remedy this problem? Captude du 19/12/2024 // image taken on 12/19/2024
Hi,I´ve got the same problem that the one in this post: It was “solved” (in that post) reinstalling centreon packages but it doesn´t work for me.Could you please give a hand? I´m a bit lost.It happened after an update (OS + Centreon) and an import of some resources via CLAPI.Centengine error:“/usr/sbin/centengine: symbol lookup error: /usr/lib64/nagios/cbmod.so: undefined symbol: _ZN3com8centreon6broker8LogEntryC1EPN6google8protobuf5ArenaEb”No errors on database log. No errors on broker log. No errors on apache/php logs…Almalinux 9.Centreon Centreon Engine 24.10.4 (according to the browser).Standalone server with MariaDB. No pollers.I´ve tried:dnf reinstall centreon-clib dnf reinstall centreon-broker\*dnf reinstall nagios*dnf reinstall centreon*… with NO success.Restarting server or centreon/db services doesn´t help.Something strange:In the browser I see version:24.10.4 but the installed packet version is: 24.10.5-1centreon-24.10.6-1.el9.noarchcentreon-auto-discovery-server-24.10.3-1.e
Bonjour, Sur postman je fais un GET pour récupérer la liste des service_id et host_id d’une liste de host :{{baseUrl}}/configuration/services?{{baseUrl}}/monitoring/hosts?search={"$or":[{"host.name":{"$eq":"SYN_JEAN-PHILIPPE-RAMEAU_0781107E-JPR-AP17"}},{"host.name":{"$eq":"SYN_JEAN-PHILIPPE-RAMEAU_0781107E-JPR-AP16"}}]}&limit=50&page=1 Mais ce code me ramène tous les champs avec le host_id et les services id. Je souhaite voir que les services_id et les hist_id
Hi,we use Centreon 24.10.5 IT edition with the new Dashboard feature.We created a new dashboard and added some data.As logged in user everything is fine: When using the public link from a shared playlist it looks like this:Wrong data in Active VPN Users and Wireless Clients. The data-type for all three numbers is a separate meta service. Can you please help with the issue? And is it possible to round the values in the display? Thank you
Hello everyone.We are currently facing an issue with the Azure Virtual machine plugin. We monitor 13 VM, and every time, at least 3 of them appears (randomly and it can be 4-5-6) as DOWN in our GUI. While the rest of the service associated to the VM works like a charm. When launching the following command from the poller with the --debug argument I get the following :== Info: TLSv1.3 (IN), TLS handshake, Newsession Ticket (4):== Info: Connection state changed (MAX_CONCURRENT_STREAMS == 100)!=> Recv header: HTTP/2 200=> Recv header: cache-control: no-cache=> Recv header: pragma: no-cache=> Recv header: content-length: 663=> Recv header: content-type: application/json; charset=utf-8=> Recv header: expires: -1=> Recv header: strict-transport-security: max-age=31536000; includeSubDomains=> Recv header: x-content-type-options: nosniff=> Recv header: x-ms-ratelimit-remaining-subscription-resource-requests: 97=> Recv header: x-ms-request-id: 142788ce-1818-4a30
Hello, I have a similar error tohowhever here this happens on the built-in check_centreon_plugins from https://github.com/centreon/centreon-nsclient-build/releases/tag/20221115 Here is the command executed by centreon:[centreon-engine@centreon-central ~]$ /usr/lib/centreon/plugins//centreon_nsclient_restapi.pl --plugin=apps::nsclient::restapi::plugin --mode=query --timeout='30' --hostname='EXCH2.exemple.com' --port='8443' --proto='https' --legacy-password='*******' --command=check_centreon_plugins --arg='apps::microsoft::exchange::local::plugin' --arg='replication-health' --arg=' --warning="" --critical="not %{result} =~ /Passed/i"'UNKNOWN: Cannot decode json response: malformed UTF-8 character in JSON string, at character offset 2454 (before "\x{fffd}0080\\u009Ap...") at /usr/lib/centreon/plugins//centreon_nsclient_restapi.pl line 162.[centreon-engine@centreon-central ~]$ Here is the successful check done locally on the monitored server itself:Here is the check done locally on the
Hello,I have this error :[2025-04-02T18:53:32+02:00] CRITICAL : [CentreonDb] Unable to connect to database : SQLSTATE[HY000] [2002] No such file or directory | {"context":{"default":{"back_trace":{"file":"/usr/share/centreon/www/class/centreonDB.class.php","line":934,"class":null,"function":null},"request_infos":{"url":"/centreon/widgets/service-monitoring/src/index.php?widgetId=12&page=0","http_method":"GET","server":"x.x.x.x","referrer":"http://10.27.69.90/centreon/widgets/service-monitoring/index.php?widgetId=12&customViewId=3"}},"exception":{"exception_type":"PDOException","file":"/usr/share/centreon/www/class/centreonDB.class.php","line":147,"code":2002,"message":"SQLSTATE[HY000] [2002] No such file or directory","previous":null},"custom":{"db_name":"centreon","pdo_error_infos":["HY000",2002,"No such file or directory"],"pdo_error_code":2002,"dsn_mysql":"mysql:dbname=centreon;host=localhost;port=3306"}}}All services work, all connexion too.Does anyone had an idea ?Thanks !
Hello i am on 24.10.4 , i understood new version of centreon arrived someone can confirm ? Laurent
Hello,I'm trying to setup a Centreon infrastructure with a Central server and a Remote one.I’m using these versions:Centreon version 24.10 Running on Debian 12 Remote databasesI'm following the documentation.At the last step from Attach a remote server to a central server - when running:systemctl restart cbd centengineThe processes are restarted on the remote server, the web UI shows the remote as running (green),BUT the central server is set to "not running" (red) at the same time.The processes are still running on the Central server. When restarting the services on the Central serveur, the status is back to "running" (green).I haven't seen anything relevant in the logs to explain this.I can see these queries being run on the mysql server:2025-02-08T19:06:36.349406Z 205 Execute INSERT INTO instances (engine,running,name,pid,instance_id,end_time,start_time,version) VALUES('Centreon Engine',0,'Central',31412,1,1739041596,1739039104,'24.10.3') ON DUPLICATE KEY UPDATE engine='Ce
As mentioned, I got this error while trying to do step 4 of the server instructions (step 3.5 in the official documentation: Add a MariaDB table partition. This step is mandatory. Your Centreon server will not work if this isn't done.).I can connect to the web console, but I see a database issue/poller not running:
I was testing use cases on my centreon instance 23.10 with some hosts in a host group, then i wanted to provide custom view for monitoring purposes.I had no issue preparing those dashboards, but when i moved from 22.10 to 23.10, i realized that if a user isn’t configured as Admin, it cannot use the hostgroup widget, it stays empty.It doesn’t seem to be an ACL issue as the user can see the data in the resource status view and can even use the host monitoring widget. I’m unaware of what could be causing such issue.I saw there was issues with the filtering process as well on version 23.10 of Centreon, but i’m unsure if that’s related, so i’m opening an issue here.
Already have an account? Login
No account yet? Create an account
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.