Nagios upgrade to 2.6 bumps using RPMs

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


Hi,

Just some notes before anyones picks up the nagios 2.6 RPM from DAG. Make 
sure to backup the config directory (as always).


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.


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


This is also reported to the packager.

Hugo.

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

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Nagios-users mailing list
Nagios-users at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. 
::: Messages without supporting info will risk being sent to /dev/null





More information about the Users mailing list