[Pkg-nagios-devel] Bug#752088: pnp4nagios-web: Error message Non-static method nagios_Core::SummaryLink()
Florian Bruhin
me at the-compiler.org
Thu May 7 14:17:00 UTC 2015
Package: pnp4nagios-web
Version: 0.6.16-2
Followup-For: Bug #752088
I see the same happening after updating from Wheezy to Jessie. I can
confirm the mentioned workaround of adding ~E_DEPRECATED to index.php
works (thus the debsum error below).
I think the severity of this bug report should be raised to important
("has a major effect on the usability of a package, without rendering
it completely unusable to everyone") or grave ("makes the package in
question unusable or mostly so").
-- System Information:
Debian Release: 8.0
APT prefers stable-updates
APT policy: (500, 'stable-updates'), (500, 'stable')
Architecture: amd64 (x86_64)
Kernel: Linux 2.6.32-042stab104.1 (SMP w/2 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8) (ignored: LC_ALL set to en_US.UTF-8)
Shell: /bin/sh linked to /bin/bash
Init: systemd (via /run/systemd/system)
Versions of packages pnp4nagios-web depends on:
ii adduser 3.113+nmu3
ii debconf [debconf-2.0] 1.5.56
ii libapache2-mod-php5 5.6.7+dfsg-1
ii libfpdi-php 1.4.1-1
ii libjs-jquery 1.7.2+dfsg-3.2
ii libjs-jquery-ui 1.10.1+dfsg-1
ii libkohana2-php 2.3.4-2
ii php5 5.6.7+dfsg-1
ii php5-gd 5.6.7+dfsg-1
ii rrdtool 1.4.8-1.2
Versions of packages pnp4nagios-web recommends:
ii pnp4nagios-bin 0.6.16-2
Versions of packages pnp4nagios-web suggests:
pn rrdcached <none>
-- Configuration Files:
/etc/pnp4nagios/apache.conf changed:
Alias /pnp4nagios "/usr/share/pnp4nagios/html"
<Directory "/usr/share/pnp4nagios/html">
AllowOverride None
Order allow,deny
Allow from all
#
# Use the same value as defined in nagios.conf
#
AuthName "Nagios Access"
AuthType Basic
AuthUserFile /etc/icinga/htpasswd.users
Require valid-user
<IfModule mod_rewrite.c>
# Turn on URL rewriting
RewriteEngine On
Options FollowSymLinks
# Installation directory
RewriteBase /pnp4nagios/
# Protect application and system files from being viewed
RewriteRule ^(application|modules|system) - [F,L]
# Allow any files or directories that exist to be displayed directly
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
# Rewrite all other URLs to index.php/URL
RewriteRule .* index.php/$0 [PT,L]
</IfModule>
</Directory>
/etc/pnp4nagios/config.php changed:
<?php
$conf['use_url_rewriting'] = 1;
$conf['rrdtool'] = "/usr/bin/rrdtool";
$conf['graph_width'] = "500";
$conf['graph_height'] = "200";
$conf['zgraph_width'] = "500";
$conf['zgraph_height'] = "200";
$conf['right_zoom_offset'] = 30;
$conf['pdf_width'] = "675";
$conf['pdf_height'] = "100";
$conf['pdf_page_size'] = "A4"; # A4 or Letter
$conf['pdf_margin_top'] = "30";
$conf['pdf_margin_left'] = "17.5";
$conf['pdf_margin_right'] = "10";
$conf['graph_opt'] = "";
$conf['pdf_graph_opt'] = "";
$conf['rrdbase'] = "/var/lib/pnp4nagios/perfdata/";
$conf['page_dir'] = "/etc/pnp4nagios/pages/";
$conf['refresh'] = "90";
$conf['max_age'] = 60*60*6;
$conf['temp'] = "/var/tmp";
$conf['nagios_base'] = "/cgi-bin/icinga";
$conf['multisite_base_url'] = "/check_mk";
$conf['multisite_site'] = "";
$conf['auth_enabled'] = FALSE;
$conf['livestatus_socket'] = "unix:/usr/local/nagios/var/rw/live";
$conf['allowed_for_all_services'] = "";
$conf['allowed_for_all_hosts'] = "";
$conf['allowed_for_service_links'] = "EVERYONE";
$conf['allowed_for_host_search'] = "EVERYONE";
$conf['allowed_for_host_overview'] = "EVERYONE";
$conf['allowed_for_pages'] = "EVERYONE";
$conf['overview-range'] = 1 ;
$conf['popup-width'] = "500px";
$conf['ui-theme'] = 'smoothness';
$conf['lang'] = "en_US";
$conf['date_fmt'] = "d.m.y G:i";
$conf['enable_recursive_template_search'] = 1;
$conf['show_xml_icon'] = 1;
$conf['use_fpdf'] = 1;
$conf['background_pdf'] = '/etc/pnp4nagios/background.pdf' ;
$conf['use_calendar'] = 1;
$views[] = array('title' => '4 Hours', 'start' => (60*60*4) );
$views[] = array('title' => '25 Hours', 'start' => (60*60*25) );
$views[] = array('title' => 'One Week', 'start' => (60*60*25*7) );
$views[] = array('title' => 'One Month', 'start' => (60*60*24*32) );
$views[] = array('title' => 'One Year', 'start' => (60*60*24*380) );
$conf['RRD_DAEMON_OPTS'] = '';
$conf['template_dirs'][] = '/etc/pnp4nagios/templates';
$templates_d = glob("/etc/pnp4nagios/templates.d/*", GLOB_ONLYDIR);
if (is_array($templates_d) && (count($templates_d) > 0)) {
foreach ($templates_d as $dirname) {
$conf['template_dirs'][] = "$dirname";
}
}
$conf['template_dirs'][] = '/usr/share/pnp4nagios/html/templates.dist';
$conf['special_template_dir'] = '/etc/pnp4nagios/templates.special';
$conf['mobile_devices'] = 'iPhone|iPod|iPad|android';
?>
-- no debconf information
-- debsums errors found:
debsums: changed file /usr/share/pnp4nagios/html/index.php (from pnp4nagios-web package)
More information about the Pkg-nagios-devel
mailing list