Skip to content
This repository has been archived by the owner on Dec 13, 2022. It is now read-only.

disable knowledge base #5269

Closed
tpatriot opened this issue May 23, 2017 · 0 comments
Closed

disable knowledge base #5269

tpatriot opened this issue May 23, 2017 · 0 comments

Comments

@tpatriot
Copy link


BUG REPORT INFORMATION

Centreon Web version: 2.8.8

Centreon Engine version: 1.7.2

Centreon Broker version: 3.0.7

OS: CentOS 6

Additional environment details (AWS, VirtualBox, physical, etc.):
Import .ova file into VMware

Steps to reproduce the issue:

  1. Do not configure knowledge base

Describe the results you received:
On Centreon Web it rightfully says: "MediaWiki is not installed or configured. Please refer to the documentation."
However on the filesystem it keeps sending an error into the /var/log/centreon/knowledgebase.log

Stack trace:
#0 /usr/share/centreon/www/class/centreon-knowledge/wikiApi.class.php(65): WikiApi->getWikiVersion()
#1 /usr/share/centreon/cron/centKnowledgeSynchronizer.php(38): WikiApi->__construct()
#2 {main}
thrown in /usr/share/centreon/www/class/centreon-knowledge/wikiApi.class.php on line 96
PHP Notice: Undefined index: kb_wiki_account in /usr/share/centreon/www/class/centreon-knowledge/wikiApi.class.php on line 62
PHP Notice: Undefined index: kb_wiki_password in /usr/share/centreon/www/class/centreon-knowledge/wikiApi.class.php on line 63
PHP Fatal error: Uncaught exception 'Exception' with message 'An error occured, please check your Knowledge base configuration' in /usr/share/centreon/www/class/centreon-knowledge/wikiApi.class.php:96

Describe the results you expected:
Ability to disable the knowledge base feature.

Additional information you think important (e.g. issue happens only occasionally):
In 24hrs the log grew to a little over 1mb.

@lpinsivy lpinsivy added this to the 2.8.9 milestone May 26, 2017
@lpinsivy lpinsivy self-assigned this May 26, 2017
@lpinsivy lpinsivy modified the milestones: 2.8.10, 2.8.9 May 29, 2017
kduret pushed a commit that referenced this issue May 30, 2017
* ref #5269 - check if wiki is configured and extend error message

* better wheck of kb wiki url

* Fix kb synhcronization error display
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants