centreon / centreon-engine

Extremely fast monitoring scheduler, forked from Nagios
GNU General Public License v2.0
42 stars 17 forks source link

Centreon Engine on Poller do not read centengine.cmd file #104

Open lolokai opened 6 years ago

lolokai commented 6 years ago

BUG REPORT INFORMATION

Centreon Web version: 2.8.22

Centreon Engine version: 1.8.1

Centreon Broker version: 3.0.14

OS: CentOS 7 (ISO Centreon 3.4.6)

Additional environment details (AWS, VirtualBox, physical, etc.): VMware Virtual Machine

Steps to reproduce the issue:

  1. Try to execute a "Schedule immediate Check" on a Host which is monitored by a Poller

Describe the results you received: "Schedule immediate Check" is not executed

Describe the results you expected: "Schedule immediate Check" should be executed

Additional information you think important (e.g. issue happens only occasionally): First information : CentCore create a file /var/lib/centreon-engine/rw/centengine.cmd which is not a fifo file -rw-rw-r-- 1 centreon centreon 80 23 avril 11:48 /var/lib/centreon-engine/rw/centengine.cmd Second information : If I create a fifo file with this rights : prw-rw---- 1 centreon-engine centreon-engine 0 23 avril 11:53 /var/lib/centreon-engine/rw/centengine.cmd CentCore says : 2018-04-23 11:47:06 - Could not write into pipe file /var/lib/centreon-engine/rw/centengine.cmd on poller 2 Third information : If I delete /var/lib/centreon-engine/rw/centengine.cmd Centreon Engine do not create the file when I restart it My Centreon Engine configuration : command_check_interval=1s command_file=/var/lib/centreon-engine/rw/centengine.cmd

I tried to activate centengine.debug it looks like Centreon Engine never tries to read /var/lib/centreon-engine/rw/centengine.cmd

cmeschin commented 5 years ago

Hi, I have the same problem on some pollers in some times.

Centreon Web version: 2.8.25 Centreon CLAPI version: 1.8.0 Centreon Engine version: 1.8.1 Centreon Broker version: 3.0.14 OS: CentOS release 6.10 (Final)

thanks.

lescourantsfaibles commented 5 years ago

Hi, I have the same Problem after update my poller. Only one of the poller have this truble.

Centreon Web 18.10.3 Centreon Engine 18.10.0 CentOS Linux release 7.6.1810 (Core)

Same: CentCore create a file /var/lib/centreon-engine/rw/centengine.cmd which is not a fifo file -rw-rw-r-- 1 centreon centreon 80 23 avril 11:48 /var/lib/centreon-engine/rw/centengine.cmd

Wrong User should be centreon-engine. After update the user centreon was bad creating use of useradd instead of adduser?

I need to recreate the user and do all the stuff like groups and ssh key... Poller is working but impossible to Schedule immediate Check Acknowledge add service and host etc...

Thanks.

lpinsivy commented 4 years ago

It's look like a bug of Centcore and not of Centreon Engine