Table of Contents

How To Install Nagios Log Server On Debian 12

Picture of Johnny Mengistu
Johnny Mengistu

Purpose

This document describes how to manually install Nagios Log Server from source on a Debian 12 system.

Target Audience

This document is written for administrators who are looking to perform a new installation of Nagios Log Server on a Debian 12 machine, rather than using a pre-configured virtual machine image.

Platform Support

Nagios Enterprises provides support for installing Nagios Log Server on Debian 12 and other Linux Distributions (Only 64-bit supported):

See Nagios Software/OS compatibility matrix

If you discover bugs or have fixes for installing Nagios Log Server on other platforms, please let us know. We will do our best to incorporate your improvements to expand support for additional platforms in future Log Server releases, which will make future installation processes smoother for you and your clients.

Installation Prerequisites

Important: Nagios Enterprises highly recommends and will only support installing Nagios Log Server on a newly installed, “clean” system (a bare minimal install with nothing else installed or configured). 

Attempting to install Nagios Log Server on a pre-existing system with other applications already installed can cause the Nagios Log Server installation process to fail, critical system components and settings (e.g.

database servers) to be modified in a way that negatively affects other applications, and previously installed applications to be automatically upgraded or removed. While installing Log Server on a system with other applications is possible, it is not recommended due to the possible interactions and complexity of multiple components that are required for Nagios Log Server to function. If you choose to ignore these warnings, you do so at your own risk.

Other Nagios products (XI, Network Analyzer and Fusion) should not co-exist on the same server.

Internet access is required for installation and upgrades!

Terminal Access

These instructions require you to establish a terminal session to the server you plan to install Nagios Log Server on. You will need to login to your server as the root user to perform the installation.

Install Nagios Log Server

To check if curl is installed, you can run:

bash

curl --version

If it’s not installed, you can easily install it with:

bash

sudo apt update
sudo apt install curl

There are two methods for installing Nagios Log Server, they both perform a full installation, quick and manual.

Quick

Execute the following command in your terminal session:

curl https://assets.nagios.com/downloads/nagios-log-server/install.sh | sh

That command will download and install Nagios Log Server. Proceed to the Finalize Installation section.

Manual Download

Alternatively, you can install Nagios XI by issuing the following commands in your terminal session:

cd /tmp

then

wget https://assets.nagios.com/downloads/nagios-log-server/nagioslogserver-latest.tar.gz tar xzf nagioslogserver-latest.tar.gz

then

cd nagioslogserver

then

./fullinstall

Note: If you need to install a specific version of Nagios Log Server, please visit the following page of Nagios Log Server versions to obtain the URL, use that in the wget command above: https://assets.nagios.com/downloads/nagios-log-server/versions.php

Finalize Installation

Once the installation has completed you should see a message like the following:

Nagios Log Server Installation Success!

You can finish the final setup steps for Nagios Log Server by visiting:

http://<server_ip_address>/nagioslogserver

Navigate to the user interface by using the URL provided in your terminal session.

You will be presented with the Final Installation Steps screen just like this:.

Select Install if this is the first server in your Nagios Log Server cluster. Select Connect if you want to add this server top an existing Nagios Log Server cluster. Please refer to the following Nagios Log Server documentation Adding Additional Instances to Cluster for detailed instructions.

You will be presented with a page of fields that need to be populated before proceeding.

Nag Final Steps pt 2
How To Install Nagios Log Server On Debian 12 5

If you have already purchased Nagios Log Server you can add your license key here. Under Admin Account Setup please populate the fields as they are all required to continue. Once you are ready click Finish Installation to save these settings.

Please wait while the settings are applied to the server, once complete you will be presented with the Login screen with the status of Installation Complete

Type the username and password required to login to Nagios Log Server and then click the Log In button to begin. You will be logged into Nagios Log Server and be placed at the home screen.

Finishing Up

Nagios Log Server will now be installed on your system, ready to start collecting logs.

If you have never used Nagios Log Server before then the following documentation is a great starting point to familiarize yourself with the Technical Overview and Terminology Definitions.

Please refer to the Nagios Log Server Administrator Guide which will help get you started using Nagios Log Server.

Schedule a Quickstart: https://www.nagios.com/services/quickstart/nagios-log-server/

Contact Sales: sales@nagios.com

Nagios Support Forums: https://support.nagios.com/forum The Nagios Support Knowledgebase: https://support.nagios.com/kb

To watch a video on this installation click here. Make sure to like and follow us for our latest news & updates

Share this post