Issue with Nagios xi installation at step A-subcomponents

This support forum board is for support questions relating to Nagios xi, our flagship commercial network monitoring solution.
thannht
Posts: 2
Joined: Thu Apr 14, 2011 8:48 am

Issue with Nagios xi installation at step A-subcomponents

Post 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
rdedon
Posts: 578
Joined: Sat Nov 20, 2010 4:51 pm

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

Post 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.
Rene deDon
Technical Team
___
Nagios Enterprises, LLC
Web: http://www.nagios.com
rdedon
Posts: 578
Joined: Sat Nov 20, 2010 4:51 pm

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

Post 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.
Rene deDon
Technical Team
___
Nagios Enterprises, LLC
Web: http://www.nagios.com
tonyyarusso
Posts: 1128
Joined: Wed Mar 03, 2010 12:38 pm
Location: St. Paul, MN, USA

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

Post 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.
Tony Yarusso
Technical Services
___
TIES
Web: http://ties.k12.mn.us/
thannht
Posts: 2
Joined: Thu Apr 14, 2011 8:48 am

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

Post 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
mguthrie
Posts: 4380
Joined: Mon Jun 14, 2010 10:21 am

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

Post 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.