Page 1 of 1

New NagiosXI installation problem

Posted: Tue Aug 24, 2010 1:03 am
by fkroeger
I've just completed a manual install on NagiosXI on a server running RHEL5.5 32bit.
I've followed the Manual Installation Instructions and apart from the installation directory being in a different location (it untars to /tmp/nagiosxi instead of /tmp/xi as per the docs) everything seems to complete OK as I run steps 0 to Z.
What I've found is that the /usr/local/nagiosxi directory does not have the html folder or files (apart from the etc folder) so I can't connect to the nagiosxi web page.
Also noticed that /tmp/nagiosxi/fullinstall file is empty?

Any thoughts on what I've missed? Thanks...... Fred

Re: New NagiosXI installation problem

Posted: Tue Aug 24, 2010 10:37 am
by tonyyarusso
(it untars to /tmp/nagiosxi instead of /tmp/xi as per the docs)
True - the docs need updating.
as I run steps 0 to Z
I've found that I occasionally get confused and miss a step - are you sure that didn't happen?
the /usr/local/nagiosxi directory does not have the html folder or files
I think the B-installxi is responsible for this part - perhaps try just running that again?
Also noticed that /tmp/nagiosxi/fullinstall file is empty?
That's normal - it's something we've been toying with using but haven't yet.

Re: New NagiosXI installation problem

Posted: Tue Aug 24, 2010 7:22 pm
by fkroeger
Thanks for the response - yes I'm sure I didn't miss a step - in fact I have run the installation twice now with the same result.
But you did make me take a closer look at the B script. In fact the problem was that I redefined the "proddir" variable in init.sh so that I could install Nagios on a bigger disk. It appears that in all the scripts the proddir variable isn't used as some scripts still copy stuff over to /usr/local/nagiosxi (instead of proddir).
Anyway, I have returned proddir to the original value of /usr/local/nagiosxi and everything is now in it's correct place. Now I can test the rest of it!
Once again Tony, thanks for your response and pointing me in the right direction.

regards Fred