[Pkg-nagios-devel] Bug#488822: Bug#488822: nagios-plugins: overwrites configuration on upgrade
Jan Wagner
waja at cyconet.org
Tue Jul 1 14:54:53 UTC 2008
Hi Andreas,
On Tuesday 01 July 2008 16:36, Andreas Unterkircher wrote:
> [UPGRADE] nagios-plugins 1.4.11-2 -> 1.4.12-1
> [UPGRADE] nagios-plugins-basic 1.4.11-2 -> 1.4.12-1
> [UPGRADE] nagios-plugins-standard 1.4.11-2 -> 1.4.12-1
>
> For me it seems it has overwritten all files in
> /etc/nagios-plugins/config, except check_nrpe.cfg. All others have
> newer timestamps.
ls: cannot access /etc/nagios-plugins/config/check_nrpe.cfg: No such file or
directory.
Anyways .. I updated most of the check definitions, only apt.cfg and vsz.cfg
was untouched. So it's not surprisingly that there are newer timestamps, but
your should be files only touched if you ucf allows todo so.
> At least it has backuped my modifications as there are now some
> .ucf-dist files in the directory.
.ucf-dist files are the files the packages ships with, but wasn't allowed to
update via ucf:
#
diff -Nur /etc/nagios-plugins/config/dummy.cfg /etc/nagios-plugins/config/dummy.cfg.ucf-dist
--- /etc/nagios-plugins/config/dummy.cfg 2008-07-01 16:47:05.000000000
+0200
+++ /etc/nagios-plugins/config/dummy.cfg.ucf-dist 2008-06-18
11:55:08.000000000 +0200
@@ -25,7 +25,5 @@
# return-numeric definition
define command {
command_name return-numeric
- command_line /usr/lib/nagios/plugins/check_dummy $ARG1$
+ command_line /usr/lib/nagios/plugins/check_dummy '$ARG1$'
}
-
-# I'm a dummy comment
With kind regards, Jan.
--
Never write mail to <waja at spamfalle.info>, you have been warned!
-----BEGIN GEEK CODE BLOCK-----
Version: 3.1
GIT d-- s+: a- C+++ UL++++ P+ L+++ E- W+++ N+++ o++ K++ w--- O M V- PS PE
Y++ PGP++ t-- 5 X R tv- b+ DI- D++ G++ e++ h-- r+++ y+++
------END GEEK CODE BLOCK------
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://lists.alioth.debian.org/pipermail/pkg-nagios-devel/attachments/20080701/f2ae438e/attachment.pgp
More information about the Pkg-nagios-devel
mailing list