install of nagios

Marc Powell marc at ena.com
Thu Feb 16 16:34:27 CET 2006


The documentation is _slightly_ deficient and presumes that your ran all
the make targets below.

*** Compile finished ***

If the main program and CGIs compiled without any errors, you
can continue with installing Nagios as follows (type 'make'
without any arguments for a list of all possible options):

  make install
     - This installs the main program, CGIs, and HTML files

  make install-init
     - This installs the init script in /etc/rc.d/init.d

  make install-commandmode
     - This installs and configures permissions on the
       directory for holding the external command file

  make install-config
     - This installs *SAMPLE* config files in /usr/local/etc
       You'll have to modify these sample files before you can
       use Nagios.  Read the HTML documentation for more info
       on doing this.  Pay particular attention to the docs on
       object configuration files, as they determine what/how
       things get monitored!

As you can see, you want to run 'make install-commandmode' and 'make
install-config'. You indicate your ran' make install-config' below. Did
you run it from the same -compiled- nagios source as your original
install? That would be the only reason I can think that the ~nagios/etc
directory wouldn't be created when you run that target. If you continue
to have problems, post the output of your run of 'make install-config'.

--
Marc

> -----Original Message-----
> From: john matijevic [mailto:john.matijevic at gmail.com]
> Sent: Thursday, February 16, 2006 7:12 AM
> To: Marc Powell
> Cc: nagios-users at lists.sourceforge.net
> Subject: Re: [Nagios-users] install of nagios
> 
> Hello Team,
> Thanks again for all of your assistance, as it's been a while and I am
not
> as experienced in Linux. Again the issue is after I go to run the
> configure command and the make all, make install and make
install-config,
> according to the documentation I should see 5 different
subdirectories,
> the directories I see are bin, sbin, share, and var and var/archives.
The
> directories I am missing is VAR/RW and ETC. Thanks again for all of
your
> help. When I did the installation I was logged in with root.
> 
> Sincerely,
> John
> 
> 
> On 2/15/06, Marc Powell <marc at ena.com> wrote:
> 
> 
> 
> 	> -----Original Message-----
> 	> From: nagios-users-admin at lists.sourceforge.net <mailto:nagios-
> users-admin at lists.sourceforge.net>  [mailto:nagios-users-
> 	> admin at lists.sourceforge.net] On Behalf Of john matijevic
> 	> Sent: Wednesday, February 15, 2006 7:17 AM
> 	> To: nagios-users at lists.sourceforge.net
> 	> Subject: [Nagios-users] install of nagios
> 	>
> 	> Hello Team,
> 	> I am having trouble with installation of Nagios, I get to the
> point in
> 	the
> 	> beginning after the install it is supposed to install 5
> directories, I
> 	am
> 	> only seeing 4 directories, I am installing as Root so its not
a
> 	permission
> 	> issue. Please advise.
> 
> 	Examine the install targets that are displayed after compile
> finishes
> 	and use the one you're lacking. A totally arbitrary guess would
be
> 'make
> 	install-config'. As others have indicated, you need to provide
> specific
> 	information about your problem if you expect specific answers.


-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid3432&bid#0486&dat1642
_______________________________________________
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