Page 1 of 1

Issue with Nagios XI installation at step A-subcomponents

Posted: Fri Apr 15, 2011 11:07 am
by thannht
Linux distro:
- Red Hat Enterprise Linux Server release 5.6 (Tikanga), 64-bit
Environment:
- POWER6 LPAR
Install:
- Manual install of Nagios XI

Issue:
- Having issue with step A-subcomponents (have successfully completed previous steps w/o serious issues)
- Output of error of script is as follows:
cd ./sample-config && make install
make[1]: Entering directory `/tmp/nagiosxi/subcomponents/pnp/pnp-0.4.14/sample-config'
rm -f /usr/local/nagios/share/pnp/conf/config.php
/usr/bin/install -c -m 755 -o nagios -g nagios -d /usr/local/nagios/etc/pnp
/usr/bin/install: `/usr/local/nagios/etc/pnp' exists but is not a directory
make[1]: *** [install] Error 1
make[1]: Leaving directory `/tmp/nagiosxi/subcomponents/pnp/pnp-0.4.14/sample-config'
make: *** [install] Error 2


- Checked Makefile in /tmp/nagiosxi/subcomponents/pnp/pnp-0.4.14/sample-config and SYSCONFDIR is set to /usr/local/nagios/etc/pnp
which is not a directory

Question:
- Should the SYSCONFDIR be set to something else or did something get missed in the install/build of PNP that the /usr/local/nagios/etc/pnp folder did not get created?

Thanks in advance

Re: Issue with Nagios XI installation at step A-subcomponent

Posted: Fri Apr 15, 2011 11:58 am
by rdedon
Hello,
I am going to run a test server and post the method I use here when completed to see if there are any oddities we are unaware of.

Re: Issue with Nagios XI installation at step A-subcomponent

Posted: Fri Apr 15, 2011 3:22 pm
by rdedon
The following method for setting up RHEL and installing Nagios XI works for me:

type "linux text" (not UI)
Register RHEL (this step is REQUIRED)
choose language
set up partition, networking, time zone, root password
Set up package selection DESELECT ALL, run, reboot.

In Setup Agent "exit".
Login.


Code: Select all

cd /tmp 

Code: Select all

wget http://assets.nagios.com/downloads/nagiosxi/xi-2011r1.2.tar.gz

Code: Select all

tar xzf xi-2011r1.2.tar.gz 

Code: Select all

cd /tmp/nagiosxi 

Code: Select all

./0-yum 

Code: Select all

./0-yum  [yes, this is twice] 

Code: Select all

./1-prereqs      

Code: Select all

./2-usersgroups    

Code: Select all

./3-dbservers

Code: Select all

./4-services

Code: Select all

./6-firewall 

Code: Select all

./7-sendmail

Code: Select all

./8-selinux 

Code: Select all

./9-dbbackups 

Code: Select all

./10-phplimits 

Code: Select all

./11-sourceguardian 

Code: Select all

./12-mrtg

Code: Select all

./13-cacti  

Code: Select all

./A-subcomponents 

Code: Select all

./B-installxi

Code: Select all

./C-cronjobs

Code: Select all

./D-chkconfigalldaemons

Code: Select all

./E-importnagiosql

Code: Select all

./F-startdaemons 

Code: Select all

./Z-webroot 
http://<xiserver>/

where <xiserver> is the IP address of the server you just installed Nagios XI on.



Tested and verified.


Could you please do an install like this and respond back with results?

Thank you.

Re: Issue with Nagios XI installation at step A-subcomponent

Posted: Tue Apr 19, 2011 9:24 am
by tonyyarusso
Two thoughts:
  • We haven't tested on POWER, so it's possible that has something different that's throwing things off. Tested architectures currently are x86 and x86_64.
  • I wonder if on the other architectures 'install' is a shell built-in rather than a standalone. I'm not sure if it is, but that could have different behavior.

Re: Issue with Nagios XI installation at step A-subcomponent

Posted: Tue Apr 19, 2011 9:41 am
by thannht
Thanks for the replies.

I have attempted the re-install with the same result as I posted earlier. Running Nagios XI on a POWER6 LPAR will not be our long-term solution (will eventually be built out on a Red Hat x86 platform), so I'm not investing any more effort in this direction. However, it would be nice to know if there are issues with this architecture.

I have gone ahead and downloaded the CentOS-based VM and that seems to be working well so far.

Thanks,
Tom

Re: Issue with Nagios XI installation at step A-subcomponent

Posted: Tue Apr 19, 2011 10:19 am
by mguthrie
However, it would be nice to know if there are issues with this architecture.
Agreed, we'll have to do some testing on that at some point.

Glad the VM is working well for you! Let us know if you have any additional questions.