Question

Debian Local Poller - UNKNOW Plugins (Execute Command Failed) After migration

  • 2 August 2023
  • 6 replies
  • 265 views

Badge +1

Hi the community,

I have follow multiple procedures of centreon documentation to migrate my centreon in 2.8 on CentOS 6 to centreon 23.04 on Debian 11 and everything is functional except some of my personnalised plugins.

 

When I run the command on CLI, it work :

 

But in web interface it return “Execute command failed” :

 

Here is my right access :


If you can help me, I'd be very grateful.


6 replies

Userlevel 4
Badge +12

Hi @LeoDT 

Maybe some commands/actions cannot be performed by user centreon-engine.

I can see you tested your command as `root`, but it’s a better habit to test it as `centreon-engine`

Can you try 

su - centreon-engine

and then try your command again?

Badge +1

Hi @omercier ,

Thanks a lot for your answer.

 

I executed the command as `centreon-engine`, but the problem remain the same :

 

Badge +3

Up here !

Userlevel 4
Badge +12

Hi @Julius and @LeoDT,

Have you enabled SELinux on your servers?

Badge +3

Hi @omercier, thanks for you answer,

How SELinux is supposed to help in this situation ? I’m afraid it would become be a new issues generator…

 

Thanks a lot

Userlevel 4
Badge +12

@Julius precisely, I suspect SELinux to be enabled, preventing centengine from working normally.

Reply