> -----Original Message-----
> From: Anirudh Srinivasan [mailto:srianir...@gmail.com]
> Sent: Friday, April 10, 2009 3:16 PM
> To: nagios-users@lists.sourceforge.net
> Subject: [Nagios-users] upgrading nagios
> 
> has anyone done upgrage from 2.x to 3.x
> the previous guy  who has installed 2.8 had specified different
> directories , instead of /usr/local/nagios. I almost figured it out
what
> the directories are.
> 
> Now should i specify them in ./configure
> 
> --bindir=/usr/bin
> --sbindir=/usr/lib/nagios/cgi
> --datadir=/usr/share/nagios
> --sysconfdir=/etc/nagios
> --localstatedir=/var/log/nagios
> 
> What is --prefix will do, and is there any thing else that is left
over?
> Can any one guide me through proper direction
> 
> 
> --
> Anirudh Srinivasan
> 


--prefix=/usr/local/nagios would install all files in:
/usr/local/nagios/ . (i.e /usr/local/nagios/bin ,/usr/local/nagios/etc
[....]

In other words, it would put the whole nagios install under
/usr/local/nagios, the "default" location if you do not specify an
alternate prefix.

Personally, if I were you, I would _not_ rebuild it in a non-standard
way like you mention above unless you have very good reason to do so -
Yes, there may be more work involved, but the end result will be worth
it.

(The guy who takes over your job down the road will also be grateful,
and you won't have to hunt over the whole system to find the stuff you
need!)

Cheers,
Jamie

------------------------------------------------------------------------------
This SF.net email is sponsored by:
High Quality Requirements in a Collaborative Environment.
Download a free trial of Rational Requirements Composer Now!
http://p.sf.net/sfu/www-ibm-com
_______________________________________________
Nagios-users mailing list
Nagios-users@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

Reply via email to