Page 1 of 1

Reinstall Neptune theme

Posted: Tue Dec 10, 2024 6:08 pm
by WadeTripp
Hello,

I am installing from the 64 bit Nagios XI from a VMware and after installing SSL/Digicert, I can no longer have the neptune theme. The directory was removed that had theme located at usr/local/nagios/share/themes/neptune after doing an sudo yum install nagiosxi and other things. What is the best way, or would it be better for me to start from scratch or any other advice to a newbie when it comes to linux?

Thanks,

Wade

Re: Reinstall Neptune theme

Posted: Wed Dec 11, 2024 10:30 am
by jsimon
Hi @WadeTripp,

Can you advise what version of Nagios XI you have installed currently? A list of which explicit steps you took to install Nagios XI on the server you are working with would be helpful to gain an understanding of the state you are currently in.

Re: Reinstall Neptune theme

Posted: Wed Dec 11, 2024 2:02 pm
by WadeTripp
The most recent one of Your XI Version: 2024R1.3.1

I documented creating it and if reinstalling, I can do that, just wanting to fix it and/or know how I messed up so I won't do it again.

Thanks,

Wade

Re: Reinstall Neptune theme

Posted: Wed Dec 11, 2024 2:20 pm
by DoubleDoubleA
The one thing I notice is that you mention both VMWare and also running yum install nagiosxi. Typically you would have done one or the other, but not both on the same machine.

If you download the OVA file for VMWare, you should be able to run that directly as an OVA from your VMWare interface. That is by far the easiest way to get up and running.

I don't recommend an RPM install (yum install) for a linux newbie.

If you have access to a VMWare environment, I would start over with the OVA you initially downloaded, and fire that up fresh.

Aaron

Re: Reinstall Neptune theme

Posted: Wed Dec 11, 2024 3:02 pm
by sgardil
Could you go over a bit on the steps you took to install XI? If like the post above mentioned, you installed with an OVA then you shouldnt need to run yum install nagiosxi as that would be needed for the rpm install. The easiest steps for installation would be downloading the OVA file and opening it via VMWare since it sounds like you have some experience with VMWare. It sounds like the easiest way would be to restart from scratch assuming you havnt set up anything yet that has data. If you do you could do a reinstall and restore from a backup. I'm not sure what would cause you to lose access to the Neptune theme but also the location looks odd that you mentioned had the Neptune theme to begin with since /nagios is generally for core while /nagiosxi is for XI.

Here is some documentation for install nagios XI via using wget or rpm's
https://nagiosenterprises.my.site.com/s ... 4-5d1c3f10

And here is a doc that shows the OVA process (and some vmware setup that you can skip if you are privy)
https://assets.nagios.com/downloads/nag ... Player.pdf

Re: Reinstall Neptune theme

Posted: Wed Dec 11, 2024 5:28 pm
by WadeTripp
Hello,

I installed Nagios XI via the OVA, it seemed to work, or at least the first part did in pulling up Nagios .

I then did several steps i think were normal

1.) Hide the audio with # in the .wmv file so it can migrate between various VMblades
2.) Change the password root
3.) Modify the motd and custom-motd.sh and some alias rm='rm -i'
(Today's date, update, disk usage)
4.) Modify the ens33.nmconnection to have a static IP

Code: Select all


[ipv4]
address1=172.16.0.17/16,172.16.254.254
dns=172.16.1.81;
dns-search=172.16.1.80;
method=manual
5.) Ran the yum update -y/reboot
6.) Install pico
7.) Installed the trial key
8.) logged in to check for update
9.) Installed the wildcard SSL by modifing the nagios.conf

Code: Select all

<VirtualHost *:443>
ServerName newnagios.....

10.) Update to auto redirect to port 443 for 80 traffic

Code: Select all

<VirtualHost *:80>
    ServerName newnagios.park.edu
    ServerAlias *.park.edu
    Redirect permanent / https://newnagios.park.edu/
</VirtualHost>
I then went to test it and then failure, it gave the issue that Neptune was not installed. The file that I thought Neptune would be in /usr/local/nagios/share/themes/ was gone

11.) I then started to mess around trying to reinstall the Neptune theme/nagiosxi with no luck

Now the question is if there an easy way to reinstall Neptune, not use Neptune (And I am afraid there might be other surprises) or start from scratch and be more careful installing the Wildcard SSL from digicert.

I am a windows programmer that was tossed the Nagios machine after it was purchased 6+ years ago and has gone though three other administrators trying to keep it up to date. I am trying to start over with a clean Nagios and learning the full details up and down.

Any knowledge would be appropriated,

Wade

Re: Reinstall Neptune theme

Posted: Wed Dec 11, 2024 5:43 pm
by jmichaelson
Did you explicitly update nagiosxi via rpm? What is the output of

Code: Select all

yum info nagiosxi
?

Re: Reinstall Neptune theme

Posted: Thu Dec 12, 2024 12:33 pm
by WadeTripp
I got

Code: Select all

Installed Packages
Name         : nagiosxi
Version      : 2024R1.3.1
Release      : 1.el9
Architecture : x86_64
Size         : 165 M
Source       : nagiosxi-2024R1.3.1-1.el9.src.rpm
Repository   : @System
From repo    : nagios-base
Summary      : Nagios XI IT infrastructure monitoring solution
URL          : http://www.nagios.com/
License      : Nagios Software License
Description  : Nagios XI is the most powerful IT infrastructure monitoring
             : solution on the market. Nagios XI extends on proven,
             : enterprise-class Open Source components to deliver the best
             : monitoring solution for today's demanding organizational
             : requirements. Designed for scalability and flexibility, XI is
             : designed to make problematic IT monitoring tasks simple, while
             : retaining the powerful attributes of its enterprise-class
             : foundation blocks.
             
Available Packages
Name         : nagiosxi
Version      : 2024R1.3.2
Release      : 1.el9
Architecture : x86_64
Size         : 62 M
Source       : nagiosxi-2024R1.3.2-1.el9.src.rpm
Repository   : nagios-base
Summary      : Nagios XI IT infrastructure monitoring solution
URL          : http://www.nagios.com/
License      : Nagios Software License
Description  : Nagios XI is the most powerful IT infrastructure monitoring
             : solution on the market. Nagios XI extends on proven,
             : enterprise-class Open Source components to deliver the best
             : monitoring solution for today's demanding organizational
             : requirements. Designed for scalability and flexibility, XI is
             : designed to make problematic IT monitoring tasks simple, while
             : retaining the powerful attributes of its enterprise-class
             : foundation blocks.
             

Re: Reinstall Neptune theme

Posted: Thu Dec 12, 2024 1:47 pm
by WadeTripp
And I did not explicitly post yum info nagiosxi

Though I did do some yum nagiosxi updates to see if that would fix it.