Ticket #87 (closed defect: Fixed)
Nagios import fails due to fatal PHP error
| Reported by: | astanford | Owned by: | |
|---|---|---|---|
| Priority: | blocker | Milestone: | Centreon-2.0 |
| Component: | CentCore | Version: | beta5 |
| Keywords: | import nagios hosts services cfg | Cc: |
Description
On a default Centreon 2.0beta5 install, importing hosts, services etc. fails due to a path error in /usr/local/centreon/www/include/configuration/configObject/host/DB-Func.php.
The failures are on lines 1182 and 1238 (there may be more instances). The path mentioned on those lines is "./include/configuration/configLoad/../service/DB-Func.php". Changing the path to "./include/configuration/configLoad/../configObject/service/DB-Func.php" resolves the issue and allows a successful import.
Change History
Note: See
TracTickets for help on using
tickets.
