[op5-users] Reports

Patrik Båt Patrik.Bat at cypoint.se
Wed Feb 17 17:07:14 CET 2010


QLSTATE[42000] [1049] Unknown database 'monitor_reports'

Ninja database.php config:

# reports database connection
$config['monitor_reports'] = array
(
        'benchmark'     => TRUE,
        'persistent'    => FALSE,
        'connection'    => array
        (
                'type'     => 'mysql',
                'user'     => 'merlin',
                'pass'     => 'xx',
                'host'     => '172.17.0.100',
                'port'     => FALSE,
                'socket'   => FALSE,
                'database' => 'merlin'
        ),
        'character_set' => 'utf8',
        'table_prefix'  => '',
        'object'        => TRUE,
        'cache'         => FALSE,
        'escape'        => TRUE
);

I Look in the code and find some (in file application/models/reports.php):
public $db_name = 'monitor_reports';
const db_name = 'monitor_reports';

-----Original Message-----
From: op5-users-bounces at lists.op5.com [mailto:op5-users-bounces at lists.op5.com] On Behalf Of Patrik Båt
Sent: den 17 februari 2010 16:37
To: Mailinglist for op5's products
Subject: [op5-users] Reports

Hello!

Have anyone got the Availability report & SLA report working in latest ninja and report-module?

I have some problems getting the host/hostgroup to show.

"is_authorized_for_host" or "is_authorized_for_hostgroup" is this a CGI Core Nagios CALL?

Cheeers Patrik.

_______________________________________________
op5-users mailing list
op5-users at lists.op5.com
http://lists.op5.com/mailman/listinfo/op5-users




More information about the op5-users mailing list