Question

Centreon Monitoring View shows not hosts

  • 14 February 2023
  • 2 replies
  • 85 views

Hello,

after a shutdown and reboot. Almost all hosts are not shown in the Host-View.

 

in the configuration view, still all hosts exists with their services.

Everything ist activated.

even in Map view, all hosts are shown and ping checks are running.

 

No differences between shown and not shown host to find.

Does some have the issue?

 

How to get back to all hosts shown in Monitoring view.

 


2 replies

cutoff from http error.log:

 

[Mon Feb 13 12:44:57 2023] [error] [client 10.0.0.15] PHP Notice:  Trying to get property of non-object in /usr/local/centreon/www/modules/statusmap/DB-Func.php on line 53, referer: http://kassandra.*/centreon/main.php?p=209
[Mon Feb 13 12:44:57 2023] [error] [client 10.0.0.15] PHP Notice:  Trying to get property of non-object in /usr/local/centreon/www/modules/statusmap/DB-Func.php on line 53, referer: http://kassandra.*/centreon/main.php?p=209
[Mon Feb 13 12:44:57 2023] [error] [client 10.0.0.15] PHP Notice:  Trying to get property of non-object in /usr/local/centreon/www/modules/statusmap/DB-Func.php on line 53, referer: http://kassandra.*/centreon/main.php?p=209
[Mon Feb 13 12:44:57 2023] [error] [client 10.0.0.15] PHP Notice:  Trying to get property of non-object in /usr/local/centreon/www/modules/statusmap/DB-Func.php on line 53, referer: http://kassandra.*/centreon/main.php?p=209
[Mon Feb 13 12:44:58 2023] [error] [client 10.0.0.15] PHP Notice:  Trying to get property of non-object in /usr/local/centreon/www/modules/statusmap/DB-Func.php on line 53, referer: http://kassandra.*/centreon/main.php?p=209
[Mon Feb 13 12:44:58 2023] [error] [client 10.0.0.15] PHP Notice:  Trying to get property of non-object in /usr/local/centreon/www/modules/statusmap/DB-Func.php on line 53, referer: http://kassandra.*/centreon/main.php?p=209
[Mon Feb 13 12:45:05 2023] [error] [client 10.0.0.15] PHP Notice:  Trying to get property of non-object in /usr/local/centreon/www/modules/statusmap/DB-Func.php on line 53, referer: http://kassandra.*/centreon/main.php?p=209
[Mon Feb 13 12:45:05 2023] [error] [client 10.0.0.15] PHP Notice:  Trying to get property of non-object in /usr/local/centreon/www/modules/statusmap/DB-Func.php on line 53, referer: http://kassandra.*/centreon/main.php?p=209
[Mon Feb 13 12:45:06 2023] [error] [client 10.0.0.15] PHP Notice:  Trying to get property of non-object in /usr/local/centreon/www/modules/statusmap/DB-Func.php on line 53, referer: http://kassandra.*/centreon/main.php?p=209
[Mon Feb 13 12:45:06 2023] [error] [client 10.0.0.15] PHP Notice:  Trying to get property of non-object in /usr/local/centreon/www/modules/statusmap/DB-Func.php on line 53, referer: http://kassandra.*/centreon/main.php?p=209
[Mon Feb 13 12:45:33 2023] [error] [client 10.0.0.15] PHP Notice:  Undefined index:   in /usr/local/centreon/www/include/monitoring/objectDetails/hostDetails.php on line 250, referer: http://kassandra.*/centreon/main.php?p=209
[Mon Feb 13 12:45:33 2023] [error] [client 10.0.0.15] PHP Notice:  Undefined index:  color_ in /usr/local/centreon/www/include/monitoring/objectDetails/hostDetails.php on line 328, referer: http://kassandra.*/centreon/main.php?p=209
[Mon Feb 13 12:45:33 2023] [error] [client 10.0.0.15] PHP Notice:  Undefined index:  last_check in /usr/local/centreon/www/include/monitoring/objectDetails/hostDetails.php on line 329, referer: http://kassandra.*/centreon/main.php?p=209
[Mon Feb 13 12:45:33 2023] [error] [client 10.0.0.15] PHP Notice:  Undefined index:  next_check in /usr/local/centreon/www/include/monitoring/objectDetails/hostDetails.php on line 330, referer: http://kassandra.*/centreon/main.php?p=209

 

The * is for hidding the domain.

Seems like just a display error.

Checks and notifications are working.

i made some test an found in “error.log” of apache2 that there is an error when reading state_change and state_duration.

the database SELECT on table “comments” ist not working.

I checked the mysql database and there is no table “comments” existing.

 

But at some test devices which i added, the duration ist correctly displayed. but not on all devices

Reply