[Pkg-nagios-devel] Bug#665197: pnp4nagios-web: Displays empty page with PHP 5.4

Bernhard Schmidt berni at birkenwald.de
Thu Mar 22 15:10:25 UTC 2012


Package: pnp4nagios-web
Version: 0.6.16-1
Severity: important

After upgrading to PHP 5.4 (current wheezy) pnp4nagios displays an 
empty page for all URLs I can think of. There is nothing in the error
log or any other logs I could think of, despite of having all 
error_reporting categories enabled.

-- System Information:
Debian Release: wheezy/sid
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: amd64 (x86_64)

Kernel: Linux 3.2.0-2-amd64 (SMP w/2 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages pnp4nagios-web depends on:
ii  adduser                3.113+nmu1
ii  debconf [debconf-2.0]  1.5.41
ii  libfpdi-php            1.4.1-1
ii  libjs-jquery           1.7.1-1
ii  libjs-jquery-ui        1.8.ooops.18+dfsg-1
ii  libkohana2-php         2.3.4-1
ii  php5                   5.4.0-2
ii  php5-gd                5.4.0-2
ii  rrdtool                1.4.7-1

Versions of packages pnp4nagios-web recommends:
ii  pnp4nagios-bin  0.6.16-1

Versions of packages pnp4nagios-web suggests:
ii  rrdcached  1.4.7-1

-- Configuration Files:
/etc/pnp4nagios/config.php changed:
<?php
$conf['use_url_rewriting'] = 1;
$conf['rrdtool'] = "/usr/bin/rrdtool";
$conf['graph_width'] = "500";
$conf['graph_height'] = "100";
$conf['zgraph_width'] = "500";
$conf['zgraph_height'] = "100";
$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/nagios3";
$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'] = "300px";
$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'] = 'unix:/var/run/rrdcached.sock';
$conf['template_dirs'][] = '/etc/pnp4nagios/templates';
$conf['template_dirs'][] = '/usr/share/pnp4nagios/html/templates.dist';
$conf['special_template_dir'] = '/etc/pnp4nagios/templates.special';
$conf['mobile_devices'] = 'iPhone|iPod|iPad|android';
?>


-- debconf information:
  pnp4nagios-web/httpd: apache2





More information about the Pkg-nagios-devel mailing list