"nagios3-common" package should not have configuration files named as "*-nagios2.cfg"

Bug #300660 reported by Anderson
20
This bug affects 3 people
Affects Status Importance Assigned to Milestone
nagios3 (Ubuntu)
Confirmed
Wishlist
Unassigned

Bug Description

Binary package hint: nagios3-common

In Ubuntu 9.04, Nagios version is 3.0.3-3ubuntu1 (http://packages.ubuntu.com/jaunty/i386/nagios3-common), but configuration files follows a name convention from Nagios 2.x (http://packages.ubuntu.com/jaunty/i386/nagios3-common/filelist).

The files:
/etc/nagios3/conf.d/contacts_nagios2.cfg
/etc/nagios3/conf.d/extinfo_nagios2.cfg
/etc/nagios3/conf.d/generic-host_nagios2.cfg
/etc/nagios3/conf.d/generic-service_nagios2.cfg
/etc/nagios3/conf.d/hostgroups_nagios2.cfg
/etc/nagios3/conf.d/localhost_nagios2.cfg
/etc/nagios3/conf.d/services_nagios2.cfg
/etc/nagios3/conf.d/timeperiods_nagios2.cfg

Should be renamed to:
/etc/nagios3/conf.d/contacts_nagios3.cfg
/etc/nagios3/conf.d/extinfo_nagios3.cfg
/etc/nagios3/conf.d/generic-host_nagios3.cfg
/etc/nagios3/conf.d/generic-service_nagios3.cfg
/etc/nagios3/conf.d/hostgroups_nagios3.cfg
/etc/nagios3/conf.d/localhost_nagios3.cfg
/etc/nagios3/conf.d/services_nagios3.cfg
/etc/nagios3/conf.d/timeperiods_nagios3.cfg

Revision history for this message
Mark Foster (fostermarkd) wrote :

I respectfully disagree.

IMO they should not have "nagios3" or "nagios2" in the path names at all, instead...
/etc/nagios/conf.d/contacts.cfg
/etc/nagios/conf.d/extinfo.cfg

This matches up with the paths from nagios-plugins and is the better approach.

Nobody is going to feasibly run nagios2 & nagios3 on the same host, and the nagios-plugins are not using those (version-specific) paths either... so you end up with a mix of /etc/nagios & /etc/nagios3 what sense does that make?

Please go back to using /etc/nagios/ as the configuration base.

Revision history for this message
Anderson (amg1127) wrote :

This is also a good idea... Actually, it's better than mine.

Anyway... I just wish not to mix "nagios3" & "nagios2" terms in paths... This mix seems so strange...

Thierry Carrez (ttx)
Changed in nagios3:
importance: Undecided → Wishlist
status: New → Confirmed
Revision history for this message
Jarl (jarl-dk) wrote :

I agree with mark Fosters proposal on names...

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.