Question

Process centreon engine up and down

  • 8 November 2022
  • 6 replies
  • 57 views

Badge +3

I notice that the check process of my Centreon-engine (22.04.0) of my central server is broken from time to time, without disturbing my supervision.

[2022-11-08T12:59:52.390+00:00] [events] [info] [25017] SERVICE ALERT: Central;Centreon-engine;OK;HARD;1;OK: Number of current processes running: 1 - Total memory usage: 153.07 MB - Average memory usage: 153.07 MB - Total CPU usage: 3.13 %
[2022-11-08T13:09:52.985+00:00] [events] [info] [25017] SERVICE ALERT: Central;Centreon-engine;CRITICAL;SOFT;1;CRITICAL: Number of current processes running: 0
[2022-11-08T13:10:52.390+00:00] [events] [info] [25017] SERVICE ALERT: Central;Centreon-engine;CRITICAL;SOFT;2;CRITICAL: Number of current processes running: 0
[2022-11-08T13:11:52.856+00:00] [events] [info] [25017] SERVICE ALERT: Central;Centreon-engine;OK;HARD;1;OK: Number of current processes running: 1 - Total memory usage: 153.07 MB - Average memory usage: 153.07 MB - Total CPU usage: 3.02 %
[2022-11-08T13:31:52.028+00:00] [events] [info] [25017] SERVICE ALERT: Central;Centreon-engine;CRITICAL;SOFT;1;CRITICAL: Number of current processes running: 0
[2022-11-08T13:32:52.006+00:00] [events] [info] [25017] SERVICE ALERT: Central;Centreon-engine;OK;SOFT;2;OK: Number of current processes running: 1 - Total memory usage: 153.07 MB - Average memory usage: 153.07 MB - Total CPU usage: 3.17 %
[2022-11-08T13:42:52.009+00:00] [events] [info] [25017] SERVICE ALERT: Central;Centreon-engine;OK;HARD;1;OK: Number of current processes running: 1 - Total memory usage: 153.07 MB - Average memory usage: 153.07 MB - Total CPU usage: 3.14 %
[2022-11-08T14:02:52.318+00:00] [events] [info] [25017] SERVICE ALERT: Central;Centreon-engine;CRITICAL;SOFT;1;CRITICAL: Number of current processes running: 0
[2022-11-08T14:03:52.495+00:00] [events] [info] [25017] SERVICE ALERT: Central;Centreon-engine;OK;SOFT;2;OK: Number of current processes running: 1 - Total memory usage: 153.07 MB - Average memory usage: 153.07 MB - Total CPU usage: 3.14 %

 

I think, i have no problem with my RAM:

[root@Central]# free -m
              total        used        free      shared  buff/cache   available
Mem:          23889        5178       17146          40        1564       18293
Swap:             0           0           0

 

I check ~ 6 000 services and 300 hosts

Have you seen this problem before ?

Thank you

 

6 replies

Badge +10

@Cyril_31 

do you use reload or restart on the export?

Badge +3

I use restart on the export.

Badge +10

What setting do you have for the memory? maybe too low?

 A restart maybe showing as process down?

Badge +3

The memory check for my centreon server is:

Warning: 80%

Critical: 90%,

but i have no error on this check.

It’s only centreon-engine that i have the error

 

Badge +3

Is it possible to active “debug mode” for centreon-engine ?

Because on the /var/log/centreon-engine/centengine.log, i only see if the centengine service is up or down, but not previous events, like errors for example.

Thank you

Badge +10

You can select your logs under:

Configuration  >  Pollers  >  Engine configuration

for the poller in question.

 

If you time the restart?

`time systemctl restart centengine`

 

You can also use reload instead, less heavy

https://docs.centreon.com/docs/monitoring/monitoring-servers/deploying-a-configuration/#exporting-the-configuration

Reply