Page 1 of 1

nagiosXI Install Issues

Posted: Wed Nov 09, 2011 10:04 am
by rdhall01
I have run into a few issues most of I have worked thru. I have an issue with the ./A-subcomponents script I keep getting the folowinig error
ERROR: PNP install appears to have failed - exiting. Missing file = /usr/local/nagios/etc/pnp/process_perfdata.cfg
ERROR: Subcomponent 'pnp' installation failed - exiting.


PNP4Nagios was installed with Yum and no errors. I am just looking how to resolve the issue to continue on with the installlation :D

OS Redhat 5.5
NagiosXI xi-2011r1.8.tar.gz

I get the same thing if I run the ./install script from /tmp/nagiosxi/subcomponents/pnp
make[1]: Leaving directory `/tmp/nagiosxi/subcomponents/pnp/pnp-latest/scripts'
/tmp/nagiosxi/subcomponents/pnp
PNP-POST
cp: accessing `/usr/local/nagios/etc/pnp/rra.cfg': Not a directory
cp: accessing `/usr/local/nagios/etc/pnp/process_perfdata.cfg': Not a directory
mkdir: cannot create directory `/usr/local/nagios/var/stats': File exists
ERROR: PNP install appears to have failed - exiting. Missing file = /usr/local/nagios/etc/pnp/process_perfdata.cfg
[root@NAGIOSXI pnp]# pwd
/tmp/nagiosxi/subcomponents/pnp
[root@NAGIOSXI pnp]#

Re: nagiosXI Install Issues

Posted: Wed Nov 09, 2011 11:25 am
by nscott
So when you say pnp4nagios was installed with yum and no errors does that mean you manually installed pnp4nagios using yum?

Re: nagiosXI Install Issues

Posted: Wed Nov 09, 2011 11:38 am
by rdhall01
actually i was mistaken... I tried that to see if it would help (more of a troubleshooting step) , but it didn't I uninstalled after installing thru yum. I then went thru the scripts and found out where pnp was being installed from and tried the install script and got he same issue

make[1]: Leaving directory `/tmp/nagiosxi/subcomponents/pnp/pnp-latest/scripts'
/tmp/nagiosxi/subcomponents/pnp
PNP-POST
cp: accessing `/usr/local/nagios/etc/pnp/rra.cfg': Not a directory
cp: accessing `/usr/local/nagios/etc/pnp/process_perfdata.cfg': Not a directory
mkdir: cannot create directory `/usr/local/nagios/var/stats': File exists
ERROR: PNP install appears to have failed - exiting. Missing file = /usr/local/nagios/etc/pnp/process_perfdata.cfg
[root@NAGIOSXI pnp]# pwd
/tmp/nagiosxi/subcomponents/pnp

Re: nagiosXI Install Issues

Posted: Tue Dec 20, 2011 2:23 pm
by lmiltchev
Are you behind a proxy? NAT, SSL?