[users] Nagios 2.6?

Hugo van der Kooij hvdkooij at vanderkooij.org
Wed Dec 13 08:00:20 CET 2006


On Mon, 11 Dec 2006, Hugo van der Kooij wrote:

> Is an update of Nagios to 2.6 planned for the repository?

Just got the upgrade. But I lost some files in the upgrade and had to 
restore them from backup.

In /etc/nagios the files checkcommands.cfg and misccommands.cfg are 
deleted and replaced by an incompatible file called command-plugins.cfg 
which is not even in the proper format for Nagios:

# Note: Use the convertcfg program in the contrib directory of the Nagios
#   distribution to convert this file into a object file format.

for misccommands.cfg there also was a *.rpmsave version but the other one 
was just gone.

You may want to look into this issue and see why avalid and required 
config file was destroyed.


There is also a bug in 1 of the nagios-plugins for which the following 
tiny diff file is the answer:

--- check_linux_raid.pl.SHIPPED 2006-12-13 07:47:01.000000000 +0100
+++ check_linux_raid.pl 2006-12-13 07:47:40.000000000 +0100
@@ -23,7 +23,7 @@
  #        WARNING md0 status=[UUU_U], recovery=46.4%, finish=123.0min

  use strict;
-use lib utils.pm;
+#use lib utils.pm;
  use utils qw(%ERRORS);

  # die with an error if we're not on Linux

Hugo.

-- 
 	hvdkooij at vanderkooij.org	http://hvdkooij.xs4all.nl/
 	    This message is using 100% recycled electrons.



More information about the users mailing list