Centreon Reporting Dashboard Undetermined

Centreon 2.7.x Reporting Dashboard Undetermined

There is a problem with centreon Dashboard where it can not generate the reporting
correctly.

The evidence of the problem is here:
su -l centreon -c “/usr/share/centreon/cron/eventReportBuilder”
2016-05-16 12:03:03 – Starting program…
2016-05-16 12:03:03 – Processing period: Sun May 15 00:00:00 2016 => Mon May 16 00:00:00 2016
Error: Can’t call method “query” on an undefined value at /usr/share/perl5/vendor_perl/centreon/reporting/CentreonDownTime.pm line 96.

Solution:

Connect to the centreon DB and run
UPDATE centreon.options SET value=’broker’ WHERE value=’ndo’;

Make sure the comand now works:
su -l centreon -c “/usr/share/centreon/cron/eventReportBuilder”

Rebuilding data:

su -l centreon -c “/usr/share/centreon/cron/eventReportBuilder -r –config=/etc/centreon/conf.pm”
su -l centreon -c “/usr/share/centreon/cron/dashboardBuilder -r –config=/etc/centreon/conf.pm”

 

Take a look at my script to automate reporting via e-mail:

Centreon reporting email

3 Thoughts

  1. This fixed my problem! I’ve been fighting with it for weeks and this fixed it.

    I want to make you aware of a typo in your post. In the rebuilding data section you have (-config=/etc/centreon/conf.pm) and it should have 2 dashes (–config=/etc/centreon/conf.pm).

    Thanks again!

Leave a Reply

Your email address will not be published. Required fields are marked *

VAMOVE *

*