View previous topic :: View next topic |
Author |
Message |
jgaynor n00b
Joined: 24 Feb 2003 Posts: 10 Location: New Brunswick, NJ
|
Posted: Thu Mar 27, 2003 9:13 pm Post subject: Nagios woes . . . |
|
|
Hey all - I just emerged the current ebuild of Nagios and I dont think it went very well . I realize it installs unconfigured, but the /nagios directory in my http root isn't even there. ANyone else have similar problems? |
|
Back to top |
|
|
kashani Advocate
Joined: 02 Sep 2002 Posts: 2032 Location: San Francisco
|
Posted: Thu Mar 27, 2003 10:25 pm Post subject: check the nagios conf files |
|
|
from more /etc/apache/conf/addon-modules/nagios.conf it looks like nagios runs out of /usr/nagios/share/ for the web dir. Also you'll need to edit your /etc/conf.d/apache to load the nagios module.
kashani _________________ Will personally fix your server in exchange for motorcycle related shop tools in good shape. |
|
Back to top |
|
|
jgaynor n00b
Joined: 24 Feb 2003 Posts: 10 Location: New Brunswick, NJ
|
Posted: Fri Mar 28, 2003 12:39 am Post subject: Thanks! |
|
|
kashani, you da man. I couldn't find any documentation that said I had to create a symlink out of my apache root to the nagios directory. Thanks alot and I hope this helps the next confused newb out . |
|
Back to top |
|
|
kashani Advocate
Joined: 02 Sep 2002 Posts: 2032 Location: San Francisco
|
Posted: Fri Mar 28, 2003 1:29 am Post subject: Re: Thanks! |
|
|
jgaynor wrote: | kashani, you da man. I couldn't find any documentation that said I had to create a symlink out of my apache root to the nagios directory. Thanks alot and I hope this helps the next confused newb out . |
Actually you shouldn't need to do that. When you emerged nagios is should have asked you run:
Code: |
ebuild /var/db/pkg/net-analyzer/nagios-core-1.0-r1/nagios-core-1.0-r1.ebuild config |
This adds /etc/apache/conf/addon-modules/nagios.conf to your apache.conf so that it becomes a link within apache. When you run apache with -D NAGIOS, configured in /etc/conf.d/apache, it takes care of all the linking for you.
kashani _________________ Will personally fix your server in exchange for motorcycle related shop tools in good shape. |
|
Back to top |
|
|
paul138 Guru
Joined: 09 Aug 2002 Posts: 370 Location: Ottawa, ON
|
Posted: Fri Mar 28, 2003 3:26 pm Post subject: |
|
|
And don't forget to start the process after you've spent 2 hours editing the config files _________________ Talk is cheap because supply always exceeds demand. |
|
Back to top |
|
|
|