Package: check-mk-config-nagios3
Version: 1.1.10-2
Severity: normal

* 'check_mk_templates.cfg' is wrongly installed in /etc/nagios3/objects/,
  should be in /etc/nagios3/conf.d/check_mk/

* when running 'check-mk -R' check_mk_objects.cfg is written to
  /etc/nagios3/conf.d/ but should also be in /etc/nagios3/conf.d/check_mk/

Attached is a patch for the sources.


-- System Information:
Debian Release: 6.0.3
  APT prefers stable-updates
  APT policy: (500, 'stable-updates'), (500, 'stable')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.32-5-amd64 (SMP w/24 CPU cores)
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)
Shell: /bin/sh linked to /bin/dash

-- no debconf information
diff -ur check-mk-1.1.10/debian/check-mk-config-nagios3.install check-mk-1.1.10-dfn/debian/check-mk-config-nagios3.install
--- check-mk-1.1.10/debian/check-mk-config-nagios3.install	2011-10-31 22:38:09.000000000 +0100
+++ check-mk-1.1.10-dfn/debian/check-mk-config-nagios3.install	2011-10-31 22:16:55.906918945 +0100
@@ -1,2 +1,2 @@
-usr/share/doc/check_mk/check_mk_templates.cfg etc/nagios3/objects
+usr/share/doc/check_mk/check_mk_templates.cfg etc/nagios3/conf.d/check_mk
 etc/check_mk/multisite.mk
diff -ur check-mk-1.1.10/debian/defaults.nagios3 check-mk-1.1.10-dfn/debian/defaults.nagios3
--- check-mk-1.1.10/debian/defaults.nagios3	2011-10-31 22:38:09.000000000 +0100
+++ check-mk-1.1.10-dfn/debian/defaults.nagios3	2011-10-31 22:05:46.210792388 +0100
@@ -22,7 +22,7 @@
 counters_directory          = '/var/lib/check_mk/counters'
 tcp_cache_dir               = '/var/lib/check_mk/cache'
 logwatch_dir                = '/var/lib/check_mk/logwatch'
-nagios_objects_file         = '/etc/nagios3/conf.d/check_mk_objects.cfg'
+nagios_objects_file         = '/etc/nagios3/conf.d/check_mk/check_mk_objects.cfg'
 rrd_path                    = '/var/lib/check_mk/rrd'
 nagios_command_pipe_path    = '/var/lib/nagios3/rw/nagios.cmd'
 nagios_status_file          = '/var/cache/nagios3/status.dat'

Reply via email to