[Pkg-nagios-devel] Re: Bug#341748: ITP: nagios2 -- A host/service/network monitoring and management system

Marc Haber mh+pkg-nagios-devel at zugschlus.de
Mon Dec 19 14:16:46 UTC 2005


On Thu, Dec 15, 2005 at 12:41:17PM -0500, Sean Finney wrote:
> > On Mon, Dec 12, 2005 at 05:23:09PM -0500, Sean Finney wrote:
> > > > However, the resulting packages don't seem to be installable, since
> > > > nagios2-common conflicts with nagios-text, which nagios2 provides. I
> > > > will fix that tonight, but you might want to inspect the svn
> > > > repository before.
> > > 
> > > ah, yes.  i suppose that should be
> > > 
> > > nagios2-common: depends on nagios2, conflicts/replaces nagios-common
> > > nagios2: conflicts/replaces nagios-text

I therefore suggest the attached patch to debian/control. With this
patch, nagios2 does install and cleanly replaces nagios and
nagios-common.

I have also re-worked the package descriptions a bit, putting the
information important for the local admin first.

I have not yet committed.

Some more things I noticed while working on the package:

- Why does nagios-common depend on fileutils? fileutils currently is
  only an empty transition package. I'd vouch for removing the
  fileutils dependency in favor of the already present coreutils
  dependency.
- Shouldn't apache2 be the primary http server depended on?
- nagios-text has much stricter depends on nagios-plugins, and
  installing nagios-text pulls nagios-plugins, nagios-plugins-basic and
  nagios-plugins-standard. What's the reason for nagios2 only
  depending on nagios-plugins and not on -basic and -standard?
- nagios2 doesn't do debconf at all. Is this only "still missing", or
  did you decide to remove the debconfization?
- Since nagios2 re-uses /etc/nagios and probably /var/foo/nagios
  (didn't look), we might get in trouble if the local admin decides to
  purge nagios after installing nagios2. I'd like to propose going for
  /etc/nagios2 and /var/foo/nagios2, avoiding conflicts with nagios.

What is your opinion about that?

Greetings
Marc

-- 
-----------------------------------------------------------------------------
Marc Haber         | "I don't trust Computers. They | Mailadresse im Header
Mannheim, Germany  |  lose things."    Winona Ryder | Fon: *49 621 72739834
Nordisch by Nature |  How to make an American Quilt | Fax: *49 621 72739835
-------------- next part --------------
--- debian/control	(revision 14)
+++ debian/control	(working copy)
@@ -8,12 +8,11 @@
 
 Package: nagios2-common
 Architecture: all
-Depends: fileutils (>=4.0y) | coreutils (>= 4.5.3), apache | httpd, mailx, nagios-plugins (>= 1.3.1.0-6) | nagios-plugins-basic, adduser, ${misc:Depends}
-Conflicts: nagios-text, nagios-mysql, nagios-pgsql, nagios-common
+Depends: nagios2, nagios-plugins (>= 1.3.1.0-6) | nagios-plugins-basic, fileutils (>=4.0y) | coreutils (>= 4.5.3), apache | httpd, mailx, adduser, ${misc:Depends}
+Conflicts: nagios-mysql, nagios-pgsql, nagios-common
 Replaces: nagios, nagios-common
 Description: A host/service/network monitoring and management system
- Nagios is a replacement of the Netsaint project. It accept and uses the
- previous Netsaint modules transparently.
+ Contains the common files for the nagios2 package.
  .
  Nagios is a host/service/network monitoring and management system. It has
  the following features: 
@@ -25,12 +24,17 @@
     pager, or user-defined method) 
  o  Ability to define event handlers to be run during service or host events
     (for proactive problem resolution) 
- o  Web output (current status, notifications, problem history, log file, etc.) 
+ o  Web output (current status, notifications, problem history, log file, etc.)
  .
- Nagios was written in C and is designed to be easy to understand and modify
- to fit your own needs.
+ Nagios is designed to be easy to understand and modify to fit your own needs.
  .
- This package contains the common files for the nagios2 package.
+ This package is the new version 2.x series of nagios, which will eventually
+ replace the 1.x versions.
+ .
+ Nagios is a replacement of the Netsaint project. It accept and uses the
+ previous Netsaint modules transparently.
+ .
+ Upstream URL: http://www.nagios.org/
 
 Package: nagios2
 Architecture: any
@@ -41,9 +45,6 @@
 Replaces: nagios, nagios-text, nagios-pgsql, nagios-mysql
 Provides: nagios, nagios-text
 Description: A host/service/network monitoring and management system
- Nagios is a replacement of the Netsaint project. It accept and uses the
- previous Netsaint modules transparently.
- .
  Nagios is a host/service/network monitoring and management system. It has
  the following features: 
  .
@@ -61,3 +62,8 @@
  .
  This package is the new version 2.x series of nagios, which will eventually
  replace the 1.x versions.
+ .
+ Nagios is a replacement of the Netsaint project. It accept and uses the
+ previous Netsaint modules transparently.
+ .
+ Upstream URL: http://www.nagios.org/


More information about the Pkg-nagios-devel mailing list