-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

Hi,

i got the attached bugreport regarding the nagiosgrapher packages.
This issue was already posted at the boards for some time, so is the
fix already at your TODO?

bye
Hendrik

ps: please send your reply cc to [EMAIL PROTECTED]
    (s. http://www.debian.org/Bugs/Developer#forward)

- --
I am chaos. I am the substance from which your artists and scientists
build rhythms and rhimes. I am the spirit with which your children and
clowns laugh in happy anarchy. I am chaos. I am alive, and I tell you
that you are free.       - Eris, Goddess Of Chaos, Discord & Confusion.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)

iD8DBQFGv1qkjWcQfAgCZA8RCFtFAKCUftKyLQTnREoQE29uHq/g7A9XwgCgsYGg
PeSZTNX3joiy6Zv8v3DICtQ=
=LwZR
-----END PGP SIGNATURE-----

--- Begin Message ---
Package: nagiosgrapher
Version: 1.6.1rc3-2
Severity: normal
Tags: patch

When multiple graphs are defined for a single host  always the first graph  
displayed.

Please add patch below:
@@ -207,7 +207,8 @@
   $h->checkPageBrowserAuth();

   # If the current differs from the selected, start the default service ...
-  if ($h->Param('old_host') ne $h->Host) {
+  #if ($h->Param('old_host') ne $h->Host) {
+  if ($h->Param('old_host') && length($h->Param('old_host')) > 0 && 
$h->Param('old_host') ne $h->Host) {
       $service = [sort(keys(%{$xmlhash->{host}->{$h->Host}->{service}}))]->[1];
       $h->Service($service);
   }

Sources:
http://www.nagiosexchange.org/Forum.88.0.html?&view=single_thread&cat_uid=1&conf_uid=2&thread_uid=396
http://www.nagios-portal.de/forum/thread.php?threadid=4807


-- System Information:
Debian Release: lenny/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: i386 (i686)

Kernel: Linux 2.6.22-1-686 (SMP w/1 CPU core)
Locale: LANG=ru_RU.UTF-8, LC_CTYPE=ru_RU.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages nagiosgrapher depends on:
ii  libc6                  2.6-5             GNU C Library: Shared libraries
ii  libcalendar-simple-per 1.17-2            Perl extension to create simple ca
ii  libgd-gd2-perl         1:2.34-1          Perl module wrapper for libgd - gd
ii  librrds-perl           1.2.19-1          Time-series data storage and displ
ii  liburi-perl            1.35.dfsg.1-1     Manipulates and accesses URI strin
ii  nagios2                2.9-1             A host/service/network monitoring 
ii  perlmagick [libimage-m 7:6.2.4.5.dfsg1-1 A perl interface to the libMagick 
ii  rrdtool                1.2.19-1          Time-series data storage and displ
ii  ttf-dejavu             2.19-1            Vera font family derivate with add
ii  ucf                    3.001             Update Configuration File: preserv

nagiosgrapher recommends no packages.

-- no debconf information


--- End Message ---

Reply via email to