Your message dated Sat, 26 Nov 2016 18:38:14 +0000
with message-id <[email protected]>
and subject line Bug#845765: Removed package(s) from unstable
has caused the Debian Bug report #506900,
regarding nagios2: status map too clobbered to be useful
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 this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)
--
506900: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=506900
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: nagios2
Version: 2.6-2+etch1
Severity: normal
Attached is a sample statusmap with a moderate number of hosts (about 40) in
which we barely see the hostnames.
I have applied a patch to the nagios2 package which removes the Up/Down
status from the display, making it much more readable. The patch is also
attached.
I also attach the modified statusmap result.
-- System Information:
Debian Release: 4.0
APT prefers stable
APT policy: (500, 'stable'), (2, 'testing')
Architecture: amd64 (x86_64)
Shell: /bin/sh linked to /bin/bash
Kernel: Linux 2.6.18-6-vserver-amd64
Locale: LANG=fr_CA.UTF-8, LC_CTYPE=fr_CA.UTF-8 (charmap=UTF-8)
Versions of packages nagios2 depends on:
ii libc6 2.3.6.ds1-13etch7 GNU C Library: Shared libraries
ii libgd2-xpm 2.0.33-5.2etch1 GD Graphics Library version 2
ii libjpeg62 6b-13 The Independent JPEG Group's JPEG
ii libperl5.8 5.8.8-7etch3 Shared Perl library
ii libpng12-0 1.2.15~beta5-1 PNG library - runtime
ii nagios2-common 2.6-2+etch1 support files for nagios2
ii perl 5.8.8-7etch3 Larry Wall's Practical Extraction
ii zlib1g 1:1.2.3-13 compression library - runtime
nagios2 recommends no packages.
-- no debconf information
--- nagios2-2.6.orig/cgi/statusmap.c
+++ nagios2-2.6/cgi/statusmap.c
@@ -1916,40 +1916,6 @@
/* write the host status string to the generated image... */
draw_text(temp_buffer,x,y,color_black);
- /* find the status entry for this host */
- temp_hoststatus=find_hoststatus(name);
-
- /* get the status of the host (pending, up, down, or unreachable) */
- if(temp_hoststatus!=NULL){
-
- /* draw the status string */
- if(temp_hoststatus->status==HOST_DOWN){
- strncpy(temp_buffer,"Down",sizeof(temp_buffer));
- status_color=color_red;
- }
- else if(temp_hoststatus->status==HOST_UNREACHABLE){
- strncpy(temp_buffer,"Unreachable",sizeof(temp_buffer));
- status_color=color_red;
- }
- else if(temp_hoststatus->status==HOST_UP){
- strncpy(temp_buffer,"Up",sizeof(temp_buffer));
- status_color=color_green;
- }
- else if(temp_hoststatus->status==HOST_PENDING){
- strncpy(temp_buffer,"Pending",sizeof(temp_buffer));
- status_color=color_grey;
- }
- else{
- strncpy(temp_buffer,"Unknown",sizeof(temp_buffer));
- status_color=color_orange;
- }
-
- temp_buffer[sizeof(temp_buffer)-1]='\x0';
-
- /* write the host status string to the generated image... */
- draw_text(temp_buffer,x,y+gdFontSmall->h,status_color);
- }
-
return;
}
--- End Message ---
--- Begin Message ---
Version: 3.5.1.dfsg-2.2+rm
Dear submitter,
as the package nagios3 has just been removed from the Debian archive
unstable we hereby close the associated bug reports. We are sorry
that we couldn't deal with your issue properly.
For details on the removal, please see https://bugs.debian.org/845765
The version of this package that was in Debian prior to this removal
can still be found using http://snapshot.debian.org/.
This message was generated automatically; if you believe that there is
a problem with it please contact the archive administrators by mailing
[email protected].
Debian distribution maintenance software
pp.
Scott Kitterman (the ftpmaster behind the curtain)
--- End Message ---