I’ve just installed Centreon 23.04 from VM Template
I created an host with basic (OS-Windows-snmp-custom) , then export config poller, but the host are never displayed on the UI.
It work only when i reboot the centengine service with CLI.
It’s look like centreon user have no permissions to do that.
unfortunatly, i don’t find any informations in logs. i check all the installation & prerequisites and i think i do all correctly. not find a lot of information on other topics.
Some one can help me please ?
EDIT : the poller is default poller on localhost
Best answer by Valentin.g
i’ve found the issue, there is a little mistake in sudoers.d file
Edit /etc/sudoers.d/root
Line 2 : Remove “/” symbol before “!”
the file should be
password ALL = (ALL) NOPASSWD: ALL Defaults:root !requiretty
By default, Rsyslogd is not installed, once installed you can see parse error in secure logs
Aug 30 16:09:03 SRV-CENTREON sudo[11715]: apache : parse error in /etc/sudoers.d/root near line 2 ; TTY=unknown ; PWD=/usr/share/centreon/www ; USER=root ;
Aug 30 16:09:06 SRV-CENTREON sudo[11725]: centreon-gorgone : parse error in /etc/sudoers.d/root near line 2 ; TTY=unknown ; PWD=/ ; USER=root ;