Your message dated Tue, 05 Feb 2008 08:38:45 +0100
with message-id <[EMAIL PROTECTED]>
and subject line (no subject)
has caused the attached Bug report to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what I am
talking about this indicates a serious mail system misconfiguration
somewhere.  Please contact me immediately.)

Debian bug tracking system administrator
(administrator, Debian Bugs database)

--- Begin Message ---
Package: nagiosgrapher
Tags: patch

Hi,

the graphs.cgi shipped by nagiosgrapher always shows the first service
graph when a host has multiple service graphs. This can be fixed with
the attached patch from Horst Krause.

Regards,
Daniel

-- 
Address:        Daniel Baumann, Burgunderstrasse 3, CH-4562 Biberist
Email:          [EMAIL PROTECTED]
Internet:       http://people.panthera-systems.net/~daniel-baumann/
diff -Naur NagiosGrapher-1.6.1-rc3.orig/sbin/graphs.cgi NagiosGrapher-1.6.1-rc3/sbin/graphs.cgi
--- NagiosGrapher-1.6.1-rc3.orig/sbin/graphs.cgi	2007-03-07 14:03:44.000000000 +0000
+++ NagiosGrapher-1.6.1-rc3/sbin/graphs.cgi	2007-08-27 10:46:31.000000000 +0000
@@ -207,7 +207,7 @@
   $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') && 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);
   }

--- End Message ---
--- Begin Message ---
Version: 1.6.1rc5-5

-- 
Address:        Daniel Baumann, Burgunderstrasse 3, CH-4562 Biberist
Email:          [EMAIL PROTECTED]
Internet:       http://people.panthera-systems.net/~daniel-baumann/


--- End Message ---

Reply via email to