How To Install Nagvis On Centos Version

Posted on -
How To Install Nagvis On Centos Version 6,9/10 1031 votes
  1. Install Nagvis
Version

Before installing Nagios, make sure that you’ve a properly installed and configured LAMP stack in your server. To install and configure LAMP server, refer any one of the following links.

First things first, why CentOS 7 instead of 6? Well, CentOS 6 has issues with Python updating because of yum. Yes, you can install a separate instance, but it’s not fun and it can break down the road. Second, why not use the OVA provided by Nagios? As of September 2017, the version of Python on the OVA is ancient — 2.6.6. And because yum is tied to it, you can’t update it or you need to install a separate instance. Yuck! Just do yourself a favor and use CentOS 7 instead. 😉 Last but not least, it is super easy to do!Download the latest version of CentOS. We are going to use the minimal ISO.

Follow the prompts to install minimal CentOS 7. If you are installing virtually, I would recommend 2 CPUs, 2GB of RAM, and 50GB of hard disk (thin provisioned is fine).

After the install completes, run the command below to ensure you are on the latest packages as well.

Install Nagvis

While there, also install the net-tools and mlocate packages… You’ll thank me later!

If you are installing on ESXi/VMWare as a virtual machine, go ahead and add the VM tools as well.

At this point, a reboot is probably a good idea if you haven’t already. If you install the VM tools, a reboot is necessary before info will show up in ESXi/VMWare.

Next, go ahead and install Nagios XI using the command below.

If that doesn’t work, follow the guide at the link below instead.

How To Install Nagvis On Centos Version

Now just login via using your web browser of choice using the IP address shown on the screen, e.g. http://192.168.4.10/nagiosxi

Follow the onscreen commands and you are good to go… But wait!

So you think you’re done because you can login? Wrong! You should always access your Nagios console via HTTPS instead of HTTP. The problem is the Nagios XI installer doesn’t open up 443/HTTPS by default. No big deal, a couple of commands below and we are good to go.

Dallas Haselhorst has worked as an IT and information security consultant for over 20 years. During that time, he has owned his own businesses and worked with companies in numerous industries. Dallas holds several industry certifications and when not working or tinkering in tech, he may be found attempting to mold his daughters into card carrying nerds and organizing BSidesKC.

Share this post!