Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 69415 - nagios-core-1.2-r2: Configuration files not being installed in /etc/nagios
Summary: nagios-core-1.2-r2: Configuration files not being installed in /etc/nagios
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Gentoo Netmon project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-10-29 08:36 UTC by Davin Boling
Modified: 2004-10-29 13:00 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Davin Boling 2004-10-29 08:36:54 UTC
Maybe I'm just misremembering things, but I'm pretty sure that the last time I did a fresh install of Nagios on a system that the default configuration files were being installed into /etc/nagios. (Unfortunately, I currently cannot confirm this because the machine I originally installed Nagios on suffered a critical disk failure)

As it currently stands, doing an emerge of nagios-core will not put default configuration files in /etc/nagios. This happens regardless of whether the mysql and postgres USEflags are set. The renamed (-sample) configuration files can still be found gzipped in /usr/share/doc/nagios-core-1.2-r2/sample-configs/, but they are not put in the default location.

Either this one slipped through the cracks because people have only been updating their older installs, there's been an announced change in the structuring of this ebuild that I was unable to find on Bugzilla, or I'm getting senile at an early age and these files never WERE installed to /etc/nagios by default.

Reproducible: Always
Steps to Reproduce:
1. emerge nagios-core
2. ls /etc/nagios ()

Actual Results:  
No config files are in /etc/nagios, unless the user also emerged nagios-nrpe or
nagios-nsca. In those cases the nrpe or nsca config files may be present, but
the nagios-core config files will be not.

Expected Results:  
There should be a copy of the example config files in /etc/nagios by default.
Comment 1 Davin Boling 2004-10-29 08:38:21 UTC
Typo in ls command, forgot to kill the parenthesis. Correct command:

ls /etc/nagios
Comment 2 Eldad Zack (RETIRED) gentoo-dev 2004-10-29 12:59:14 UTC
The example configs are in /usr/share/doc where they belong, since they doesn't really work and just serve as example.
I've updated the einfo to make that clearer.
Comment 3 Eldad Zack (RETIRED) gentoo-dev 2004-10-29 12:59:55 UTC
forgot to reassign to netmon...
Comment 4 Eldad Zack (RETIRED) gentoo-dev 2004-10-29 13:00:29 UTC
closing again