Page 1 of 1

Nagios xi 2011r1 install issue

Posted: Sat Mar 05, 2011 10:04 pm
by sal@coned
Operating system CentOS 5.5 (32 bit) [running as a guest on VMware ESX host]
Nagios 2011r1


I am doing a manual install because I need a larger disk space, I have not been successful at increasing the disk size on an existing Linux VM.

error running script 1-prereqs [No package perl-CPAN available]

The output from the script is :
Installing prerequisites...
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
* addons: mirror.batblue.com
* base: hpc.arc.georgetown.edu
* epel: mirror.seas.harvard.edu
* extras: mirror.batblue.com
* rpmforge: fr2.rpmfind.net
* updates: centos.mirror.nac.net
Setting up Install Process
Installing prerequisites...
No package perl-CPAN available

thanks
Sal

Re: Nagios xi 2011r1 install issue

Posted: Mon Mar 07, 2011 12:13 pm
by mguthrie
Not sure where you're at on either of these, but I figure we'll start from the beginning.

Here's a doc on resizing a VM disk.
http://library.nagios.com/library/produ ... -disk-size

Here's our manual installation doc.
http://assets.nagios.com/downloads/nagi ... stallation

Can you verify that you are running the installer from the /tmp/nagiosxi directory and that you've run the 0-yum installer script?

(There is also a 'full_install' script now that will run through all of the steps for you if you want).

Re: Nagios xi 2011r1 install issue

Posted: Mon Mar 07, 2011 4:25 pm
by sal@coned
Thanks for the links.
It looks like the PDF on resizing the disk will solve my issues.

On the manual install process, I followed the procedures outlined in the instructions and whrn you run the second script "1-prereqs" the script fails and it does not install the perlCPAN module.

As I mentioned in my case resizing the disk was my main concern, but I am curious why the script fails,

Thanks
Sal

Re: Nagios xi 2011r1 install issue

Posted: Tue Mar 08, 2011 10:46 am
by tonyyarusso
There actually is no perl-CPAN package on some of the systems we support, so it's there for compatibility with others but fails on those. There's a comment to this effect in the script source, but it could be more clear (and will be in a later version of the installer).