Page 1 of 1

Updated URL looking copy of old information

Posted: Fri May 31, 2019 8:58 am
by mccrakem
Hi

URL - https://support.nagios.com/kb/article.php?id=555

Was updated on the 8th May, but the data that was there previously helped me to resolve an install issue
I was just on the site this morning and I wanted to take a note of the details that were needed from the page and noticed that the page has been updated and the information that I was looking for is no longer available.

Is there any chance that I can get a copy of the data that was there previously,
During the install process I got the following message

Error: Package: nagiosxi-deps-2014r2.6-1.noarch (/nagiosxi-deps-2014r2.6-1.noarch)
Requires: perl(Net::SMTP::TLS)
Error: Package: nagiosxi-deps-2014r2.6-1.noarch (/nagiosxi-deps-2014r2.6-1.noarch)
Requires: pymssql
You could try using --skip-broken to work around the problem
You could try running: rpm -Va --nofiles --nodigest
RESULT=1

and the URL above previously had information on creating a file depending on which OS you were using
I my case I am using Red Hat 6, so the file I had to create was

/etc/yum.repos.d/nagios-6.repo

but its the contents of the file that I am looking for from the page, it also had the details for Red Hat 7 as well so if I can get a copy of that information that would be great
I have searched but I cannot find the details anywhere

Thanks

Re: Updated URL looking copy of old information

Posted: Fri May 31, 2019 3:25 pm
by scottwilkerson
You can add the repositories with the instructions here
https://repo.nagios.com/?repo=rpm-rhel

One thing to note, you are installing nagiosxi 2014r2.6 ? This is an extremely old version of XI, and I can't even confirm that it will still install correctly.

Re: Updated URL looking copy of old information

Posted: Tue Jun 04, 2019 1:51 am
by mccrakem
Thanks Scott

Our image has the earlier version of Nagios as part of its config but after I get that installed I update to the version we are currently running
Which is nagiosxi 5.2.7 which is probably still very old and really should be updated

So to get the earlier version installed I need to create the nagios-6.repo file but the next time I'm doing an install I will install the repositories that you have provided and see how it goes

Thanks

Re: Updated URL looking copy of old information

Posted: Tue Jun 04, 2019 6:47 am
by scottwilkerson
To get the nagios-6.repo you would do the following

Code: Select all

rpm -Uvh https://repo.nagios.com/nagios/6/nagios-repo-6-3.el6.noarch.rpm
yum update

Re: Updated URL looking copy of old information

Posted: Tue Jun 11, 2019 4:07 am
by mccrakem
Hi Scott

I am going through the install on a nagiosxi server but I still getting the same error even after running the 2 command you suggested

rpm -Uvh https://repo.nagios.com/nagios/6/nagios ... noarch.rpm
yum update

When I try the ./fullinstall I still get the errors

Error: Package: nagiosxi-deps-2014r2.6-1.noarch (/nagiosxi-deps-2014r2.6-1.noarch)
Requires: perl(Net::SMTP::TLS)
Error: Package: nagiosxi-deps-2014r2.6-1.noarch (/nagiosxi-deps-2014r2.6-1.noarch)
Requires: pymssql
You could try using --skip-broken to work around the problem
You could try running: rpm -Va --nofiles --nodigest
RESULT=1


The last time I had to create the file /etc/yum.repos.d/nagios-6.repo with the details that were previously on the URL provided
by any chance is there a possibility of getting a copy of the old information

Re: Updated URL looking copy of old information

Posted: Tue Jun 11, 2019 7:01 am
by scottwilkerson
When you run this it should create that file

Code: Select all

rpm -Uvh https://repo.nagios.com/nagios/6/nagios-repo-6-3.el6.noarch.rpm
what do you see if you run this

Code: Select all

yum repolist
all that said, the file looks like this

Code: Select all

[nagios-base]
name=Nagios
baseurl=http://repo.nagios.com/nagios/6/
enabled=1
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-NAGIOS-V2

[nagiosxi-deps]
name=Nagios XI Dependencies
baseurl=http://repo.nagios.com/nagiosxi-deps/6/
enabled=1
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-NAGIOS-V2

Re: Updated URL looking copy of old information

Posted: Tue Jun 11, 2019 7:12 am
by mccrakem
Hi Scott

Thank you for the contents of the file that has got my install working

The file was created but it is empty

Thanks

Re: Updated URL looking copy of old information

Posted: Tue Jun 11, 2019 8:31 am
by scottwilkerson
mccrakem wrote:Hi Scott

Thank you for the contents of the file that has got my install working

The file was created but it is empty

Thanks
Glad it is sorted out

Locking thread