[Pkg-nagios-devel] Bug#528267: nagios3-common: Default service_description for NSClient++ in sample windows.cfg causes error in web interface

Soren Stoutner sorens at h3solution.com
Mon May 11 19:59:19 UTC 2009

Package: nagios3-common
Version: 3.0.6-3
Severity: normal

The default service_description in the sample windows.cfg files is:

service_description	NSClient++ Version

This causes a problem with the web interface when trying to load detailed information about the check.  The URL for the check is generated as 


The + in the URL represent spaces.  Nagios is misrepresenting +++ as three spaces, which leads to a webpage with this error:

	It appears as though you do not have permission to view information for this service...

	If you believe this is an error, check the HTTP server authentication requirements for accessing this CGI
	and check the authorization options in your CGI configuration file.

Changing the service_description as follows solves the problem:

service_description     NSClient Version

The resulting URL is:


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

Kernel: Linux 2.6.26-2-amd64 (SMP w/1 CPU core)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages nagios3-common depends on:
ii  adduser            3.110                 add and remove users and groups
ii  apache2-utils      2.2.11-3              utility programs for webservers
ii  bsd-mailx [mailx]  8.1.2-0.20081101cvs-2 A simple mail user agent
ii  coreutils          7.2-1                 The GNU core utilities
ii  debconf [debconf-2 1.5.26                Debian configuration management sy
ii  lsb-base           3.2-22                Linux Standard Base 3.2 init scrip
ii  nagios-plugins-bas 1.4.12-5              Plugins for the nagios network mon
ii  nagios3-doc        3.0.6-3               documentation for nagios3
ii  ucf                3.0018                Update Configuration File: preserv

Versions of packages nagios3-common recommends:
ii  apache2                       2.2.11-3   Apache HTTP Server metapackage
ii  apache2-mpm-prefork [httpd]   2.2.11-3   Apache HTTP Server - traditional n
ii  nagios-images                 0.4        Collection of images and icons for
ii  nagios-plugins                1.4.12-5   Plugins for the nagios network mon

nagios3-common suggests no packages.

-- debconf information:
  nagios3/nagios1-in-apacheconf: false
  nagios3/httpd: apache2

More information about the Pkg-nagios-devel mailing list