[Pkg-nagios-devel] Bug#342010: nagios-common: Some info about cfg_dir and nagioshost in README.Debian

Libor Klepac libor.klepac at bcom.cz
Sun Dec 4 19:19:03 UTC 2005


Package: nagios-common
Version: 2:1.3-cvs.20050402-10
Severity: wishlist

Hello,
what about enabling support for splitted up configuration of services(or
others?) ?
Like this...in /etc/nagios/nagios.cfg

cfg_file=/etc/nagios/services.cfg                                               
cfg_dir=/etc/nagios/services

/etc/nagios/services.cfg should contain only templates, all hosts will
have separate file in /etc/nagios/services.
I have very large service.cfg file and this separation helped me.
I think, there is no need to modify shipped services.cfg, enabling support
for directory based configuration and mentioning it in README.Debian should be enought.

Second thing,
in
/usr/lib/nagios/plugins/eventhandlers/distributed-monitoring/submit_check_result_via_nsca
there is hardcoded hostname nagioshost. 
Maybe you should mention in README.Debian, that users who want to use
this script, should put some ip address to /etc/hosts or overwrite it in
this script.

thanks

libor klepac

-- System Information:
Debian Release: testing/unstable
  APT prefers unstable
  APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.12-luc-1
Locale: LANG=cs_CZ, LC_CTYPE=cs_CZ (charmap=ISO-8859-2)

Versions of packages nagios-common depends on:
ii  adduser          3.80                    Add and remove users and groups
ii  apache [httpd]   1.3.34-1                versatile, high-performance HTTP s
ii  apache2-mpm-pref 2.0.55-3                traditional model for Apache2
ii  coreutils [fileu 5.93-5                  The GNU core utilities
ii  debconf [debconf 1.4.61                  Debian configuration management sy
ii  mailx            1:8.1.2-0.20050715cvs-1 A simple mail user agent
ii  nagios-plugins   1.4.2-5                 Plugins for the nagios network mon
ii  nagios-plugins-b 1.4.2-5                 Plugins for the nagios network mon

nagios-common recommends no packages.

-- debconf information:
* nagios/wwwsuid: true
* nagios/configapache: Apache




More information about the Pkg-nagios-devel mailing list