[Pkg-nagios-devel] Bug#502080: nagios3-common: please write debug output under /var/log

Ferenc Wagner wferi at niif.hu
Mon Oct 13 12:34:00 UTC 2008


Package: nagios3-common
Version: 3.0.3-2
Severity: minor
Tags: patch

Hi,

Currently debug output is sent to  /var/lib/nagios3/nagios.debug, but
in my opinion it should be sent to /var/log/nagios3/nagios.debug
instead.  So why not:

--- nagios.cfg.orig	2008-10-13 14:31:17.830847094 +0200
+++ nagios.cfg	2008-10-13 14:31:29.006859707 +0200
@@ -1276,7 +1276,7 @@
 # DEBUG FILE
 # This option determines where Nagios should write debugging information.
 
-debug_file=/var/lib/nagios3/nagios.debug
+debug_file=/var/log/nagios3/nagios.debug
 
 
 
Thanks,
Feri.

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

Kernel: Linux 2.6.26-1-xen-686 (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.9-7               utility programs for webservers
ii  bsd-mailx [mailx]  8.1.2-0.20071201cvs-3 A simple mail user agent
ii  coreutils          6.10-6                The GNU core utilities
ii  debconf [debconf-2 1.5.22                Debian configuration management sy
ii  lsb-base           3.2-20                Linux Standard Base 3.2 init scrip
ii  nagios-plugins-bas 1.4.12-4              Plugins for the nagios network mon
ii  nagios3-doc        3.0.3-2               documentation for nagios3
ii  ucf                3.0010                Update Configuration File: preserv

Versions of packages nagios3-common recommends:
ii  apache2                       2.2.9-7    Apache HTTP Server metapackage
ii  apache2-mpm-worker [httpd]    2.2.9-7    Apache HTTP Server - high speed th
ii  nagios-images                 0.4        Collection of images and icons for
pn  nagios-plugins                <none>     (no description available)

nagios3-common suggests no packages.

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





More information about the Pkg-nagios-devel mailing list