<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	xmlns:media="http://search.yahoo.com/mrss/" >

<channel>
	<title>Debian 12 &#8211; Nagios Library</title>
	<atom:link href="https://library.nagios.com/tag/debian-12/feed/" rel="self" type="application/rss+xml" />
	<link>https://library.nagios.com</link>
	<description>Complete Nagios monitoring resources and documentation</description>
	<lastBuildDate>Thu, 26 Mar 2026 19:58:05 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=6.9.4</generator>

<image>
	<url>https://library.nagios.com/wp-content/uploads/2024/11/Nagios-Blue-N.svg</url>
	<title>Debian 12 &#8211; Nagios Library</title>
	<link>https://library.nagios.com</link>
	<width>32</width>
	<height>32</height>
</image> 
	<item>
		<title>Monitoring a Debian 12 Workstation with SNMP</title>
		<link>https://library.nagios.com/documentation/monitoring-a-debian-12-workstation-with-snmp/</link>
		
		<dc:creator><![CDATA[Johnny Mengistu]]></dc:creator>
		<pubDate>Wed, 26 Mar 2025 18:39:03 +0000</pubDate>
				<category><![CDATA[Documentation]]></category>
		<category><![CDATA[Monitoring]]></category>
		<category><![CDATA[Debian 12]]></category>
		<category><![CDATA[Nagios XI]]></category>
		<category><![CDATA[SNMP]]></category>
		<guid isPermaLink="false">https://library.nagios.com/?p=48723</guid>

					<description><![CDATA[Introduction Simple Network Management Protocol (SNMP) is a widely used protocol for monitoring and managing network devices, including servers, routers, switches, and more. It allows systems administrators to gather information on system performance, monitor the health of network devices, and detect faults. In this guide, we&#8217;ll walk through the process of setting up SNMP on [&#8230;]]]></description>
										<content:encoded><![CDATA[
<h3 class="wp-block-heading"><strong>Introduction</strong></h3>



<p>Simple Network Management Protocol (SNMP) is a widely used protocol for monitoring and managing network devices, including servers, routers, switches, and more. It allows systems administrators to gather information on system performance, monitor the health of network devices, and detect faults.</p>



<p>In this guide, we&#8217;ll walk through the process of setting up SNMP on a <strong>Debian 12</strong> server, and then configuring <strong>Nagios XI</strong> to monitor that server&#8217;s health and performance. Nagios XI is a comprehensive IT monitoring solution that allows organizations to monitor their entire infrastructure. We’ll cover the installation of SNMP on Debian 12, configuring the server to allow Nagios XI to access SNMP data, and setting up Nagios XI to receive and visualize this data.</p>



<h3 class="wp-block-heading"><strong>Prerequisites</strong></h3>



<p>Before beginning the setup, ensure the following:</p>



<ul class="wp-block-list">
<li>A working <strong>Debian 12</strong> workstation.</li>



<li><strong>Nagios XI</strong> installed and running. (If you don&#8217;t have Nagios XI installed, you can follow their official documentation to install it.)</li>



<li>Root or <strong>sudo</strong> access to both the Debian 12 server and the Nagios XI interface.</li>
</ul>



<h3 class="wp-block-heading"><strong>1. Setting Up &amp; Installing SNMP on Debian 12</strong></h3>



<p>Debian comes with SNMP packages that can be installed via its package manager, apt. To install SNMP, follow these steps:</p>



<p>Update the system&#8217;s package list:</p>



<div class="wp-block-kevinbatdorf-code-block-pro" data-code-block-pro-font-family="Code-Pro-Geist-Mono" style="font-size:.875rem;font-family:Code-Pro-Geist-Mono,ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace;line-height:1.5rem;--cbp-tab-width:2;tab-size:var(--cbp-tab-width, 2)"><span role="button" tabindex="0" style="color:#D4D4D4;display:none" aria-label="Copy" class="code-block-pro-copy-button"><pre class="code-block-pro-copy-button-pre" aria-hidden="true"><textarea class="code-block-pro-copy-button-textarea" tabindex="-1" aria-hidden="true" readonly>bash

sudo apt update</textarea></pre><svg xmlns="http://www.w3.org/2000/svg" style="width:24px;height:24px" fill="none" viewBox="0 0 24 24" stroke="currentColor" stroke-width="2"><path class="with-check" stroke-linecap="round" stroke-linejoin="round" d="M4.5 12.75l6 6 9-13.5"></path><path class="without-check" stroke-linecap="round" stroke-linejoin="round" d="M16.5 8.25V6a2.25 2.25 0 00-2.25-2.25H6A2.25 2.25 0 003.75 6v8.25A2.25 2.25 0 006 16.5h2.25m8.25-8.25H18a2.25 2.25 0 012.25 2.25V18A2.25 2.25 0 0118 20.25h-7.5A2.25 2.25 0 018.25 18v-1.5m8.25-8.25h-6a2.25 2.25 0 00-2.25 2.25v6"></path></svg></span><pre class="shiki dark-plus" style="background-color: #1E1E1E" tabindex="0"><code><span class="line"><span style="color: #9CDCFE">bash</span></span>
<span class="line"></span>
<span class="line"><span style="color: #9CDCFE">sudo</span><span style="color: #D4D4D4"> </span><span style="color: #9CDCFE">apt</span><span style="color: #D4D4D4"> </span><span style="color: #9CDCFE">update</span></span></code></pre></div>



<p>Install the SNMP daemon and utilities:</p>



<div class="wp-block-kevinbatdorf-code-block-pro" data-code-block-pro-font-family="Code-Pro-Geist-Mono" style="font-size:.875rem;font-family:Code-Pro-Geist-Mono,ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace;line-height:1.5rem;--cbp-tab-width:2;tab-size:var(--cbp-tab-width, 2)"><span role="button" tabindex="0" style="color:#D4D4D4;display:none" aria-label="Copy" class="code-block-pro-copy-button"><pre class="code-block-pro-copy-button-pre" aria-hidden="true"><textarea class="code-block-pro-copy-button-textarea" tabindex="-1" aria-hidden="true" readonly>sudo apt install snmpd snmp</textarea></pre><svg xmlns="http://www.w3.org/2000/svg" style="width:24px;height:24px" fill="none" viewBox="0 0 24 24" stroke="currentColor" stroke-width="2"><path class="with-check" stroke-linecap="round" stroke-linejoin="round" d="M4.5 12.75l6 6 9-13.5"></path><path class="without-check" stroke-linecap="round" stroke-linejoin="round" d="M16.5 8.25V6a2.25 2.25 0 00-2.25-2.25H6A2.25 2.25 0 003.75 6v8.25A2.25 2.25 0 006 16.5h2.25m8.25-8.25H18a2.25 2.25 0 012.25 2.25V18A2.25 2.25 0 0118 20.25h-7.5A2.25 2.25 0 018.25 18v-1.5m8.25-8.25h-6a2.25 2.25 0 00-2.25 2.25v6"></path></svg></span><pre class="shiki dark-plus" style="background-color: #1E1E1E" tabindex="0"><code><span class="line"><span style="color: #9CDCFE">sudo</span><span style="color: #D4D4D4"> </span><span style="color: #9CDCFE">apt</span><span style="color: #D4D4D4"> </span><span style="color: #9CDCFE">install</span><span style="color: #D4D4D4"> </span><span style="color: #9CDCFE">snmpd</span><span style="color: #D4D4D4"> </span><span style="color: #9CDCFE">snmp</span></span></code></pre></div>



<p>Confirm the installation by checking the version:</p>



<div class="wp-block-kevinbatdorf-code-block-pro" data-code-block-pro-font-family="Code-Pro-Geist-Mono" style="font-size:.875rem;font-family:Code-Pro-Geist-Mono,ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace;line-height:1.5rem;--cbp-tab-width:2;tab-size:var(--cbp-tab-width, 2)"><span role="button" tabindex="0" style="color:#D4D4D4;display:none" aria-label="Copy" class="code-block-pro-copy-button"><pre class="code-block-pro-copy-button-pre" aria-hidden="true"><textarea class="code-block-pro-copy-button-textarea" tabindex="-1" aria-hidden="true" readonly>sudo snmpd -v</textarea></pre><svg xmlns="http://www.w3.org/2000/svg" style="width:24px;height:24px" fill="none" viewBox="0 0 24 24" stroke="currentColor" stroke-width="2"><path class="with-check" stroke-linecap="round" stroke-linejoin="round" d="M4.5 12.75l6 6 9-13.5"></path><path class="without-check" stroke-linecap="round" stroke-linejoin="round" d="M16.5 8.25V6a2.25 2.25 0 00-2.25-2.25H6A2.25 2.25 0 003.75 6v8.25A2.25 2.25 0 006 16.5h2.25m8.25-8.25H18a2.25 2.25 0 012.25 2.25V18A2.25 2.25 0 0118 20.25h-7.5A2.25 2.25 0 018.25 18v-1.5m8.25-8.25h-6a2.25 2.25 0 00-2.25 2.25v6"></path></svg></span><pre class="shiki dark-plus" style="background-color: #1E1E1E" tabindex="0"><code><span class="line"><span style="color: #9CDCFE">sudo</span><span style="color: #D4D4D4"> </span><span style="color: #9CDCFE">snmpd</span><span style="color: #D4D4D4"> -</span><span style="color: #9CDCFE">v</span></span></code></pre></div>



<h3 class="wp-block-heading"><strong>2. C</strong>reate a New SNMP Config File</h3>



<p>The SNMP service (snmpd) needs to be configured properly to ensure that Nagios XI can query it for the server&#8217;s performance data.</p>



<p>Open the SNMP configuration file in a text editor:</p>



<div class="wp-block-kevinbatdorf-code-block-pro" data-code-block-pro-font-family="Code-Pro-Geist-Mono" style="font-size:.875rem;font-family:Code-Pro-Geist-Mono,ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace;line-height:1.5rem;--cbp-tab-width:2;tab-size:var(--cbp-tab-width, 2)"><span role="button" tabindex="0" style="color:#D4D4D4;display:none" aria-label="Copy" class="code-block-pro-copy-button"><pre class="code-block-pro-copy-button-pre" aria-hidden="true"><textarea class="code-block-pro-copy-button-textarea" tabindex="-1" aria-hidden="true" readonly>bash

sudo nano /etc/snmp/snmpd.conf</textarea></pre><svg xmlns="http://www.w3.org/2000/svg" style="width:24px;height:24px" fill="none" viewBox="0 0 24 24" stroke="currentColor" stroke-width="2"><path class="with-check" stroke-linecap="round" stroke-linejoin="round" d="M4.5 12.75l6 6 9-13.5"></path><path class="without-check" stroke-linecap="round" stroke-linejoin="round" d="M16.5 8.25V6a2.25 2.25 0 00-2.25-2.25H6A2.25 2.25 0 003.75 6v8.25A2.25 2.25 0 006 16.5h2.25m8.25-8.25H18a2.25 2.25 0 012.25 2.25V18A2.25 2.25 0 0118 20.25h-7.5A2.25 2.25 0 018.25 18v-1.5m8.25-8.25h-6a2.25 2.25 0 00-2.25 2.25v6"></path></svg></span><pre class="shiki dark-plus" style="background-color: #1E1E1E" tabindex="0"><code><span class="line"><span style="color: #9CDCFE">bash</span></span>
<span class="line"></span>
<span class="line"><span style="color: #9CDCFE">sudo</span><span style="color: #D4D4D4"> </span><span style="color: #9CDCFE">nano</span><span style="color: #D4D4D4"> /</span><span style="color: #9CDCFE">etc</span><span style="color: #D4D4D4">/</span><span style="color: #9CDCFE">snmp</span><span style="color: #D4D4D4">/</span><span style="color: #9CDCFE">snmpd</span><span style="color: #D4D4D4">.</span><span style="color: #9CDCFE">conf</span></span></code></pre></div>



<p>To ensure that SNMP can communicate securely, you&#8217;ll need to define community strings and set up access controls.</p>



<ul class="wp-block-list">
<li><strong>Community String</strong>: The community string works like a password to access SNMP data. It’s recommended to use a secure, unique string.</li>



<li><strong>Access Control</strong>: This defines who can access the SNMP data (usually restricted to local IP addresses for security).</li>
</ul>



<p>Here’s an example configuration:</p>



<div class="wp-block-kevinbatdorf-code-block-pro" data-code-block-pro-font-family="Code-Pro-Geist-Mono" style="font-size:.875rem;font-family:Code-Pro-Geist-Mono,ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace;line-height:1.5rem;--cbp-tab-width:2;tab-size:var(--cbp-tab-width, 2)"><span role="button" tabindex="0" style="color:#D4D4D4;display:none" aria-label="Copy" class="code-block-pro-copy-button"><pre class="code-block-pro-copy-button-pre" aria-hidden="true"><textarea class="code-block-pro-copy-button-textarea" tabindex="-1" aria-hidden="true" readonly>sysLocation    "Your Location"
sysContact     "Your Name &lt;your_email@example.com>"
sysName        "Your System Name"
agentAddress udp:161
rocommunity your_community_string default -V systemonly</textarea></pre><svg xmlns="http://www.w3.org/2000/svg" style="width:24px;height:24px" fill="none" viewBox="0 0 24 24" stroke="currentColor" stroke-width="2"><path class="with-check" stroke-linecap="round" stroke-linejoin="round" d="M4.5 12.75l6 6 9-13.5"></path><path class="without-check" stroke-linecap="round" stroke-linejoin="round" d="M16.5 8.25V6a2.25 2.25 0 00-2.25-2.25H6A2.25 2.25 0 003.75 6v8.25A2.25 2.25 0 006 16.5h2.25m8.25-8.25H18a2.25 2.25 0 012.25 2.25V18A2.25 2.25 0 0118 20.25h-7.5A2.25 2.25 0 018.25 18v-1.5m8.25-8.25h-6a2.25 2.25 0 00-2.25 2.25v6"></path></svg></span><pre class="shiki dark-plus" style="background-color: #1E1E1E" tabindex="0"><code><span class="line"><span style="color: #9CDCFE">sysLocation</span><span style="color: #D4D4D4">    </span><span style="color: #CE9178">&quot;Your Location&quot;</span></span>
<span class="line"><span style="color: #9CDCFE">sysContact</span><span style="color: #D4D4D4">     </span><span style="color: #CE9178">&quot;Your Name &lt;your_email@example.com&gt;&quot;</span></span>
<span class="line"><span style="color: #9CDCFE">sysName</span><span style="color: #D4D4D4">        </span><span style="color: #CE9178">&quot;Your System Name&quot;</span></span>
<span class="line"><span style="color: #9CDCFE">agentAddress</span><span style="color: #D4D4D4"> </span><span style="color: #C8C8C8">udp</span><span style="color: #D4D4D4">:</span><span style="color: #B5CEA8">161</span></span>
<span class="line"><span style="color: #9CDCFE">rocommunity</span><span style="color: #D4D4D4"> </span><span style="color: #9CDCFE">your_community_string</span><span style="color: #D4D4D4"> </span><span style="color: #C586C0">default</span><span style="color: #D4D4D4"> -</span><span style="color: #4FC1FF">V</span><span style="color: #D4D4D4"> </span><span style="color: #9CDCFE">systemonly</span></span></code></pre></div>



<ul class="wp-block-list">
<li>Replace YOUR_NAGIOS_IP_ADDRESS with the IP address of your Nagios XI server.</li>
</ul>



<ul class="wp-block-list">
<li>The rocommunity directive allows read-only access to SNMP data, with &#8220;public&#8221; being the community string.</li>
</ul>



<ul class="wp-block-list">
<li>The sysLocation and sysContact fields help provide additional information about the system.</li>
</ul>



<ul class="wp-block-list">
<li>Save and exit the file (Ctrl + X, then Y to confirm, and Enter to save).</li>
</ul>



<h3 class="wp-block-heading"><strong>3. Create a New SNMP Config File</strong></h3>



<p>Restart the SNMP service to apply the changes:</p>



<div class="wp-block-kevinbatdorf-code-block-pro" data-code-block-pro-font-family="Code-Pro-Geist-Mono" style="font-size:.875rem;font-family:Code-Pro-Geist-Mono,ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace;line-height:1.5rem;--cbp-tab-width:2;tab-size:var(--cbp-tab-width, 2)"><span role="button" tabindex="0" style="color:#D4D4D4;display:none" aria-label="Copy" class="code-block-pro-copy-button"><pre class="code-block-pro-copy-button-pre" aria-hidden="true"><textarea class="code-block-pro-copy-button-textarea" tabindex="-1" aria-hidden="true" readonly>sudo systemctl restart snmpd</textarea></pre><svg xmlns="http://www.w3.org/2000/svg" style="width:24px;height:24px" fill="none" viewBox="0 0 24 24" stroke="currentColor" stroke-width="2"><path class="with-check" stroke-linecap="round" stroke-linejoin="round" d="M4.5 12.75l6 6 9-13.5"></path><path class="without-check" stroke-linecap="round" stroke-linejoin="round" d="M16.5 8.25V6a2.25 2.25 0 00-2.25-2.25H6A2.25 2.25 0 003.75 6v8.25A2.25 2.25 0 006 16.5h2.25m8.25-8.25H18a2.25 2.25 0 012.25 2.25V18A2.25 2.25 0 0118 20.25h-7.5A2.25 2.25 0 018.25 18v-1.5m8.25-8.25h-6a2.25 2.25 0 00-2.25 2.25v6"></path></svg></span><pre class="shiki dark-plus" style="background-color: #1E1E1E" tabindex="0"><code><span class="line"><span style="color: #9CDCFE">sudo</span><span style="color: #D4D4D4"> </span><span style="color: #9CDCFE">systemctl</span><span style="color: #D4D4D4"> </span><span style="color: #9CDCFE">restart</span><span style="color: #D4D4D4"> </span><span style="color: #9CDCFE">snmpd</span></span></code></pre></div>



<p>Ensure SNMP is running and listening on the correct port (161):</p>



<div class="wp-block-kevinbatdorf-code-block-pro" data-code-block-pro-font-family="Code-Pro-Geist-Mono" style="font-size:.875rem;font-family:Code-Pro-Geist-Mono,ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace;line-height:1.5rem;--cbp-tab-width:2;tab-size:var(--cbp-tab-width, 2)"><span role="button" tabindex="0" style="color:#D4D4D4;display:none" aria-label="Copy" class="code-block-pro-copy-button"><pre class="code-block-pro-copy-button-pre" aria-hidden="true"><textarea class="code-block-pro-copy-button-textarea" tabindex="-1" aria-hidden="true" readonly>sudo systemctl status snmpd</textarea></pre><svg xmlns="http://www.w3.org/2000/svg" style="width:24px;height:24px" fill="none" viewBox="0 0 24 24" stroke="currentColor" stroke-width="2"><path class="with-check" stroke-linecap="round" stroke-linejoin="round" d="M4.5 12.75l6 6 9-13.5"></path><path class="without-check" stroke-linecap="round" stroke-linejoin="round" d="M16.5 8.25V6a2.25 2.25 0 00-2.25-2.25H6A2.25 2.25 0 003.75 6v8.25A2.25 2.25 0 006 16.5h2.25m8.25-8.25H18a2.25 2.25 0 012.25 2.25V18A2.25 2.25 0 0118 20.25h-7.5A2.25 2.25 0 018.25 18v-1.5m8.25-8.25h-6a2.25 2.25 0 00-2.25 2.25v6"></path></svg></span><pre class="shiki dark-plus" style="background-color: #1E1E1E" tabindex="0"><code><span class="line"><span style="color: #9CDCFE">sudo</span><span style="color: #D4D4D4"> </span><span style="color: #9CDCFE">systemctl</span><span style="color: #D4D4D4"> </span><span style="color: #9CDCFE">status</span><span style="color: #D4D4D4"> </span><span style="color: #9CDCFE">snmpd</span></span></code></pre></div>



<h3 class="wp-block-heading"><strong>4. Test SNMP Configuration</strong></h3>



<p>To test the SNMP service on your Debian 12 server, use the snmpwalk utility. This will help confirm that the SNMP daemon is functioning correctly.</p>



<div class="wp-block-kevinbatdorf-code-block-pro" data-code-block-pro-font-family="Code-Pro-Geist-Mono" style="font-size:.875rem;font-family:Code-Pro-Geist-Mono,ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace;line-height:1.5rem;--cbp-tab-width:2;tab-size:var(--cbp-tab-width, 2)"><span role="button" tabindex="0" style="color:#D4D4D4;display:none" aria-label="Copy" class="code-block-pro-copy-button"><pre class="code-block-pro-copy-button-pre" aria-hidden="true"><textarea class="code-block-pro-copy-button-textarea" tabindex="-1" aria-hidden="true" readonly>snmpwalk -v2c -c public localhost</textarea></pre><svg xmlns="http://www.w3.org/2000/svg" style="width:24px;height:24px" fill="none" viewBox="0 0 24 24" stroke="currentColor" stroke-width="2"><path class="with-check" stroke-linecap="round" stroke-linejoin="round" d="M4.5 12.75l6 6 9-13.5"></path><path class="without-check" stroke-linecap="round" stroke-linejoin="round" d="M16.5 8.25V6a2.25 2.25 0 00-2.25-2.25H6A2.25 2.25 0 003.75 6v8.25A2.25 2.25 0 006 16.5h2.25m8.25-8.25H18a2.25 2.25 0 012.25 2.25V18A2.25 2.25 0 0118 20.25h-7.5A2.25 2.25 0 018.25 18v-1.5m8.25-8.25h-6a2.25 2.25 0 00-2.25 2.25v6"></path></svg></span><pre class="shiki dark-plus" style="background-color: #1E1E1E" tabindex="0"><code><span class="line"><span style="color: #9CDCFE">snmpwalk</span><span style="color: #D4D4D4"> -</span><span style="color: #9CDCFE">v2c</span><span style="color: #D4D4D4"> -</span><span style="color: #9CDCFE">c</span><span style="color: #D4D4D4"> </span><span style="color: #9CDCFE">public</span><span style="color: #D4D4D4"> </span><span style="color: #9CDCFE">localhost</span></span></code></pre></div>



<p>If everything is configured correctly, you should see a long list of SNMP data, including system information, CPU stats, memory usage, and more.</p>



<h3 class="wp-block-heading"><strong>5. Configuring Nagios XI to Monitor the Debian 12 Server</strong></h3>



<p>Now that SNMP is properly set up on your Debian 12 server, the next step is to configure Nagios XI to monitor it.</p>



<p><strong>Access the Nagios XI Web Interface</strong></p>



<ol start="1" class="wp-block-list">
<li>Open your web browser and navigate to the Nagios XI interface. </li>



<li>Log in using your administrator credentials.</li>



<li>Once you are in, hover your mouse over the gear icon to the far left and select the &#8220;Configuration Wizards option. Your screen should look like mine below once you have completed this.</li>
</ol>



<figure class="wp-block-image size-large"><a href="https://library.nagios.com/wp-content/uploads/2025/02/NCPA-Config-Wizards.png"><img fetchpriority="high" decoding="async" width="1024" height="524" src="https://library.nagios.com/wp-content/uploads/2025/02/NCPA-Config-Wizards-1024x524.png" alt="NCPA Config Wizards" class="wp-image-49582" title="Monitoring a Debian 12 Workstation with SNMP 1" srcset="https://library.nagios.com/wp-content/uploads/2025/02/NCPA-Config-Wizards-1024x524.png 1024w, https://library.nagios.com/wp-content/uploads/2025/02/NCPA-Config-Wizards-300x154.png 300w, https://library.nagios.com/wp-content/uploads/2025/02/NCPA-Config-Wizards-768x393.png 768w, https://library.nagios.com/wp-content/uploads/2025/02/NCPA-Config-Wizards-1536x786.png 1536w, https://library.nagios.com/wp-content/uploads/2025/02/NCPA-Config-Wizards.png 1905w" sizes="(max-width: 1024px) 100vw, 1024px" /></a><figcaption class="wp-element-caption">Configuration Wizards</figcaption></figure>



<p>     4. In the search field type &#8220;SNMP&#8221; and select the &#8220;Linux SNMP&#8221; option shown below.</p>



<figure class="wp-block-image size-large"><a href="https://library.nagios.com/wp-content/uploads/2025/04/Linux-SNMP-Wiz.png"><img decoding="async" width="1024" height="408" src="https://library.nagios.com/wp-content/uploads/2025/04/Linux-SNMP-Wiz-1024x408.png" alt="Linux SNMP Wiz" class="wp-image-54196" title="Monitoring a Debian 12 Workstation with SNMP 2" srcset="https://library.nagios.com/wp-content/uploads/2025/04/Linux-SNMP-Wiz-1024x408.png 1024w, https://library.nagios.com/wp-content/uploads/2025/04/Linux-SNMP-Wiz-300x119.png 300w, https://library.nagios.com/wp-content/uploads/2025/04/Linux-SNMP-Wiz-768x306.png 768w, https://library.nagios.com/wp-content/uploads/2025/04/Linux-SNMP-Wiz-1536x612.png 1536w, https://library.nagios.com/wp-content/uploads/2025/04/Linux-SNMP-Wiz.png 1914w" sizes="(max-width: 1024px) 100vw, 1024px" /></a><figcaption class="wp-element-caption">Linux SNMP</figcaption></figure>



<p>5. Then fill in the necessary information, like in the photo below, such as Debian 11 ip address and the SNMP community string. Hit &#8220;finish&#8221; or &#8220;finish with defaults&#8221; at the end and you should be good to go.</p>



<figure class="wp-block-image size-large"><a href="https://library.nagios.com/wp-content/uploads/2025/04/Linux-SNMP-Config-Wiz.png"><img decoding="async" width="1024" height="424" src="https://library.nagios.com/wp-content/uploads/2025/04/Linux-SNMP-Config-Wiz-1024x424.png" alt="Linux SNMP Config Wiz" class="wp-image-54198" title="Monitoring a Debian 12 Workstation with SNMP 3" srcset="https://library.nagios.com/wp-content/uploads/2025/04/Linux-SNMP-Config-Wiz-1024x424.png 1024w, https://library.nagios.com/wp-content/uploads/2025/04/Linux-SNMP-Config-Wiz-300x124.png 300w, https://library.nagios.com/wp-content/uploads/2025/04/Linux-SNMP-Config-Wiz-768x318.png 768w, https://library.nagios.com/wp-content/uploads/2025/04/Linux-SNMP-Config-Wiz-1536x636.png 1536w, https://library.nagios.com/wp-content/uploads/2025/04/Linux-SNMP-Config-Wiz.png 1907w" sizes="(max-width: 1024px) 100vw, 1024px" /></a><figcaption class="wp-element-caption">Linux SNMP Configuration Wizard</figcaption></figure>



<h3 class="wp-block-heading"><strong>6. Test the Configuration</strong></h3>



<p>Once you’ve added the services, it’s a good idea to verify that Nagios XI can successfully query your Debian 12 server using SNMP.</p>



<ol start="1" class="wp-block-list">
<li>Go back to the Nagios XI dashboard.</li>



<li>Check if the new services are showing up and updating correctly.</li>



<li>If there’s an issue, check the logs in Nagios XI (<code>/usr/local/nagios/var/nagios.log</code>) and SNMP daemon logs (<code>/var/log/syslog</code>) for troubleshooting.</li>
</ol>



<h2 class="wp-block-heading"><strong>Conclusion</strong></h2>



<p>By following the steps outlined above, you can successfully set up SNMP on your <strong>Debian 12</strong> server and integrate it with <strong>Nagios XI</strong> for comprehensive monitoring. This setup will allow you to track important server metrics such as CPU load, memory usage, and disk space, and get alerted when there are performance issues or failures.</p>



<p>With SNMP monitoring in place, you’ll gain more visibility into the health of your Debian server and be able to take action quickly to maintain a stable, high-performance environment.</p>



<h2 class="wp-block-heading" id="section-12"><strong>Additional Resources</strong></h2>



<p>Visit Our Website:&nbsp;<a href="https://www.youtube.com/redirect?event=video_description&amp;redir_token=QUFFLUhqa2Y0Z240bWZVdlFwR3pIa09MQWxpYVhUa0lZQXxBQ3Jtc0tuNEZzbXFBVGMzVTgwWkRpMHFNYjV2NmhBcGppUzd2YXN4QUNDRHlGUHh2VXBvcUdMdkM0bUg0dno1Y3FHM2pSWTU1MUlhSWRwSW94ckppWmt1Vm85SUxQcm1UdXZrczNSd1dxLVU5TUpwbHR3bEVpYw&amp;q=https%3A%2F%2Fwww.nagios.com%2F&amp;v=flMcuXDNRWs" target="_blank" rel="noreferrer noopener">https://www.nagios.com</a></p>



<p>Visit Nagios Support:&nbsp;<a href="https://www.youtube.com/redirect?event=video_description&amp;redir_token=QUFFLUhqbl8wSWR6LUZMZllzSUxvdXdsSTFvc2lrR1lSd3xBQ3Jtc0tsclhaYWZKbUdzYW1Cak1NXzUzeEJ2MUlwdzlOaUJUcjZuVTlna3RNblRPZnJrcGtaZ0d4dlIxV01sT1Ziekx6Qmt1TzhENmREWnpLLTJ0bS1mdlR2cU5XQm13VS1keWdIUnBPN0o4cjFLRzZLS0pkQQ&amp;q=https%3A%2F%2Fsupport.nagios.com%2F&amp;v=flMcuXDNRWs" target="_blank" rel="noreferrer noopener">https://support.nagios.com/</a></p>



<p>Visit Nagios Exchange:&nbsp;<a href="https://www.youtube.com/redirect?event=video_description&amp;redir_token=QUFFLUhqa1BfS283Z0JCWEg2TklqNFFTUjBGWmtoaFFnUXxBQ3Jtc0ttc2xTNnBFTUVzY2JDS3AzYUpRVk1CQ0R5Y1JnRjd0SGVQcmx5RjZ5ZTg0RHp1LXIxSHYxeXpXdThtTXFTaFd4dFZKdFZvdnVfYVM2UHQ3STcwXzdkaDU4OWk4cTgzRDB6M00yUnE2SklWTWJSd0hRSQ&amp;q=https%3A%2F%2Fexchange.nagios.org%2F&amp;v=flMcuXDNRWs" target="_blank" rel="noreferrer noopener">https://exchange.nagios.org/</a></p>
]]></content:encoded>
					
		
		
		<media:content url="https://www.youtube.com/embed/redir_token" medium="video">
			<media:player url="https://www.youtube.com/embed/redir_token" />
			<media:title type="plain">Debian 12 Archives - Nagios Library</media:title>
			<media:description type="html"><![CDATA[Enjoy the videos and music you love, upload original content, and share it all with friends, family, and the world on YouTube.]]></media:description>
			<media:thumbnail url="https://library.nagios.com/wp-content/uploads/2025/03/google-map-intergration-3-2-2-1.png" />
			<media:rating scheme="urn:simple">nonadult</media:rating>
		</media:content>
	</item>
		<item>
		<title>Configuring Debian 12 Logs with Nagios Log Server 2024R2</title>
		<link>https://library.nagios.com/documentation/configuring-debian-12-logs-with-nagios-log-server-r2/</link>
		
		<dc:creator><![CDATA[Johnny Mengistu]]></dc:creator>
		<pubDate>Wed, 19 Mar 2025 21:10:12 +0000</pubDate>
				<category><![CDATA[Documentation]]></category>
		<category><![CDATA[Monitoring]]></category>
		<category><![CDATA[Debian 12]]></category>
		<category><![CDATA[Nagios Log Server]]></category>
		<guid isPermaLink="false">https://library.nagios.com/?p=46605</guid>

					<description><![CDATA[In this article, we will walk through the process of configuring log collection on a Debian 12 system using Nagios Log Server 2024R2. Nagios Log Server 2024R2 provides centralized log management, helping system administrators monitor, analyze, and store logs in a centralized repository. By the end of this guide, you will have configured your Debian [&#8230;]]]></description>
										<content:encoded><![CDATA[
<p>In this article, we will walk through the process of configuring log collection on a Debian 12 system using Nagios Log Server 2024R2. Nagios Log Server 2024R2 provides centralized log management, helping system administrators monitor, analyze, and store logs in a centralized repository. By the end of this guide, you will have configured your Debian 12 system to forward logs to Nagios Log Server 2024R2 for easy monitoring. After configuration you should immediately start receiving the logs that you would normally view in the&nbsp;<code>/var/log/messages</code>&nbsp;file on the Linux system you configured.</p>



<h3 class="wp-block-heading"><strong>Prerequisites</strong></h3>



<p>Before beginning the setup process, ensure that you meet the following requirements:</p>



<ul class="wp-block-list">
<li>A running Debian 12 system</li>



<li>Root or sudo privileges on the Debian 12 system</li>



<li>A Nagios Log Server 2024R2 instance (you can use Nagios Log Server 2024R2 in your own infrastructure or use Nagios XI or a hosted version)</li>



<li>Basic knowledge of Linux and command-line operations</li>



<li>Make sure you have a bridged connection before starting up your Debian workstation</li>
</ul>



<h3 class="wp-block-heading">Automatic Script &#8211; Supported Operating Systems</h3>



<ul class="wp-block-list">
<li>CentOS, Fedora, and RHEL</li>



<li>Ubuntu and Debian</li>
</ul>



<p><em>You must have rsyslog installed. If your operating system is not listed, you can manually configure syslog or rsyslog by going to the &#8220;<strong>Home</strong>&#8221; tab (after logging into Log Server), select &#8220;<strong>Add a log source&#8221;</strong> then click the &#8220;<strong>Linux</strong>&#8221; o</em>ption and select whichever manual configuration setup option you prefer..</p>



<figure class="wp-block-image size-large"><a href="https://library.nagios.com/wp-content/uploads/2025/03/Home-Button-LSR2-2.png"><img loading="lazy" decoding="async" width="1024" height="555" src="https://library.nagios.com/wp-content/uploads/2025/03/Home-Button-LSR2-2-1024x555.png" alt="Home Button LSR2 2" class="wp-image-52883" title="Configuring Debian 12 Logs with Nagios Log Server 2024R2 4" srcset="https://library.nagios.com/wp-content/uploads/2025/03/Home-Button-LSR2-2-1024x555.png 1024w, https://library.nagios.com/wp-content/uploads/2025/03/Home-Button-LSR2-2-300x162.png 300w, https://library.nagios.com/wp-content/uploads/2025/03/Home-Button-LSR2-2-768x416.png 768w, https://library.nagios.com/wp-content/uploads/2025/03/Home-Button-LSR2-2-1536x832.png 1536w, https://library.nagios.com/wp-content/uploads/2025/03/Home-Button-LSR2-2.png 1900w" sizes="(max-width: 1024px) 100vw, 1024px" /></a><figcaption class="wp-element-caption">Home Button LSR2</figcaption></figure>



<figure class="wp-block-image size-large"><a href="https://library.nagios.com/wp-content/uploads/2025/03/New-LSR2-Getting-Started-Linux-Add-a-Log-Source-1.png"><img loading="lazy" decoding="async" width="1024" height="568" src="https://library.nagios.com/wp-content/uploads/2025/03/New-LSR2-Getting-Started-Linux-Add-a-Log-Source-1-1024x568.png" alt="New LSR2 Getting Started Linux Add a Log Source 1" class="wp-image-52892" title="Configuring Debian 12 Logs with Nagios Log Server 2024R2 5" srcset="https://library.nagios.com/wp-content/uploads/2025/03/New-LSR2-Getting-Started-Linux-Add-a-Log-Source-1-1024x568.png 1024w, https://library.nagios.com/wp-content/uploads/2025/03/New-LSR2-Getting-Started-Linux-Add-a-Log-Source-1-300x167.png 300w, https://library.nagios.com/wp-content/uploads/2025/03/New-LSR2-Getting-Started-Linux-Add-a-Log-Source-1-768x426.png 768w, https://library.nagios.com/wp-content/uploads/2025/03/New-LSR2-Getting-Started-Linux-Add-a-Log-Source-1-1536x853.png 1536w, https://library.nagios.com/wp-content/uploads/2025/03/New-LSR2-Getting-Started-Linux-Add-a-Log-Source-1.png 1897w" sizes="(max-width: 1024px) 100vw, 1024px" /></a><figcaption class="wp-element-caption">LSR2 Add a Log Source</figcaption></figure>



<figure class="wp-block-image size-large"><a href="https://library.nagios.com/wp-content/uploads/2025/03/New-LSR2-Getting-Started-Linux-Circle-Penguin.png"><img loading="lazy" decoding="async" width="1024" height="534" src="https://library.nagios.com/wp-content/uploads/2025/03/New-LSR2-Getting-Started-Linux-Circle-Penguin-1024x534.png" alt="New LSR2 Getting Started Linux Circle Penguin" class="wp-image-52891" title="Configuring Debian 12 Logs with Nagios Log Server 2024R2 6" srcset="https://library.nagios.com/wp-content/uploads/2025/03/New-LSR2-Getting-Started-Linux-Circle-Penguin-1024x534.png 1024w, https://library.nagios.com/wp-content/uploads/2025/03/New-LSR2-Getting-Started-Linux-Circle-Penguin-300x156.png 300w, https://library.nagios.com/wp-content/uploads/2025/03/New-LSR2-Getting-Started-Linux-Circle-Penguin-768x401.png 768w, https://library.nagios.com/wp-content/uploads/2025/03/New-LSR2-Getting-Started-Linux-Circle-Penguin-1536x801.png 1536w, https://library.nagios.com/wp-content/uploads/2025/03/New-LSR2-Getting-Started-Linux-Circle-Penguin.png 1894w" sizes="(max-width: 1024px) 100vw, 1024px" /></a><figcaption class="wp-element-caption">LSR2 Linux Penguin</figcaption></figure>



<h3 class="wp-block-heading">Step 1: Install Required Dependencies on Debian 12</h3>



<p>First, you will need to install rsyslog, which is the default logging service for Debian, and configure it to send logs to the Nagios Log Server 2024R2.</p>



<ol start="1" class="wp-block-list">
<li><strong>Update the System</strong></li>
</ol>



<p>Make sure your Debian 12 system is up-to-date by running:</p>



<div class="wp-block-kevinbatdorf-code-block-pro" data-code-block-pro-font-family="Code-Pro-Geist-Mono" style="font-size:.875rem;font-family:Code-Pro-Geist-Mono,ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace;line-height:1.5rem;--cbp-tab-width:2;tab-size:var(--cbp-tab-width, 2)"><span role="button" tabindex="0" style="color:#adbac7;display:none" aria-label="Copy" class="code-block-pro-copy-button"><pre class="code-block-pro-copy-button-pre" aria-hidden="true"><textarea class="code-block-pro-copy-button-textarea" tabindex="-1" aria-hidden="true" readonly>bash

sudo apt update</textarea></pre><svg xmlns="http://www.w3.org/2000/svg" style="width:24px;height:24px" fill="none" viewBox="0 0 24 24" stroke="currentColor" stroke-width="2"><path class="with-check" stroke-linecap="round" stroke-linejoin="round" d="M4.5 12.75l6 6 9-13.5"></path><path class="without-check" stroke-linecap="round" stroke-linejoin="round" d="M16.5 8.25V6a2.25 2.25 0 00-2.25-2.25H6A2.25 2.25 0 003.75 6v8.25A2.25 2.25 0 006 16.5h2.25m8.25-8.25H18a2.25 2.25 0 012.25 2.25V18A2.25 2.25 0 0118 20.25h-7.5A2.25 2.25 0 018.25 18v-1.5m8.25-8.25h-6a2.25 2.25 0 00-2.25 2.25v6"></path></svg></span><pre class="shiki github-dark-dimmed" style="background-color: #22272e" tabindex="0"><code><span class="line"><span style="color: #ADBAC7">bash</span></span>
<span class="line"></span>
<span class="line"><span style="color: #ADBAC7">sudo apt update</span></span></code></pre></div>



<ol start="2" class="wp-block-list">
<li><strong>Install rsyslog</strong></li>
</ol>



<p>If <strong>rsyslog </strong>is not already installed, install it using the following command:</p>



<div class="wp-block-kevinbatdorf-code-block-pro" data-code-block-pro-font-family="Code-Pro-Geist-Mono" style="font-size:.875rem;font-family:Code-Pro-Geist-Mono,ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace;line-height:1.5rem;--cbp-tab-width:2;tab-size:var(--cbp-tab-width, 2)"><span role="button" tabindex="0" style="color:#adbac7;display:none" aria-label="Copy" class="code-block-pro-copy-button"><pre class="code-block-pro-copy-button-pre" aria-hidden="true"><textarea class="code-block-pro-copy-button-textarea" tabindex="-1" aria-hidden="true" readonly>sudo apt install rsyslog</textarea></pre><svg xmlns="http://www.w3.org/2000/svg" style="width:24px;height:24px" fill="none" viewBox="0 0 24 24" stroke="currentColor" stroke-width="2"><path class="with-check" stroke-linecap="round" stroke-linejoin="round" d="M4.5 12.75l6 6 9-13.5"></path><path class="without-check" stroke-linecap="round" stroke-linejoin="round" d="M16.5 8.25V6a2.25 2.25 0 00-2.25-2.25H6A2.25 2.25 0 003.75 6v8.25A2.25 2.25 0 006 16.5h2.25m8.25-8.25H18a2.25 2.25 0 012.25 2.25V18A2.25 2.25 0 0118 20.25h-7.5A2.25 2.25 0 018.25 18v-1.5m8.25-8.25h-6a2.25 2.25 0 00-2.25 2.25v6"></path></svg></span><pre class="shiki github-dark-dimmed" style="background-color: #22272e" tabindex="0"><code><span class="line"><span style="color: #ADBAC7">sudo apt install rsyslog</span></span></code></pre></div>



<h3 class="wp-block-heading">Step 2: Run the Script</h3>



<p>On the system you want to send logs from, run the following commands to download and run the script to automatically setup rsyslog.</p>



<div class="wp-block-kevinbatdorf-code-block-pro" data-code-block-pro-font-family="Code-Pro-Geist-Mono" style="font-size:.875rem;font-family:Code-Pro-Geist-Mono,ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace;line-height:1.5rem;--cbp-tab-width:2;tab-size:var(--cbp-tab-width, 2)"><span role="button" tabindex="0" style="color:#adbac7;display:none" aria-label="Copy" class="code-block-pro-copy-button"><pre class="code-block-pro-copy-button-pre" aria-hidden="true"><textarea class="code-block-pro-copy-button-textarea" tabindex="-1" aria-hidden="true" readonly>curl -sS -O http://u0022your Nagios Log Server ip addressu0022/nagioslogserver/scripts/setup-linux.sh</textarea></pre><svg xmlns="http://www.w3.org/2000/svg" style="width:24px;height:24px" fill="none" viewBox="0 0 24 24" stroke="currentColor" stroke-width="2"><path class="with-check" stroke-linecap="round" stroke-linejoin="round" d="M4.5 12.75l6 6 9-13.5"></path><path class="without-check" stroke-linecap="round" stroke-linejoin="round" d="M16.5 8.25V6a2.25 2.25 0 00-2.25-2.25H6A2.25 2.25 0 003.75 6v8.25A2.25 2.25 0 006 16.5h2.25m8.25-8.25H18a2.25 2.25 0 012.25 2.25V18A2.25 2.25 0 0118 20.25h-7.5A2.25 2.25 0 018.25 18v-1.5m8.25-8.25h-6a2.25 2.25 0 00-2.25 2.25v6"></path></svg></span><pre class="shiki github-dark-dimmed" style="background-color: #22272e" tabindex="0"><code><span class="line"><span style="color: #ADBAC7">curl </span><span style="color: #F47067">-</span><span style="color: #ADBAC7">sS </span><span style="color: #F47067">-</span><span style="color: #6CB6FF">O</span><span style="color: #ADBAC7"> </span><span style="color: #F69D50">http</span><span style="color: #ADBAC7">:</span><span style="color: #768390">//u0022your Nagios Log Server ip addressu0022/nagioslogserver/scripts/setup-linux.sh</span></span></code></pre></div>



<p>Then run</p>



<div class="wp-block-kevinbatdorf-code-block-pro" data-code-block-pro-font-family="Code-Pro-Geist-Mono" style="font-size:.875rem;font-family:Code-Pro-Geist-Mono,ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace;line-height:1.5rem;--cbp-tab-width:2;tab-size:var(--cbp-tab-width, 2)"><span role="button" tabindex="0" style="color:#adbac7;display:none" aria-label="Copy" class="code-block-pro-copy-button"><pre class="code-block-pro-copy-button-pre" aria-hidden="true"><textarea class="code-block-pro-copy-button-textarea" tabindex="-1" aria-hidden="true" readonly>sudo bash setup-linux.sh -s u0022your Nagios Log Server ip addressu0022 -p 5544</textarea></pre><svg xmlns="http://www.w3.org/2000/svg" style="width:24px;height:24px" fill="none" viewBox="0 0 24 24" stroke="currentColor" stroke-width="2"><path class="with-check" stroke-linecap="round" stroke-linejoin="round" d="M4.5 12.75l6 6 9-13.5"></path><path class="without-check" stroke-linecap="round" stroke-linejoin="round" d="M16.5 8.25V6a2.25 2.25 0 00-2.25-2.25H6A2.25 2.25 0 003.75 6v8.25A2.25 2.25 0 006 16.5h2.25m8.25-8.25H18a2.25 2.25 0 012.25 2.25V18A2.25 2.25 0 0118 20.25h-7.5A2.25 2.25 0 018.25 18v-1.5m8.25-8.25h-6a2.25 2.25 0 00-2.25 2.25v6"></path></svg></span><pre class="shiki github-dark-dimmed" style="background-color: #22272e" tabindex="0"><code><span class="line"><span style="color: #ADBAC7">sudo bash setup</span><span style="color: #F47067">-</span><span style="color: #ADBAC7">linux.sh </span><span style="color: #F47067">-</span><span style="color: #ADBAC7">s u0022your Nagios Log Server ip addressu0022 </span><span style="color: #F47067">-</span><span style="color: #ADBAC7">p </span><span style="color: #6CB6FF">5544</span></span></code></pre></div>



<p>Afterwards you should see a message in your terminal that looks like this:<br><br><em><strong>&#8220;rsyslog is running with the new configuration. Visit your Nagios Log Server dashboard to verify that logs are being received&#8221;</strong></em></p>



<h3 class="wp-block-heading">Step 3: Get IP address and verify incoming logs</h3>



<p>To get your IP address go into the terminal and type:</p>



<div class="wp-block-kevinbatdorf-code-block-pro" data-code-block-pro-font-family="Code-Pro-Geist-Mono" style="font-size:.875rem;font-family:Code-Pro-Geist-Mono,ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace;line-height:1.5rem;--cbp-tab-width:2;tab-size:var(--cbp-tab-width, 2)"><span role="button" tabindex="0" style="color:#adbac7;display:none" aria-label="Copy" class="code-block-pro-copy-button"><pre class="code-block-pro-copy-button-pre" aria-hidden="true"><textarea class="code-block-pro-copy-button-textarea" tabindex="-1" aria-hidden="true" readonly>ip a</textarea></pre><svg xmlns="http://www.w3.org/2000/svg" style="width:24px;height:24px" fill="none" viewBox="0 0 24 24" stroke="currentColor" stroke-width="2"><path class="with-check" stroke-linecap="round" stroke-linejoin="round" d="M4.5 12.75l6 6 9-13.5"></path><path class="without-check" stroke-linecap="round" stroke-linejoin="round" d="M16.5 8.25V6a2.25 2.25 0 00-2.25-2.25H6A2.25 2.25 0 003.75 6v8.25A2.25 2.25 0 006 16.5h2.25m8.25-8.25H18a2.25 2.25 0 012.25 2.25V18A2.25 2.25 0 0118 20.25h-7.5A2.25 2.25 0 018.25 18v-1.5m8.25-8.25h-6a2.25 2.25 0 00-2.25 2.25v6"></path></svg></span><pre class="shiki github-dark-dimmed" style="background-color: #22272e" tabindex="0"><code><span class="line"><span style="color: #ADBAC7">ip a</span></span></code></pre></div>



<p>Then take that address and past it into the IP Address field under &#8220;<strong>Verify Incoming Logs</strong>&#8220;. You should then see however many logs come through similar to the image below.</p>



<figure class="wp-block-image size-large"><a href="https://library.nagios.com/wp-content/uploads/2025/02/New-LSR2-IP-Addy-removed.png"><img loading="lazy" decoding="async" width="1024" height="552" src="https://library.nagios.com/wp-content/uploads/2025/02/New-LSR2-IP-Addy-removed-1024x552.png" alt="New LSR2 IP Addy removed" class="wp-image-46740" title="Configuring Debian 12 Logs with Nagios Log Server 2024R2 7" srcset="https://library.nagios.com/wp-content/uploads/2025/02/New-LSR2-IP-Addy-removed-1024x552.png 1024w, https://library.nagios.com/wp-content/uploads/2025/02/New-LSR2-IP-Addy-removed-300x162.png 300w, https://library.nagios.com/wp-content/uploads/2025/02/New-LSR2-IP-Addy-removed-768x414.png 768w, https://library.nagios.com/wp-content/uploads/2025/02/New-LSR2-IP-Addy-removed-1536x828.png 1536w, https://library.nagios.com/wp-content/uploads/2025/02/New-LSR2-IP-Addy-removed-360x194.png 360w, https://library.nagios.com/wp-content/uploads/2025/02/New-LSR2-IP-Addy-removed.png 1899w" sizes="(max-width: 1024px) 100vw, 1024px" /></a><figcaption class="wp-element-caption">LSR2 Verify Incoming Logs</figcaption></figure>



<p>After you have verified go to the &#8220;<strong>Dashboards</strong>&#8221; tab on the lefthand side to see various syslog data coming from your Debian 12 machine. </p>



<figure class="wp-block-image size-large"><a href="https://library.nagios.com/wp-content/uploads/2025/02/New-LSR2-Dash-arrow.png"><img loading="lazy" decoding="async" width="1024" height="547" src="https://library.nagios.com/wp-content/uploads/2025/02/New-LSR2-Dash-arrow-1024x547.png" alt="New LSR2 Dash arrow" class="wp-image-46716" title="Configuring Debian 12 Logs with Nagios Log Server 2024R2 8" srcset="https://library.nagios.com/wp-content/uploads/2025/02/New-LSR2-Dash-arrow-1024x547.png 1024w, https://library.nagios.com/wp-content/uploads/2025/02/New-LSR2-Dash-arrow-300x160.png 300w, https://library.nagios.com/wp-content/uploads/2025/02/New-LSR2-Dash-arrow-768x410.png 768w, https://library.nagios.com/wp-content/uploads/2025/02/New-LSR2-Dash-arrow-1536x820.png 1536w, https://library.nagios.com/wp-content/uploads/2025/02/New-LSR2-Dash-arrow-360x192.png 360w, https://library.nagios.com/wp-content/uploads/2025/02/New-LSR2-Dash-arrow.png 1907w" sizes="(max-width: 1024px) 100vw, 1024px" /></a><figcaption class="wp-element-caption">LSR2 Dashboards</figcaption></figure>



<p>You can even zoom in further to a certain time frame to see more syslog data like shown here:</p>



<figure class="wp-block-image size-large"><a href="https://library.nagios.com/wp-content/uploads/2025/02/New-LSR2-Dash.png"><img loading="lazy" decoding="async" width="1024" height="557" src="https://library.nagios.com/wp-content/uploads/2025/02/New-LSR2-Dash-1024x557.png" alt="New LSR2 Dash" class="wp-image-46717" title="Configuring Debian 12 Logs with Nagios Log Server 2024R2 9" srcset="https://library.nagios.com/wp-content/uploads/2025/02/New-LSR2-Dash-1024x557.png 1024w, https://library.nagios.com/wp-content/uploads/2025/02/New-LSR2-Dash-300x163.png 300w, https://library.nagios.com/wp-content/uploads/2025/02/New-LSR2-Dash-768x418.png 768w, https://library.nagios.com/wp-content/uploads/2025/02/New-LSR2-Dash-1536x835.png 1536w, https://library.nagios.com/wp-content/uploads/2025/02/New-LSR2-Dash-360x196.png 360w, https://library.nagios.com/wp-content/uploads/2025/02/New-LSR2-Dash.png 1896w" sizes="(max-width: 1024px) 100vw, 1024px" /></a><figcaption class="wp-element-caption">LSR@ Syslog Data</figcaption></figure>



<h2 class="wp-block-heading">Conclusion</h2>



<p>To watch a video on how to do this click <a href="https://www.youtube.com/watch?v=flMcuXDNRWs" data-type="link" data-id="https://www.youtube.com/watch?v=flMcuXDNRWs" target="_blank" rel="noopener">here </a>and follow us on YouTube to stay up to date on new releases and features.</p>



<p>Documentation: Monitoring a New Log Source: <a href="https://www.youtube.com/redirect?event=video_description&amp;redir_token=QUFFLUhqbE9NVWNoSkYxRGFKWEZmcGh6Qld1ejd2S2Zwd3xBQ3Jtc0tudU9tVVVQdnV3Y0tMMmd4TGNtbEtlVVI0ZTB3U1AxWW9qc1BqbXlScW5BUHBQQnJyei1PcFFGTG53TFFFY1psZmUwQzc0cXdKRlFVdWZ1WXBVRk44SDdobVBLRW9jbXE1STZwSE9lb21KbElhUEZaNA&amp;q=https%3A%2F%2Fassets.nagios.com%2Fdownloads%2Fnagios-log-server%2Fdocs%2FMonitoring-A-New-Log-Source-With-Nagios-Log-Server.pdf&amp;v=flMcuXDNRWs" target="_blank" rel="noreferrer noopener">https://assets.nagios.com/downloads/n&#8230;</a></p>



<p>Visit Our Website:&nbsp;<a href="https://www.youtube.com/redirect?event=video_description&amp;redir_token=QUFFLUhqa2Y0Z240bWZVdlFwR3pIa09MQWxpYVhUa0lZQXxBQ3Jtc0tuNEZzbXFBVGMzVTgwWkRpMHFNYjV2NmhBcGppUzd2YXN4QUNDRHlGUHh2VXBvcUdMdkM0bUg0dno1Y3FHM2pSWTU1MUlhSWRwSW94ckppWmt1Vm85SUxQcm1UdXZrczNSd1dxLVU5TUpwbHR3bEVpYw&amp;q=https%3A%2F%2Fwww.nagios.com%2F&amp;v=flMcuXDNRWs" target="_blank" rel="noreferrer noopener">https://www.nagios.com</a> </p>



<p>Visit Nagios Support: <a href="https://www.youtube.com/redirect?event=video_description&amp;redir_token=QUFFLUhqbl8wSWR6LUZMZllzSUxvdXdsSTFvc2lrR1lSd3xBQ3Jtc0tsclhaYWZKbUdzYW1Cak1NXzUzeEJ2MUlwdzlOaUJUcjZuVTlna3RNblRPZnJrcGtaZ0d4dlIxV01sT1Ziekx6Qmt1TzhENmREWnpLLTJ0bS1mdlR2cU5XQm13VS1keWdIUnBPN0o4cjFLRzZLS0pkQQ&amp;q=https%3A%2F%2Fsupport.nagios.com%2F&amp;v=flMcuXDNRWs" target="_blank" rel="noreferrer noopener">https://support.nagios.com/</a></p>



<p>Visit Nagios Exchange: <a href="https://www.youtube.com/redirect?event=video_description&amp;redir_token=QUFFLUhqa1BfS283Z0JCWEg2TklqNFFTUjBGWmtoaFFnUXxBQ3Jtc0ttc2xTNnBFTUVzY2JDS3AzYUpRVk1CQ0R5Y1JnRjd0SGVQcmx5RjZ5ZTg0RHp1LXIxSHYxeXpXdThtTXFTaFd4dFZKdFZvdnVfYVM2UHQ3STcwXzdkaDU4OWk4cTgzRDB6M00yUnE2SklWTWJSd0hRSQ&amp;q=https%3A%2F%2Fexchange.nagios.org%2F&amp;v=flMcuXDNRWs" target="_blank" rel="noreferrer noopener">https://exchange.nagios.org/</a></p>



<p></p>
]]></content:encoded>
					
		
		
		<media:content url="https://www.youtube.com/embed/redir_token" medium="video">
			<media:player url="https://www.youtube.com/embed/redir_token" />
			<media:title type="plain">Debian 12 Archives - Nagios Library</media:title>
			<media:thumbnail url="https://library.nagios.com/wp-content/uploads/2025/03/NagiosLogo.webp" />
			<media:rating scheme="urn:simple">nonadult</media:rating>
		</media:content>
	</item>
		<item>
		<title>Installing Nagios Cross-Platform Agent on a Debian 12 Workstation</title>
		<link>https://library.nagios.com/documentation/installing-nagios-cross-platform-agent-on-a-debian-12-workstation/</link>
		
		<dc:creator><![CDATA[Johnny Mengistu]]></dc:creator>
		<pubDate>Wed, 19 Feb 2025 23:33:34 +0000</pubDate>
				<category><![CDATA[Documentation]]></category>
		<category><![CDATA[Monitoring]]></category>
		<category><![CDATA[Debian 12]]></category>
		<category><![CDATA[NCPA]]></category>
		<guid isPermaLink="false">https://library.nagios.com/?p=48141</guid>

					<description><![CDATA[Nagios Core is one of the most widely used monitoring solutions for IT infrastructure, and the Nagios Cross-Platform Agent (NCPA) is a versatile and powerful tool for monitoring both Linux and Windows systems. NCPA allows you to monitor system metrics such as CPU usage, memory consumption, disk space, and more. In this guide, we will [&#8230;]]]></description>
										<content:encoded><![CDATA[
<p>Nagios Core is one of the most widely used monitoring solutions for IT infrastructure, and the Nagios Cross-Platform Agent (NCPA) is a versatile and powerful tool for monitoring both Linux and Windows systems. NCPA allows you to monitor system metrics such as CPU usage, memory consumption, disk space, and more. In this guide, we will walk you through the steps to install Nagios NCPA on a Debian 12 workstation.</p>



<h3 class="wp-block-heading"><strong>Prerequisites</strong></h3>



<p>Before starting the installation, ensure that you have the following prerequisites in place:</p>



<ul class="wp-block-list">
<li>A working Debian 12 workstation.</li>



<li>A user with sudo privileges.</li>



<li>Basic knowledge of using the terminal and text editors like nano or vim.</li>



<li>Knowledge of bash scripting </li>



<li>A working instance of Nagios XI</li>
</ul>



<h3 class="wp-block-heading"><strong>Step 1: Update the System</strong></h3>



<p>It&#8217;s always a good idea to make sure your system is up to date before installing any new software. Open a terminal and run the following commands to update the package lists and upgrade existing packages:</p>



<div class="wp-block-kevinbatdorf-code-block-pro" data-code-block-pro-font-family="Code-Pro-Geist-Mono" style="font-size:.875rem;font-family:Code-Pro-Geist-Mono,ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace;line-height:1.5rem;--cbp-tab-width:2;tab-size:var(--cbp-tab-width, 2)"><span role="button" tabindex="0" style="color:#D4D4D4;display:none" aria-label="Copy" class="code-block-pro-copy-button"><pre class="code-block-pro-copy-button-pre" aria-hidden="true"><textarea class="code-block-pro-copy-button-textarea" tabindex="-1" aria-hidden="true" readonly>sudo apt update

sudo apt upgrade -y</textarea></pre><svg xmlns="http://www.w3.org/2000/svg" style="width:24px;height:24px" fill="none" viewBox="0 0 24 24" stroke="currentColor" stroke-width="2"><path class="with-check" stroke-linecap="round" stroke-linejoin="round" d="M4.5 12.75l6 6 9-13.5"></path><path class="without-check" stroke-linecap="round" stroke-linejoin="round" d="M16.5 8.25V6a2.25 2.25 0 00-2.25-2.25H6A2.25 2.25 0 003.75 6v8.25A2.25 2.25 0 006 16.5h2.25m8.25-8.25H18a2.25 2.25 0 012.25 2.25V18A2.25 2.25 0 0118 20.25h-7.5A2.25 2.25 0 018.25 18v-1.5m8.25-8.25h-6a2.25 2.25 0 00-2.25 2.25v6"></path></svg></span><pre class="shiki dark-plus" style="background-color: #1E1E1E" tabindex="0"><code><span class="line"><span style="color: #9CDCFE">sudo</span><span style="color: #D4D4D4"> </span><span style="color: #9CDCFE">apt</span><span style="color: #D4D4D4"> </span><span style="color: #9CDCFE">update</span></span>
<span class="line"></span>
<span class="line"><span style="color: #9CDCFE">sudo</span><span style="color: #D4D4D4"> </span><span style="color: #9CDCFE">apt</span><span style="color: #D4D4D4"> </span><span style="color: #9CDCFE">upgrade</span><span style="color: #D4D4D4"> -</span><span style="color: #9CDCFE">y</span></span></code></pre></div>



<h3 class="wp-block-heading"><strong>Step 2: Download and Install the NCPA Package</strong></h3>



<p>Now, you&#8217;ll need to download the NCPA package from Nagios’s official website. You can do this using the wget command. First, navigate to the directory where you want to store the downloaded package. For simplicity, we’ll use the /tmp directory:</p>



<div class="wp-block-kevinbatdorf-code-block-pro" data-code-block-pro-font-family="Code-Pro-Geist-Mono" style="font-size:.875rem;font-family:Code-Pro-Geist-Mono,ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace;line-height:1.5rem;--cbp-tab-width:2;tab-size:var(--cbp-tab-width, 2)"><span role="button" tabindex="0" style="color:#D4D4D4;display:none" aria-label="Copy" class="code-block-pro-copy-button"><pre class="code-block-pro-copy-button-pre" aria-hidden="true"><textarea class="code-block-pro-copy-button-textarea" tabindex="-1" aria-hidden="true" readonly>cd /tmp</textarea></pre><svg xmlns="http://www.w3.org/2000/svg" style="width:24px;height:24px" fill="none" viewBox="0 0 24 24" stroke="currentColor" stroke-width="2"><path class="with-check" stroke-linecap="round" stroke-linejoin="round" d="M4.5 12.75l6 6 9-13.5"></path><path class="without-check" stroke-linecap="round" stroke-linejoin="round" d="M16.5 8.25V6a2.25 2.25 0 00-2.25-2.25H6A2.25 2.25 0 003.75 6v8.25A2.25 2.25 0 006 16.5h2.25m8.25-8.25H18a2.25 2.25 0 012.25 2.25V18A2.25 2.25 0 0118 20.25h-7.5A2.25 2.25 0 018.25 18v-1.5m8.25-8.25h-6a2.25 2.25 0 00-2.25 2.25v6"></path></svg></span><pre class="shiki dark-plus" style="background-color: #1E1E1E" tabindex="0"><code><span class="line"><span style="color: #9CDCFE">cd</span><span style="color: #D4D4D4"> /</span><span style="color: #9CDCFE">tmp</span></span></code></pre></div>



<p>Next, download the latest NCPA package for Debian. The following command downloads the latest .deb package for Debian systems:</p>



<div class="wp-block-kevinbatdorf-code-block-pro" data-code-block-pro-font-family="Code-Pro-Geist-Mono" style="font-size:.875rem;font-family:Code-Pro-Geist-Mono,ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace;line-height:1.5rem;--cbp-tab-width:2;tab-size:var(--cbp-tab-width, 2)"><span role="button" tabindex="0" style="color:#D4D4D4;display:none" aria-label="Copy" class="code-block-pro-copy-button"><pre class="code-block-pro-copy-button-pre" aria-hidden="true"><textarea class="code-block-pro-copy-button-textarea" tabindex="-1" aria-hidden="true" readonly>wget https://assets.nagios.com/downloads/ncpa3/ncpa-latest-1.amd64.deb</textarea></pre><svg xmlns="http://www.w3.org/2000/svg" style="width:24px;height:24px" fill="none" viewBox="0 0 24 24" stroke="currentColor" stroke-width="2"><path class="with-check" stroke-linecap="round" stroke-linejoin="round" d="M4.5 12.75l6 6 9-13.5"></path><path class="without-check" stroke-linecap="round" stroke-linejoin="round" d="M16.5 8.25V6a2.25 2.25 0 00-2.25-2.25H6A2.25 2.25 0 003.75 6v8.25A2.25 2.25 0 006 16.5h2.25m8.25-8.25H18a2.25 2.25 0 012.25 2.25V18A2.25 2.25 0 0118 20.25h-7.5A2.25 2.25 0 018.25 18v-1.5m8.25-8.25h-6a2.25 2.25 0 00-2.25 2.25v6"></path></svg></span><pre class="shiki dark-plus" style="background-color: #1E1E1E" tabindex="0"><code><span class="line"><span style="color: #9CDCFE">wget</span><span style="color: #D4D4D4"> </span><span style="color: #C8C8C8">https</span><span style="color: #D4D4D4">:</span><span style="color: #6A9955">//assets.nagios.com/downloads/ncpa3/ncpa-latest-1.amd64.deb</span></span></code></pre></div>



<p>You should see an image similar to this below if done correctly:</p>



<figure class="wp-block-image size-large"><a href="https://library.nagios.com/wp-content/uploads/2025/02/Download-the-NCPA-Package.png"><img loading="lazy" decoding="async" width="1009" height="292" src="https://library.nagios.com/wp-content/uploads/2025/02/Download-the-NCPA-Package.png" alt="Download the NCPA Package" class="wp-image-48455" title="Installing Nagios Cross-Platform Agent on a Debian 12 Workstation 10" srcset="https://library.nagios.com/wp-content/uploads/2025/02/Download-the-NCPA-Package.png 1009w, https://library.nagios.com/wp-content/uploads/2025/02/Download-the-NCPA-Package-300x87.png 300w, https://library.nagios.com/wp-content/uploads/2025/02/Download-the-NCPA-Package-768x222.png 768w, https://library.nagios.com/wp-content/uploads/2025/02/Download-the-NCPA-Package-360x104.png 360w" sizes="(max-width: 1009px) 100vw, 1009px" /></a><figcaption class="wp-element-caption">NCPA Package</figcaption></figure>



<p></p>



<p><strong>Note</strong>: Ensure that you check the <a href="https://github.com/NagiosEnterprises/ncpa/releases" target="_blank" rel="noopener">Nagios NCPA GitHub releases page</a> for the most recent version of NCPA and replace the link above accordingly.</p>



<h3 class="wp-block-heading"><strong>Step 3: Install the NCPA Package</strong></h3>



<p>Once the package is downloaded, you can install it using the<strong> dpkg</strong> command:</p>



<div class="wp-block-kevinbatdorf-code-block-pro" data-code-block-pro-font-family="Code-Pro-Geist-Mono" style="font-size:.875rem;font-family:Code-Pro-Geist-Mono,ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace;line-height:1.5rem;--cbp-tab-width:2;tab-size:var(--cbp-tab-width, 2)"><span role="button" tabindex="0" style="color:#D4D4D4;display:none" aria-label="Copy" class="code-block-pro-copy-button"><pre class="code-block-pro-copy-button-pre" aria-hidden="true"><textarea class="code-block-pro-copy-button-textarea" tabindex="-1" aria-hidden="true" readonly>sudo dpkg -i ncpa-latest-1.amd64.deb</textarea></pre><svg xmlns="http://www.w3.org/2000/svg" style="width:24px;height:24px" fill="none" viewBox="0 0 24 24" stroke="currentColor" stroke-width="2"><path class="with-check" stroke-linecap="round" stroke-linejoin="round" d="M4.5 12.75l6 6 9-13.5"></path><path class="without-check" stroke-linecap="round" stroke-linejoin="round" d="M16.5 8.25V6a2.25 2.25 0 00-2.25-2.25H6A2.25 2.25 0 003.75 6v8.25A2.25 2.25 0 006 16.5h2.25m8.25-8.25H18a2.25 2.25 0 012.25 2.25V18A2.25 2.25 0 0118 20.25h-7.5A2.25 2.25 0 018.25 18v-1.5m8.25-8.25h-6a2.25 2.25 0 00-2.25 2.25v6"></path></svg></span><pre class="shiki dark-plus" style="background-color: #1E1E1E" tabindex="0"><code><span class="line"><span style="color: #9CDCFE">sudo</span><span style="color: #D4D4D4"> </span><span style="color: #9CDCFE">dpkg</span><span style="color: #D4D4D4"> -</span><span style="color: #9CDCFE">i</span><span style="color: #D4D4D4"> </span><span style="color: #9CDCFE">ncpa</span><span style="color: #D4D4D4">-</span><span style="color: #9CDCFE">latest</span><span style="color: #D4D4D4">-1.</span><span style="color: #9CDCFE">amd64</span><span style="color: #D4D4D4">.</span><span style="color: #9CDCFE">deb</span></span></code></pre></div>



<h3 class="wp-block-heading"><strong>Step 4: Configure NCPA</strong></h3>



<p>After installation, you’ll need to configure the NCPA agent. The configuration file is located at <code>/usr/local/ncpa/etc/ncpa.cfg</code>.</p>



<p>To edit the configuration, you can use the script below:</p>



<div class="wp-block-kevinbatdorf-code-block-pro" data-code-block-pro-font-family="Code-Pro-Geist-Mono" style="font-size:.875rem;font-family:Code-Pro-Geist-Mono,ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace;line-height:1.5rem;--cbp-tab-width:2;tab-size:var(--cbp-tab-width, 2)"><span role="button" tabindex="0" style="color:#D4D4D4;display:none" aria-label="Copy" class="code-block-pro-copy-button"><pre class="code-block-pro-copy-button-pre" aria-hidden="true"><textarea class="code-block-pro-copy-button-textarea" tabindex="-1" aria-hidden="true" readonly>sudo nano /usr/local/ncpa/etc/ncpa.cfg</textarea></pre><svg xmlns="http://www.w3.org/2000/svg" style="width:24px;height:24px" fill="none" viewBox="0 0 24 24" stroke="currentColor" stroke-width="2"><path class="with-check" stroke-linecap="round" stroke-linejoin="round" d="M4.5 12.75l6 6 9-13.5"></path><path class="without-check" stroke-linecap="round" stroke-linejoin="round" d="M16.5 8.25V6a2.25 2.25 0 00-2.25-2.25H6A2.25 2.25 0 003.75 6v8.25A2.25 2.25 0 006 16.5h2.25m8.25-8.25H18a2.25 2.25 0 012.25 2.25V18A2.25 2.25 0 0118 20.25h-7.5A2.25 2.25 0 018.25 18v-1.5m8.25-8.25h-6a2.25 2.25 0 00-2.25 2.25v6"></path></svg></span><pre class="shiki dark-plus" style="background-color: #1E1E1E" tabindex="0"><code><span class="line"><span style="color: #9CDCFE">sudo</span><span style="color: #D4D4D4"> </span><span style="color: #9CDCFE">nano</span><span style="color: #D4D4D4"> /</span><span style="color: #9CDCFE">usr</span><span style="color: #D4D4D4">/</span><span style="color: #9CDCFE">local</span><span style="color: #D4D4D4">/</span><span style="color: #9CDCFE">ncpa</span><span style="color: #D4D4D4">/</span><span style="color: #9CDCFE">etc</span><span style="color: #D4D4D4">/</span><span style="color: #9CDCFE">ncpa</span><span style="color: #D4D4D4">.</span><span style="color: #9CDCFE">cfg</span></span></code></pre></div>



<p>Your screen should look similar to the one below after the script:</p>



<figure class="wp-block-image size-large"><a href="https://library.nagios.com/wp-content/uploads/2025/02/NCPA-Main-Config-File.png"><img loading="lazy" decoding="async" width="785" height="458" src="https://library.nagios.com/wp-content/uploads/2025/02/NCPA-Main-Config-File.png" alt="NCPA Main Config File" class="wp-image-48478" title="Installing Nagios Cross-Platform Agent on a Debian 12 Workstation 11" srcset="https://library.nagios.com/wp-content/uploads/2025/02/NCPA-Main-Config-File.png 785w, https://library.nagios.com/wp-content/uploads/2025/02/NCPA-Main-Config-File-300x175.png 300w, https://library.nagios.com/wp-content/uploads/2025/02/NCPA-Main-Config-File-768x448.png 768w, https://library.nagios.com/wp-content/uploads/2025/02/NCPA-Main-Config-File-360x210.png 360w" sizes="(max-width: 785px) 100vw, 785px" /></a><figcaption class="wp-element-caption">NCPA Config</figcaption></figure>



<p></p>



<p><strong>Set a Password for the NCPA API</strong><br>In the configuration file, look for the API key parameter. This is used to authenticate API requests. You should set a strong password for the API key. It should look like this below:</p>



<figure class="wp-block-image size-full"><a href="https://library.nagios.com/wp-content/uploads/2025/02/NCPA-Main-Config-File-API-Comm-String-Token-1.png"><img loading="lazy" decoding="async" width="776" height="454" src="https://library.nagios.com/wp-content/uploads/2025/02/NCPA-Main-Config-File-API-Comm-String-Token-1.png" alt="NCPA Main Config File API Comm String Token 1" class="wp-image-48484" title="Installing Nagios Cross-Platform Agent on a Debian 12 Workstation 12" srcset="https://library.nagios.com/wp-content/uploads/2025/02/NCPA-Main-Config-File-API-Comm-String-Token-1.png 776w, https://library.nagios.com/wp-content/uploads/2025/02/NCPA-Main-Config-File-API-Comm-String-Token-1-300x176.png 300w, https://library.nagios.com/wp-content/uploads/2025/02/NCPA-Main-Config-File-API-Comm-String-Token-1-768x449.png 768w, https://library.nagios.com/wp-content/uploads/2025/02/NCPA-Main-Config-File-API-Comm-String-Token-1-360x211.png 360w" sizes="(max-width: 776px) 100vw, 776px" /></a><figcaption class="wp-element-caption">Listener Config</figcaption></figure>



<p></p>



<p>The community string token, by default, might have a series of numbers or it might say &#8220;my_token&#8221;. After making changes press &#8220;<mark style="background-color:#000000" class="has-inline-color has-vivid-red-color">CTRL </mark>and <mark style="background-color:#000000" class="has-inline-color has-vivid-red-color">X</mark><mark style="background-color:#000000;color:#0711e3" class="has-inline-color"> </mark>&#8221; then press <mark style="background-color:#000000" class="has-inline-color has-vivid-red-color">Y </mark>to confirm your changes and hit <mark style="background-color:#000000" class="has-inline-color has-vivid-red-color">Enter </mark>to save everything. </p>



<h3 class="wp-block-heading"><strong>Step 5: Install &amp; Enable UFW</strong></h3>



<p>If you already have ufw installed and enabled skip this step. If you dont you&#8217;ll need to install ufw with the following scripts. First we&#8217;ll check the status by:</p>



<div class="wp-block-kevinbatdorf-code-block-pro" data-code-block-pro-font-family="Code-Pro-Geist-Mono" style="font-size:.875rem;font-family:Code-Pro-Geist-Mono,ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace;line-height:1.5rem;--cbp-tab-width:2;tab-size:var(--cbp-tab-width, 2)"><span role="button" tabindex="0" style="color:#D4D4D4;display:none" aria-label="Copy" class="code-block-pro-copy-button"><pre class="code-block-pro-copy-button-pre" aria-hidden="true"><textarea class="code-block-pro-copy-button-textarea" tabindex="-1" aria-hidden="true" readonly>sudo ufw status</textarea></pre><svg xmlns="http://www.w3.org/2000/svg" style="width:24px;height:24px" fill="none" viewBox="0 0 24 24" stroke="currentColor" stroke-width="2"><path class="with-check" stroke-linecap="round" stroke-linejoin="round" d="M4.5 12.75l6 6 9-13.5"></path><path class="without-check" stroke-linecap="round" stroke-linejoin="round" d="M16.5 8.25V6a2.25 2.25 0 00-2.25-2.25H6A2.25 2.25 0 003.75 6v8.25A2.25 2.25 0 006 16.5h2.25m8.25-8.25H18a2.25 2.25 0 012.25 2.25V18A2.25 2.25 0 0118 20.25h-7.5A2.25 2.25 0 018.25 18v-1.5m8.25-8.25h-6a2.25 2.25 0 00-2.25 2.25v6"></path></svg></span><pre class="shiki dark-plus" style="background-color: #1E1E1E" tabindex="0"><code><span class="line"><span style="color: #9CDCFE">sudo</span><span style="color: #D4D4D4"> </span><span style="color: #9CDCFE">ufw</span><span style="color: #D4D4D4"> </span><span style="color: #9CDCFE">status</span></span></code></pre></div>



<p>Then if it&#8217;s not installed we&#8217;ll need install it, check the status again to make sure it&#8217;s there, enable then reload it. Enter each script individually not at the same time:</p>



<div class="wp-block-kevinbatdorf-code-block-pro" data-code-block-pro-font-family="Code-Pro-Geist-Mono" style="font-size:.875rem;font-family:Code-Pro-Geist-Mono,ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace;line-height:1.5rem;--cbp-tab-width:2;tab-size:var(--cbp-tab-width, 2)"><span role="button" tabindex="0" style="color:#D4D4D4;display:none" aria-label="Copy" class="code-block-pro-copy-button"><pre class="code-block-pro-copy-button-pre" aria-hidden="true"><textarea class="code-block-pro-copy-button-textarea" tabindex="-1" aria-hidden="true" readonly>sudo apt install ufw
sudo ufw status
sudo ufw enable
sudo ufw reload</textarea></pre><svg xmlns="http://www.w3.org/2000/svg" style="width:24px;height:24px" fill="none" viewBox="0 0 24 24" stroke="currentColor" stroke-width="2"><path class="with-check" stroke-linecap="round" stroke-linejoin="round" d="M4.5 12.75l6 6 9-13.5"></path><path class="without-check" stroke-linecap="round" stroke-linejoin="round" d="M16.5 8.25V6a2.25 2.25 0 00-2.25-2.25H6A2.25 2.25 0 003.75 6v8.25A2.25 2.25 0 006 16.5h2.25m8.25-8.25H18a2.25 2.25 0 012.25 2.25V18A2.25 2.25 0 0118 20.25h-7.5A2.25 2.25 0 018.25 18v-1.5m8.25-8.25h-6a2.25 2.25 0 00-2.25 2.25v6"></path></svg></span><pre class="shiki dark-plus" style="background-color: #1E1E1E" tabindex="0"><code><span class="line"><span style="color: #9CDCFE">sudo</span><span style="color: #D4D4D4"> </span><span style="color: #9CDCFE">apt</span><span style="color: #D4D4D4"> </span><span style="color: #9CDCFE">install</span><span style="color: #D4D4D4"> </span><span style="color: #9CDCFE">ufw</span></span>
<span class="line"><span style="color: #9CDCFE">sudo</span><span style="color: #D4D4D4"> </span><span style="color: #9CDCFE">ufw</span><span style="color: #D4D4D4"> </span><span style="color: #9CDCFE">status</span></span>
<span class="line"><span style="color: #9CDCFE">sudo</span><span style="color: #D4D4D4"> </span><span style="color: #9CDCFE">ufw</span><span style="color: #D4D4D4"> </span><span style="color: #9CDCFE">enable</span></span>
<span class="line"><span style="color: #9CDCFE">sudo</span><span style="color: #D4D4D4"> </span><span style="color: #9CDCFE">ufw</span><span style="color: #D4D4D4"> </span><span style="color: #9CDCFE">reload</span></span></code></pre></div>



<h3 class="wp-block-heading"><strong>Step 6: Start the NCPA Service</strong></h3>



<p>Once you have configured NCPA to your liking and installed ufw, you need to start the NCPA service. Use the following command to start the NCPA service:</p>



<div class="wp-block-kevinbatdorf-code-block-pro" data-code-block-pro-font-family="Code-Pro-Geist-Mono" style="font-size:.875rem;font-family:Code-Pro-Geist-Mono,ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace;line-height:1.5rem;--cbp-tab-width:2;tab-size:var(--cbp-tab-width, 2)"><span role="button" tabindex="0" style="color:#D4D4D4;display:none" aria-label="Copy" class="code-block-pro-copy-button"><pre class="code-block-pro-copy-button-pre" aria-hidden="true"><textarea class="code-block-pro-copy-button-textarea" tabindex="-1" aria-hidden="true" readonly>systemctl restart ncpa</textarea></pre><svg xmlns="http://www.w3.org/2000/svg" style="width:24px;height:24px" fill="none" viewBox="0 0 24 24" stroke="currentColor" stroke-width="2"><path class="with-check" stroke-linecap="round" stroke-linejoin="round" d="M4.5 12.75l6 6 9-13.5"></path><path class="without-check" stroke-linecap="round" stroke-linejoin="round" d="M16.5 8.25V6a2.25 2.25 0 00-2.25-2.25H6A2.25 2.25 0 003.75 6v8.25A2.25 2.25 0 006 16.5h2.25m8.25-8.25H18a2.25 2.25 0 012.25 2.25V18A2.25 2.25 0 0118 20.25h-7.5A2.25 2.25 0 018.25 18v-1.5m8.25-8.25h-6a2.25 2.25 0 00-2.25 2.25v6"></path></svg></span><pre class="shiki dark-plus" style="background-color: #1E1E1E" tabindex="0"><code><span class="line"><span style="color: #9CDCFE">systemctl</span><span style="color: #D4D4D4"> </span><span style="color: #9CDCFE">restart</span><span style="color: #D4D4D4"> </span><span style="color: #9CDCFE">ncpa</span></span></code></pre></div>



<p>This will restart the service, and NCPA will now use the newly configured token.</p>



<h3 class="wp-block-heading"><strong>Step 7: Configure Firewall</strong></h3>



<p>Next we&#8217;ll configure the firewall and allow traffic on port 5693 which is used by NCPA</p>



<p>1. Create directory for ufw application profiles</p>



<ol class="wp-block-list">
<li></li>
</ol>



<div class="wp-block-kevinbatdorf-code-block-pro" data-code-block-pro-font-family="Code-Pro-Geist-Mono" style="font-size:.875rem;font-family:Code-Pro-Geist-Mono,ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace;line-height:1.5rem;--cbp-tab-width:2;tab-size:var(--cbp-tab-width, 2)"><span role="button" tabindex="0" style="color:#D4D4D4;display:none" aria-label="Copy" class="code-block-pro-copy-button"><pre class="code-block-pro-copy-button-pre" aria-hidden="true"><textarea class="code-block-pro-copy-button-textarea" tabindex="-1" aria-hidden="true" readonly>sudo mkdir -p /etc/ufw/applications.d</textarea></pre><svg xmlns="http://www.w3.org/2000/svg" style="width:24px;height:24px" fill="none" viewBox="0 0 24 24" stroke="currentColor" stroke-width="2"><path class="with-check" stroke-linecap="round" stroke-linejoin="round" d="M4.5 12.75l6 6 9-13.5"></path><path class="without-check" stroke-linecap="round" stroke-linejoin="round" d="M16.5 8.25V6a2.25 2.25 0 00-2.25-2.25H6A2.25 2.25 0 003.75 6v8.25A2.25 2.25 0 006 16.5h2.25m8.25-8.25H18a2.25 2.25 0 012.25 2.25V18A2.25 2.25 0 0118 20.25h-7.5A2.25 2.25 0 018.25 18v-1.5m8.25-8.25h-6a2.25 2.25 0 00-2.25 2.25v6"></path></svg></span><pre class="shiki dark-plus" style="background-color: #1E1E1E" tabindex="0"><code><span class="line"><span style="color: #9CDCFE">sudo</span><span style="color: #D4D4D4"> </span><span style="color: #9CDCFE">mkdir</span><span style="color: #D4D4D4"> -</span><span style="color: #9CDCFE">p</span><span style="color: #D4D4D4"> /</span><span style="color: #9CDCFE">etc</span><span style="color: #D4D4D4">/</span><span style="color: #9CDCFE">ufw</span><span style="color: #D4D4D4">/</span><span style="color: #9CDCFE">applications</span><span style="color: #D4D4D4">.</span><span style="color: #9CDCFE">d</span></span></code></pre></div>



<p>     2. Create a custom application profile for NCPA. Make sure to enter each script individually and not at the same time.</p>



<div class="wp-block-kevinbatdorf-code-block-pro" data-code-block-pro-font-family="Code-Pro-Geist-Mono" style="font-size:.875rem;font-family:Code-Pro-Geist-Mono,ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace;line-height:1.5rem;--cbp-tab-width:2;tab-size:var(--cbp-tab-width, 2)"><span role="button" tabindex="0" style="color:#D4D4D4;display:none" aria-label="Copy" class="code-block-pro-copy-button"><pre class="code-block-pro-copy-button-pre" aria-hidden="true"><textarea class="code-block-pro-copy-button-textarea" tabindex="-1" aria-hidden="true" readonly>sudo sh -c "echo '&#91;NCPA&#93;' > /etc/ufw/applications.d/ncpa"
sudo sh -c "echo 'title=Nagios Cross Platform Agent' >> /etc/ufw/applications.d/ncpa"
sudo sh -c "echo 'description=Nagios Monitoring Agent' >> /etc/ufw/applications.d/ncpa"
sudo sh -c "echo 'ports=5693/tcp' >> /etc/ufw/applications.d/ncpa"</textarea></pre><svg xmlns="http://www.w3.org/2000/svg" style="width:24px;height:24px" fill="none" viewBox="0 0 24 24" stroke="currentColor" stroke-width="2"><path class="with-check" stroke-linecap="round" stroke-linejoin="round" d="M4.5 12.75l6 6 9-13.5"></path><path class="without-check" stroke-linecap="round" stroke-linejoin="round" d="M16.5 8.25V6a2.25 2.25 0 00-2.25-2.25H6A2.25 2.25 0 003.75 6v8.25A2.25 2.25 0 006 16.5h2.25m8.25-8.25H18a2.25 2.25 0 012.25 2.25V18A2.25 2.25 0 0118 20.25h-7.5A2.25 2.25 0 018.25 18v-1.5m8.25-8.25h-6a2.25 2.25 0 00-2.25 2.25v6"></path></svg></span><pre class="shiki dark-plus" style="background-color: #1E1E1E" tabindex="0"><code><span class="line"><span style="color: #9CDCFE">sudo</span><span style="color: #D4D4D4"> </span><span style="color: #9CDCFE">sh</span><span style="color: #D4D4D4"> -</span><span style="color: #9CDCFE">c</span><span style="color: #D4D4D4"> </span><span style="color: #CE9178">&quot;echo &#39;&#91;NCPA&#93;&#39; &gt; /etc/ufw/applications.d/ncpa&quot;</span></span>
<span class="line"><span style="color: #9CDCFE">sudo</span><span style="color: #D4D4D4"> </span><span style="color: #9CDCFE">sh</span><span style="color: #D4D4D4"> -</span><span style="color: #9CDCFE">c</span><span style="color: #D4D4D4"> </span><span style="color: #CE9178">&quot;echo &#39;title=Nagios Cross Platform Agent&#39; &gt;&gt; /etc/ufw/applications.d/ncpa&quot;</span></span>
<span class="line"><span style="color: #9CDCFE">sudo</span><span style="color: #D4D4D4"> </span><span style="color: #9CDCFE">sh</span><span style="color: #D4D4D4"> -</span><span style="color: #9CDCFE">c</span><span style="color: #D4D4D4"> </span><span style="color: #CE9178">&quot;echo &#39;description=Nagios Monitoring Agent&#39; &gt;&gt; /etc/ufw/applications.d/ncpa&quot;</span></span>
<span class="line"><span style="color: #9CDCFE">sudo</span><span style="color: #D4D4D4"> </span><span style="color: #9CDCFE">sh</span><span style="color: #D4D4D4"> -</span><span style="color: #9CDCFE">c</span><span style="color: #D4D4D4"> </span><span style="color: #CE9178">&quot;echo &#39;ports=5693/tcp&#39; &gt;&gt; /etc/ufw/applications.d/ncpa&quot;</span></span></code></pre></div>



<p>     3. Allow NCPA traffic through the firewall</p>



<div class="wp-block-kevinbatdorf-code-block-pro" data-code-block-pro-font-family="Code-Pro-Geist-Mono" style="font-size:.875rem;font-family:Code-Pro-Geist-Mono,ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace;line-height:1.5rem;--cbp-tab-width:2;tab-size:var(--cbp-tab-width, 2)"><span role="button" tabindex="0" style="color:#D4D4D4;display:none" aria-label="Copy" class="code-block-pro-copy-button"><pre class="code-block-pro-copy-button-pre" aria-hidden="true"><textarea class="code-block-pro-copy-button-textarea" tabindex="-1" aria-hidden="true" readonly>sudo ufw allow NCPA</textarea></pre><svg xmlns="http://www.w3.org/2000/svg" style="width:24px;height:24px" fill="none" viewBox="0 0 24 24" stroke="currentColor" stroke-width="2"><path class="with-check" stroke-linecap="round" stroke-linejoin="round" d="M4.5 12.75l6 6 9-13.5"></path><path class="without-check" stroke-linecap="round" stroke-linejoin="round" d="M16.5 8.25V6a2.25 2.25 0 00-2.25-2.25H6A2.25 2.25 0 003.75 6v8.25A2.25 2.25 0 006 16.5h2.25m8.25-8.25H18a2.25 2.25 0 012.25 2.25V18A2.25 2.25 0 0118 20.25h-7.5A2.25 2.25 0 018.25 18v-1.5m8.25-8.25h-6a2.25 2.25 0 00-2.25 2.25v6"></path></svg></span><pre class="shiki dark-plus" style="background-color: #1E1E1E" tabindex="0"><code><span class="line"><span style="color: #9CDCFE">sudo</span><span style="color: #D4D4D4"> </span><span style="color: #9CDCFE">ufw</span><span style="color: #D4D4D4"> </span><span style="color: #9CDCFE">allow</span><span style="color: #D4D4D4"> </span><span style="color: #4FC1FF">NCPA</span></span></code></pre></div>



<p>     4. Reload the firewall to apply the changes</p>



<div class="wp-block-kevinbatdorf-code-block-pro" data-code-block-pro-font-family="Code-Pro-Geist-Mono" style="font-size:.875rem;font-family:Code-Pro-Geist-Mono,ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace;line-height:1.5rem;--cbp-tab-width:2;tab-size:var(--cbp-tab-width, 2)"><span role="button" tabindex="0" style="color:#D4D4D4;display:none" aria-label="Copy" class="code-block-pro-copy-button"><pre class="code-block-pro-copy-button-pre" aria-hidden="true"><textarea class="code-block-pro-copy-button-textarea" tabindex="-1" aria-hidden="true" readonly>sudo ufw reload</textarea></pre><svg xmlns="http://www.w3.org/2000/svg" style="width:24px;height:24px" fill="none" viewBox="0 0 24 24" stroke="currentColor" stroke-width="2"><path class="with-check" stroke-linecap="round" stroke-linejoin="round" d="M4.5 12.75l6 6 9-13.5"></path><path class="without-check" stroke-linecap="round" stroke-linejoin="round" d="M16.5 8.25V6a2.25 2.25 0 00-2.25-2.25H6A2.25 2.25 0 003.75 6v8.25A2.25 2.25 0 006 16.5h2.25m8.25-8.25H18a2.25 2.25 0 012.25 2.25V18A2.25 2.25 0 0118 20.25h-7.5A2.25 2.25 0 018.25 18v-1.5m8.25-8.25h-6a2.25 2.25 0 00-2.25 2.25v6"></path></svg></span><pre class="shiki dark-plus" style="background-color: #1E1E1E" tabindex="0"><code><span class="line"><span style="color: #9CDCFE">sudo</span><span style="color: #D4D4D4"> </span><span style="color: #9CDCFE">ufw</span><span style="color: #D4D4D4"> </span><span style="color: #9CDCFE">reload</span></span></code></pre></div>



<h3 class="wp-block-heading"><strong>Step 8: Verify NCPA Installation</strong></h3>



<p>1. This step is optional but recommended. Open a web browser and go to: <mark style="background-color:#000000" class="has-inline-color has-vivid-red-color">https://&lt;NCPA_IP_Address&gt;:5693/</mark></p>



<p>2. You will see the error message below saying that site isn&#8217;t safe to continue. Simply click <mark style="background-color:#000000" class="has-inline-color has-vivid-red-color">Advanced</mark> and proceed to the site.</p>



<figure class="wp-block-image size-large"><a href="https://library.nagios.com/wp-content/uploads/2025/02/NCPA-Warning-Message.png"><img loading="lazy" decoding="async" width="836" height="328" src="https://library.nagios.com/wp-content/uploads/2025/02/NCPA-Warning-Message.png" alt="NCPA Warning Message" class="wp-image-48583" title="Installing Nagios Cross-Platform Agent on a Debian 12 Workstation 13" srcset="https://library.nagios.com/wp-content/uploads/2025/02/NCPA-Warning-Message.png 836w, https://library.nagios.com/wp-content/uploads/2025/02/NCPA-Warning-Message-300x118.png 300w, https://library.nagios.com/wp-content/uploads/2025/02/NCPA-Warning-Message-768x301.png 768w, https://library.nagios.com/wp-content/uploads/2025/02/NCPA-Warning-Message-360x141.png 360w" sizes="(max-width: 836px) 100vw, 836px" /></a><figcaption class="wp-element-caption">Warning Message</figcaption></figure>



<p></p>



<p>  3. You will then enter the community string API token from earlier in step 4 &amp; click <mark style="background-color:#000000" class="has-inline-color has-vivid-red-color">Log In</mark>. If you have the token proceed to the next step otherwise go back &amp; retrieve it.</p>



<p>  4. Your screen should look like the one below. Click <mark style="background-color:#000000" class="has-inline-color has-vivid-red-color">See Live Stats</mark> to continue</p>



<figure class="wp-block-image size-large"><a href="https://library.nagios.com/wp-content/uploads/2025/02/NCPA-Check-Status.png"><img loading="lazy" decoding="async" width="804" height="487" src="https://library.nagios.com/wp-content/uploads/2025/02/NCPA-Check-Status.png" alt="NCPA Check Status" class="wp-image-48581" title="Installing Nagios Cross-Platform Agent on a Debian 12 Workstation 14" srcset="https://library.nagios.com/wp-content/uploads/2025/02/NCPA-Check-Status.png 804w, https://library.nagios.com/wp-content/uploads/2025/02/NCPA-Check-Status-300x182.png 300w, https://library.nagios.com/wp-content/uploads/2025/02/NCPA-Check-Status-768x465.png 768w, https://library.nagios.com/wp-content/uploads/2025/02/NCPA-Check-Status-360x218.png 360w" sizes="(max-width: 804px) 100vw, 804px" /></a><figcaption class="wp-element-caption">See Live Status</figcaption></figure>



<p></p>



<h3 class="wp-block-heading"><strong>Step 9: Configure NCPA on Nagios XI</strong></h3>



<p>1. In the Neptune interface, log into Nagios XI and hover your mouse over the gear icon &amp; select <mark style="background-color:#000000" class="has-inline-color has-vivid-red-color">Configuration Wizards</mark>. Or click the gear icon &amp; then click <mark style="background-color:#000000" class="has-inline-color has-vivid-red-color">Configuration Wizards</mark>. If you&#8217;re using light or dark mode the buttons might be in different locations.</p>



<p>2. In the search bar above like in the picture below look for NCPA and select it</p>



<figure class="wp-block-image size-large"><a href="https://library.nagios.com/wp-content/uploads/2025/02/NCPA-Config-Select.png"><img loading="lazy" decoding="async" width="1024" height="530" src="https://library.nagios.com/wp-content/uploads/2025/02/NCPA-Config-Select-1024x530.png" alt="NCPA Config Select" class="wp-image-48607" title="Installing Nagios Cross-Platform Agent on a Debian 12 Workstation 15" srcset="https://library.nagios.com/wp-content/uploads/2025/02/NCPA-Config-Select-1024x530.png 1024w, https://library.nagios.com/wp-content/uploads/2025/02/NCPA-Config-Select-300x155.png 300w, https://library.nagios.com/wp-content/uploads/2025/02/NCPA-Config-Select-768x398.png 768w, https://library.nagios.com/wp-content/uploads/2025/02/NCPA-Config-Select-1536x795.png 1536w, https://library.nagios.com/wp-content/uploads/2025/02/NCPA-Config-Select-360x186.png 360w, https://library.nagios.com/wp-content/uploads/2025/02/NCPA-Config-Select.png 1912w" sizes="(max-width: 1024px) 100vw, 1024px" /></a><figcaption class="wp-element-caption">Config Wizards</figcaption></figure>



<p></p>



<p> 3. Enter the IP address, API token and system you are using (Debian) like in the picture below</p>



<p> 4. Fill in the rest of the information to your liking and click <mark style="background-color:#000000" class="has-inline-color has-vivid-red-color">Finish </mark>or <mark style="background-color:#000000" class="has-inline-color has-vivid-red-color">Finish w/Defaults</mark></p>



<figure class="wp-block-image size-large"><a href="https://library.nagios.com/wp-content/uploads/2025/02/NCPA-More-Config-Info.png"><img loading="lazy" decoding="async" width="1024" height="507" src="https://library.nagios.com/wp-content/uploads/2025/02/NCPA-More-Config-Info-1024x507.png" alt="NCPA More Config Info" class="wp-image-48599" title="Installing Nagios Cross-Platform Agent on a Debian 12 Workstation 16" srcset="https://library.nagios.com/wp-content/uploads/2025/02/NCPA-More-Config-Info-1024x507.png 1024w, https://library.nagios.com/wp-content/uploads/2025/02/NCPA-More-Config-Info-300x149.png 300w, https://library.nagios.com/wp-content/uploads/2025/02/NCPA-More-Config-Info-768x381.png 768w, https://library.nagios.com/wp-content/uploads/2025/02/NCPA-More-Config-Info-1536x761.png 1536w, https://library.nagios.com/wp-content/uploads/2025/02/NCPA-More-Config-Info-360x178.png 360w, https://library.nagios.com/wp-content/uploads/2025/02/NCPA-More-Config-Info.png 1651w" sizes="(max-width: 1024px) 100vw, 1024px" /></a><figcaption class="wp-element-caption">NCPA Config Wizard</figcaption></figure>



<p></p>



<p> 5. After you are finished click the home icon on the far left and select the green host bar in the middle of the screen like in the picture below.</p>



<figure class="wp-block-image size-large"><a href="https://library.nagios.com/wp-content/uploads/2025/02/NCPA-Home.png"><img loading="lazy" decoding="async" width="1024" height="526" src="https://library.nagios.com/wp-content/uploads/2025/02/NCPA-Home-1024x526.png" alt="NCPA Home" class="wp-image-48600" title="Installing Nagios Cross-Platform Agent on a Debian 12 Workstation 17" srcset="https://library.nagios.com/wp-content/uploads/2025/02/NCPA-Home-1024x526.png 1024w, https://library.nagios.com/wp-content/uploads/2025/02/NCPA-Home-300x154.png 300w, https://library.nagios.com/wp-content/uploads/2025/02/NCPA-Home-768x394.png 768w, https://library.nagios.com/wp-content/uploads/2025/02/NCPA-Home-1536x789.png 1536w, https://library.nagios.com/wp-content/uploads/2025/02/NCPA-Home-360x185.png 360w, https://library.nagios.com/wp-content/uploads/2025/02/NCPA-Home.png 1905w" sizes="(max-width: 1024px) 100vw, 1024px" /></a><figcaption class="wp-element-caption">Home Dashboard</figcaption></figure>



<p></p>



<p>    6. Select the name of the NCPA agent you just created &amp; you will see <strong>Host Status Details</strong></p>



<figure class="wp-block-image size-large"><a href="https://library.nagios.com/wp-content/uploads/2025/02/NCPA-Host-Status-Detail.png"><img loading="lazy" decoding="async" width="1024" height="467" src="https://library.nagios.com/wp-content/uploads/2025/02/NCPA-Host-Status-Detail-1024x467.png" alt="NCPA Host Status Detail" class="wp-image-48606" title="Installing Nagios Cross-Platform Agent on a Debian 12 Workstation 18" srcset="https://library.nagios.com/wp-content/uploads/2025/02/NCPA-Host-Status-Detail-1024x467.png 1024w, https://library.nagios.com/wp-content/uploads/2025/02/NCPA-Host-Status-Detail-300x137.png 300w, https://library.nagios.com/wp-content/uploads/2025/02/NCPA-Host-Status-Detail-768x350.png 768w, https://library.nagios.com/wp-content/uploads/2025/02/NCPA-Host-Status-Detail-1536x701.png 1536w, https://library.nagios.com/wp-content/uploads/2025/02/NCPA-Host-Status-Detail-360x164.png 360w, https://library.nagios.com/wp-content/uploads/2025/02/NCPA-Host-Status-Detail.png 1556w" sizes="(max-width: 1024px) 100vw, 1024px" /></a><figcaption class="wp-element-caption">Host Status Detail</figcaption></figure>



<p></p>



<h3 class="wp-block-heading"><strong>Conclusion</strong></h3>



<p>Installing Nagios NCPA on a Debian 12 workstation is a straightforward process that allows you to collect valuable system metrics and monitor your system from Nagios Core. By following these steps, you can ensure that your workstation is integrated into your monitoring setup, providing real-time insights into your system&#8217;s performance and health.</p>



<p>Once installed, you can further customize the NCPA configuration to suit your environment, add it to your Nagios monitoring setup, and ensure that your system is continuously monitored for performance issues.</p>



<h3 class="wp-block-heading"><strong>Additional Resources</strong></h3>



<p>Visit Our Website:&nbsp;<a href="https://www.youtube.com/redirect?event=video_description&amp;redir_token=QUFFLUhqa2Y0Z240bWZVdlFwR3pIa09MQWxpYVhUa0lZQXxBQ3Jtc0tuNEZzbXFBVGMzVTgwWkRpMHFNYjV2NmhBcGppUzd2YXN4QUNDRHlGUHh2VXBvcUdMdkM0bUg0dno1Y3FHM2pSWTU1MUlhSWRwSW94ckppWmt1Vm85SUxQcm1UdXZrczNSd1dxLVU5TUpwbHR3bEVpYw&amp;q=https%3A%2F%2Fwww.nagios.com%2F&amp;v=flMcuXDNRWs" target="_blank" rel="noreferrer noopener">https://www.nagios.com</a></p>



<p>Visit Nagios Support: <a href="https://www.youtube.com/redirect?event=video_description&amp;redir_token=QUFFLUhqbl8wSWR6LUZMZllzSUxvdXdsSTFvc2lrR1lSd3xBQ3Jtc0tsclhaYWZKbUdzYW1Cak1NXzUzeEJ2MUlwdzlOaUJUcjZuVTlna3RNblRPZnJrcGtaZ0d4dlIxV01sT1Ziekx6Qmt1TzhENmREWnpLLTJ0bS1mdlR2cU5XQm13VS1keWdIUnBPN0o4cjFLRzZLS0pkQQ&amp;q=https%3A%2F%2Fsupport.nagios.com%2F&amp;v=flMcuXDNRWs" target="_blank" rel="noreferrer noopener">https://support.nagios.com/</a></p>



<p>Visit Nagios Exchange: <a href="https://www.youtube.com/redirect?event=video_description&amp;redir_token=QUFFLUhqa1BfS283Z0JCWEg2TklqNFFTUjBGWmtoaFFnUXxBQ3Jtc0ttc2xTNnBFTUVzY2JDS3AzYUpRVk1CQ0R5Y1JnRjd0SGVQcmx5RjZ5ZTg0RHp1LXIxSHYxeXpXdThtTXFTaFd4dFZKdFZvdnVfYVM2UHQ3STcwXzdkaDU4OWk4cTgzRDB6M00yUnE2SklWTWJSd0hRSQ&amp;q=https%3A%2F%2Fexchange.nagios.org%2F&amp;v=flMcuXDNRWs" target="_blank" rel="noreferrer noopener">https://exchange.nagios.org/</a></p>



<p></p>



<p></p>
]]></content:encoded>
					
		
		
		<media:content url="https://www.youtube.com/embed/redir_token" medium="video">
			<media:player url="https://www.youtube.com/embed/redir_token" />
			<media:title type="plain">Debian 12 Archives - Nagios Library</media:title>
			<media:description type="html"><![CDATA[Enjoy the videos and music you love, upload original content, and share it all with friends, family, and the world on YouTube.]]></media:description>
			<media:thumbnail url="https://library.nagios.com/wp-content/uploads/2025/02/Debian-12.jpg" />
			<media:rating scheme="urn:simple">nonadult</media:rating>
		</media:content>
	</item>
		<item>
		<title>How to Configure Debian 12 Logs with Nagios Log Server</title>
		<link>https://library.nagios.com/documentation/debian-12-logs-nagios-log-server/</link>
		
		<dc:creator><![CDATA[Johnny Mengistu]]></dc:creator>
		<pubDate>Thu, 13 Feb 2025 01:21:46 +0000</pubDate>
				<category><![CDATA[Documentation]]></category>
		<category><![CDATA[Monitoring]]></category>
		<category><![CDATA[Debian 12]]></category>
		<guid isPermaLink="false">https://library.nagios.com/?p=45383</guid>

					<description><![CDATA[In this article, we will walk through the process of configuring log collection on a Debian 12 system using Nagios Log Server. Nagios Log Server provides centralized log management, helping system administrators monitor, analyze, and store logs in a centralized repository. By the end of this guide, you will have configured your Debian 12 system [&#8230;]]]></description>
										<content:encoded><![CDATA[
<p>In this article, we will walk through the process of configuring log collection on a Debian 12 system using Nagios Log Server.</p>



<p>Nagios Log Server provides centralized log management, helping system administrators monitor, analyze, and store logs in a centralized repository. By the end of this guide, you will have configured your Debian 12 system to forward logs to Nagios Log Server for easy monitoring. After configuration, you should immediately start receiving the logs that you would normally view in the <code>/var/log/messages</code> file on the Linux system you configured.</p>



<h2 class="wp-block-heading"><strong>Prerequisites</strong></h2>



<p>Before beginning the setup process, ensure that you meet the following requirements:</p>



<ul class="wp-block-list">
<li>A running Debian 12 system.</li>



<li>Root or sudo privileges on the Debian 12 system.</li>



<li>A Nagios Log Server instance (you can use Nagios Log Server in your own infrastructure or use Nagios XI or a hosted version).</li>



<li>Basic knowledge of Linux and command-line operations.</li>



<li>Make sure you have a bridged connection before starting up your Debian workstation.</li>
</ul>



<h2 class="wp-block-heading">Automatic Script &#8211; Supported Operating Systems</h2>



<ul class="wp-block-list">
<li>CentOS, Fedora, and RHEL.</li>



<li>Ubuntu and Debian.</li>
</ul>



<p><em>You must have rsyslog installed. If your operating system is not listed, you can manually configure syslog or rsyslog by going to the &#8220;<strong>Home</strong>&#8221; tab (after logging into Log Server) then select &#8220;<strong>+ Linux</strong>&#8221; under &#8220;<strong>Add a log source to start collecting logs</strong>&#8220;</em> and select whichever manual configuration setup option you prefer.</p>



<h3 class="wp-block-heading">Step 1: Install Required Dependencies on Debian 12</h3>



<p>First, you will need to install rsyslog, which is the default logging service for Debian, and configure it to send logs to the Nagios Log Server.</p>



<ol start="1" class="wp-block-list">
<li><strong>Update the System</strong></li>
</ol>



<p>Make sure your Debian 12 system is up-to-date by running:</p>



<div class="wp-block-kevinbatdorf-code-block-pro" data-code-block-pro-font-family="Code-Pro-Geist-Mono" style="font-size:.875rem;font-family:Code-Pro-Geist-Mono,ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace;line-height:1.5rem;--cbp-tab-width:2;tab-size:var(--cbp-tab-width, 2)"><span role="button" tabindex="0" style="color:#adbac7;display:none" aria-label="Copy" class="code-block-pro-copy-button"><pre class="code-block-pro-copy-button-pre" aria-hidden="true"><textarea class="code-block-pro-copy-button-textarea" tabindex="-1" aria-hidden="true" readonly>bash

sudo apt update</textarea></pre><svg xmlns="http://www.w3.org/2000/svg" style="width:24px;height:24px" fill="none" viewBox="0 0 24 24" stroke="currentColor" stroke-width="2"><path class="with-check" stroke-linecap="round" stroke-linejoin="round" d="M4.5 12.75l6 6 9-13.5"></path><path class="without-check" stroke-linecap="round" stroke-linejoin="round" d="M16.5 8.25V6a2.25 2.25 0 00-2.25-2.25H6A2.25 2.25 0 003.75 6v8.25A2.25 2.25 0 006 16.5h2.25m8.25-8.25H18a2.25 2.25 0 012.25 2.25V18A2.25 2.25 0 0118 20.25h-7.5A2.25 2.25 0 018.25 18v-1.5m8.25-8.25h-6a2.25 2.25 0 00-2.25 2.25v6"></path></svg></span><pre class="shiki github-dark-dimmed" style="background-color: #22272e" tabindex="0"><code><span class="line"><span style="color: #ADBAC7">bash</span></span>
<span class="line"></span>
<span class="line"><span style="color: #ADBAC7">sudo apt update</span></span></code></pre></div>



<ol start="2" class="wp-block-list">
<li><strong>Install rsyslog</strong></li>
</ol>



<p>If <strong>rsyslog </strong>is not already installed, install it using the following command:</p>



<div class="wp-block-kevinbatdorf-code-block-pro" data-code-block-pro-font-family="Code-Pro-Geist-Mono" style="font-size:.875rem;font-family:Code-Pro-Geist-Mono,ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace;line-height:1.5rem;--cbp-tab-width:2;tab-size:var(--cbp-tab-width, 2)"><span role="button" tabindex="0" style="color:#adbac7;display:none" aria-label="Copy" class="code-block-pro-copy-button"><pre class="code-block-pro-copy-button-pre" aria-hidden="true"><textarea class="code-block-pro-copy-button-textarea" tabindex="-1" aria-hidden="true" readonly>sudo apt install rsyslog</textarea></pre><svg xmlns="http://www.w3.org/2000/svg" style="width:24px;height:24px" fill="none" viewBox="0 0 24 24" stroke="currentColor" stroke-width="2"><path class="with-check" stroke-linecap="round" stroke-linejoin="round" d="M4.5 12.75l6 6 9-13.5"></path><path class="without-check" stroke-linecap="round" stroke-linejoin="round" d="M16.5 8.25V6a2.25 2.25 0 00-2.25-2.25H6A2.25 2.25 0 003.75 6v8.25A2.25 2.25 0 006 16.5h2.25m8.25-8.25H18a2.25 2.25 0 012.25 2.25V18A2.25 2.25 0 0118 20.25h-7.5A2.25 2.25 0 018.25 18v-1.5m8.25-8.25h-6a2.25 2.25 0 00-2.25 2.25v6"></path></svg></span><pre class="shiki github-dark-dimmed" style="background-color: #22272e" tabindex="0"><code><span class="line"><span style="color: #ADBAC7">sudo apt install rsyslog</span></span></code></pre></div>



<p></p>



<h3 class="wp-block-heading">Step 2: Run the Script</h3>



<p>On the system you want to send logs from, run the following commands to download and run the script to automatically setup rsyslog.</p>



<div class="wp-block-kevinbatdorf-code-block-pro" data-code-block-pro-font-family="Code-Pro-Geist-Mono" style="font-size:.875rem;font-family:Code-Pro-Geist-Mono,ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace;line-height:1.5rem;--cbp-tab-width:2;tab-size:var(--cbp-tab-width, 2)"><span role="button" tabindex="0" style="color:#adbac7;display:none" aria-label="Copy" class="code-block-pro-copy-button"><pre class="code-block-pro-copy-button-pre" aria-hidden="true"><textarea class="code-block-pro-copy-button-textarea" tabindex="-1" aria-hidden="true" readonly>curl -sS -O http://"your Nagios Log Server ip address"/nagioslogserver/scripts/setup-linux.sh</textarea></pre><svg xmlns="http://www.w3.org/2000/svg" style="width:24px;height:24px" fill="none" viewBox="0 0 24 24" stroke="currentColor" stroke-width="2"><path class="with-check" stroke-linecap="round" stroke-linejoin="round" d="M4.5 12.75l6 6 9-13.5"></path><path class="without-check" stroke-linecap="round" stroke-linejoin="round" d="M16.5 8.25V6a2.25 2.25 0 00-2.25-2.25H6A2.25 2.25 0 003.75 6v8.25A2.25 2.25 0 006 16.5h2.25m8.25-8.25H18a2.25 2.25 0 012.25 2.25V18A2.25 2.25 0 0118 20.25h-7.5A2.25 2.25 0 018.25 18v-1.5m8.25-8.25h-6a2.25 2.25 0 00-2.25 2.25v6"></path></svg></span><pre class="shiki github-dark-dimmed" style="background-color: #22272e" tabindex="0"><code><span class="line"><span style="color: #ADBAC7">curl </span><span style="color: #F47067">-</span><span style="color: #ADBAC7">sS </span><span style="color: #F47067">-</span><span style="color: #6CB6FF">O</span><span style="color: #ADBAC7"> </span><span style="color: #F69D50">http</span><span style="color: #ADBAC7">:</span><span style="color: #768390">//&quot;your Nagios Log Server ip address&quot;/nagioslogserver/scripts/setup-linux.sh</span></span></code></pre></div>



<p>Then run</p>



<div class="wp-block-kevinbatdorf-code-block-pro" data-code-block-pro-font-family="Code-Pro-Geist-Mono" style="font-size:.875rem;font-family:Code-Pro-Geist-Mono,ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace;line-height:1.5rem;--cbp-tab-width:2;tab-size:var(--cbp-tab-width, 2)"><span role="button" tabindex="0" style="color:#adbac7;display:none" aria-label="Copy" class="code-block-pro-copy-button"><pre class="code-block-pro-copy-button-pre" aria-hidden="true"><textarea class="code-block-pro-copy-button-textarea" tabindex="-1" aria-hidden="true" readonly>sudo bash setup-linux.sh -s "your Nagios Log Server ip address" -p 5544</textarea></pre><svg xmlns="http://www.w3.org/2000/svg" style="width:24px;height:24px" fill="none" viewBox="0 0 24 24" stroke="currentColor" stroke-width="2"><path class="with-check" stroke-linecap="round" stroke-linejoin="round" d="M4.5 12.75l6 6 9-13.5"></path><path class="without-check" stroke-linecap="round" stroke-linejoin="round" d="M16.5 8.25V6a2.25 2.25 0 00-2.25-2.25H6A2.25 2.25 0 003.75 6v8.25A2.25 2.25 0 006 16.5h2.25m8.25-8.25H18a2.25 2.25 0 012.25 2.25V18A2.25 2.25 0 0118 20.25h-7.5A2.25 2.25 0 018.25 18v-1.5m8.25-8.25h-6a2.25 2.25 0 00-2.25 2.25v6"></path></svg></span><pre class="shiki github-dark-dimmed" style="background-color: #22272e" tabindex="0"><code><span class="line"><span style="color: #ADBAC7">sudo bash setup</span><span style="color: #F47067">-</span><span style="color: #ADBAC7">linux.sh </span><span style="color: #F47067">-</span><span style="color: #ADBAC7">s </span><span style="color: #96D0FF">&quot;your Nagios Log Server ip address&quot;</span><span style="color: #ADBAC7"> </span><span style="color: #F47067">-</span><span style="color: #ADBAC7">p </span><span style="color: #6CB6FF">5544</span></span></code></pre></div>



<p>Afterwards you should see a message in your terminal that looks like this:<br><br><em><strong>&#8220;rsyslog is running with the new configuration. Visit your Nagios Log Server dashboard to verify that logs are being received&#8221;</strong></em></p>



<h3 class="wp-block-heading">Step 3: Get IP Address and Verify Incoming Logs</h3>



<p>To get your IP address go into the terminal and type:</p>



<div class="wp-block-kevinbatdorf-code-block-pro" data-code-block-pro-font-family="Code-Pro-Geist-Mono" style="font-size:.875rem;font-family:Code-Pro-Geist-Mono,ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace;line-height:1.5rem;--cbp-tab-width:2;tab-size:var(--cbp-tab-width, 2)"><span role="button" tabindex="0" style="color:#adbac7;display:none" aria-label="Copy" class="code-block-pro-copy-button"><pre class="code-block-pro-copy-button-pre" aria-hidden="true"><textarea class="code-block-pro-copy-button-textarea" tabindex="-1" aria-hidden="true" readonly>ip a</textarea></pre><svg xmlns="http://www.w3.org/2000/svg" style="width:24px;height:24px" fill="none" viewBox="0 0 24 24" stroke="currentColor" stroke-width="2"><path class="with-check" stroke-linecap="round" stroke-linejoin="round" d="M4.5 12.75l6 6 9-13.5"></path><path class="without-check" stroke-linecap="round" stroke-linejoin="round" d="M16.5 8.25V6a2.25 2.25 0 00-2.25-2.25H6A2.25 2.25 0 003.75 6v8.25A2.25 2.25 0 006 16.5h2.25m8.25-8.25H18a2.25 2.25 0 012.25 2.25V18A2.25 2.25 0 0118 20.25h-7.5A2.25 2.25 0 018.25 18v-1.5m8.25-8.25h-6a2.25 2.25 0 00-2.25 2.25v6"></path></svg></span><pre class="shiki github-dark-dimmed" style="background-color: #22272e" tabindex="0"><code><span class="line"><span style="color: #ADBAC7">ip a</span></span></code></pre></div>



<p>Then take that address and past it into the IP Address field under &#8220;<strong>Verify Incoming Logs</strong>&#8220;. You should then see however many logs come through similar to the image below.</p>



<figure class="wp-block-image size-large"><a href="https://library.nagios.com/wp-content/uploads/2025/02/Add-a-Log-Source-for-Debain-12-edited.png"><img loading="lazy" decoding="async" width="1024" height="647" src="https://library.nagios.com/wp-content/uploads/2025/02/Add-a-Log-Source-for-Debain-12-edited-1024x647.png" alt="Screenshot of Nagios Log Server dashboard showing incoming log verification." class="wp-image-46238" title="How to Configure Debian 12 Logs with Nagios Log Server 19" srcset="https://library.nagios.com/wp-content/uploads/2025/02/Add-a-Log-Source-for-Debain-12-edited-1024x647.png 1024w, https://library.nagios.com/wp-content/uploads/2025/02/Add-a-Log-Source-for-Debain-12-edited-300x190.png 300w, https://library.nagios.com/wp-content/uploads/2025/02/Add-a-Log-Source-for-Debain-12-edited-768x485.png 768w, https://library.nagios.com/wp-content/uploads/2025/02/Add-a-Log-Source-for-Debain-12-edited-360x227.png 360w, https://library.nagios.com/wp-content/uploads/2025/02/Add-a-Log-Source-for-Debain-12-edited.png 1477w" sizes="(max-width: 1024px) 100vw, 1024px" /></a><figcaption class="wp-element-caption">Verify Incoming Logs</figcaption></figure>



<p>After you have verified go to the &#8220;<strong>Dashboards</strong>&#8221; tab at the top to see various syslog data coming from your Debian 12 machine. You can even zoom in further to a certain time frame to see more syslog data like shown here:</p>



<figure class="wp-block-image size-large"><a href="https://library.nagios.com/wp-content/uploads/2025/02/Add-a-Log-Source-for-Debain-12-pic-2.png"><img loading="lazy" decoding="async" width="1024" height="657" src="https://library.nagios.com/wp-content/uploads/2025/02/Add-a-Log-Source-for-Debain-12-pic-2-1024x657.png" alt="Screenshot of Nagios Log Server showing Syslog data." class="wp-image-46263" title="How to Configure Debian 12 Logs with Nagios Log Server 20" srcset="https://library.nagios.com/wp-content/uploads/2025/02/Add-a-Log-Source-for-Debain-12-pic-2-1024x657.png 1024w, https://library.nagios.com/wp-content/uploads/2025/02/Add-a-Log-Source-for-Debain-12-pic-2-300x193.png 300w, https://library.nagios.com/wp-content/uploads/2025/02/Add-a-Log-Source-for-Debain-12-pic-2-768x493.png 768w, https://library.nagios.com/wp-content/uploads/2025/02/Add-a-Log-Source-for-Debain-12-pic-2-360x231.png 360w, https://library.nagios.com/wp-content/uploads/2025/02/Add-a-Log-Source-for-Debain-12-pic-2.png 1494w" sizes="(max-width: 1024px) 100vw, 1024px" /></a><figcaption class="wp-element-caption">Log Server Syslog Data</figcaption></figure>



<p>To watch a video on how to do this click <a href="https://www.youtube.com/watch?v=flMcuXDNRWs" data-type="link" data-id="https://www.youtube.com/watch?v=flMcuXDNRWs" target="_blank" rel="noopener">here </a>and follow us on YouTube to stay up to date on new releases and features.</p>



<p>Documentation: Monitoring a New Log Source: <a href="https://www.youtube.com/redirect?event=video_description&amp;redir_token=QUFFLUhqbE9NVWNoSkYxRGFKWEZmcGh6Qld1ejd2S2Zwd3xBQ3Jtc0tudU9tVVVQdnV3Y0tMMmd4TGNtbEtlVVI0ZTB3U1AxWW9qc1BqbXlScW5BUHBQQnJyei1PcFFGTG53TFFFY1psZmUwQzc0cXdKRlFVdWZ1WXBVRk44SDdobVBLRW9jbXE1STZwSE9lb21KbElhUEZaNA&amp;q=https%3A%2F%2Fassets.nagios.com%2Fdownloads%2Fnagios-log-server%2Fdocs%2FMonitoring-A-New-Log-Source-With-Nagios-Log-Server.pdf&amp;v=flMcuXDNRWs" target="_blank" rel="noreferrer noopener">https://assets.nagios.com/downloads/n&#8230;</a></p>



<p>Learn More: Download Nagios Log Server: <a href="https://www.youtube.com/redirect?event=video_description&amp;redir_token=QUFFLUhqbk9fWURqVmlGOHAyamhmbW15MkJBam1raFB3d3xBQ3Jtc0tsTDFfSWZwc0MzUFIzc2QteXNKZzNBdkZkUUVTNnhySC1aQWctLWZCNVpzcjBGNzlWS0w0d3dFUUt0ZVZDNU9PMDIyWDRaNUxTdEtFdFY5eTJjZ2lOendUdjNYLUU1WGxvOFYwZU5Ra0JRUFpSUHBkUQ&amp;q=https%3A%2F%2Fwww.nagios.com%2Fproducts%2Fnagios-log-server%2F&amp;v=flMcuXDNRWs" target="_blank" rel="noreferrer noopener">https://www.nagios.com/products/nagio&#8230;</a></p>



<p>Visit Our Website:&nbsp;<a href="https://www.youtube.com/redirect?event=video_description&amp;redir_token=QUFFLUhqa2Y0Z240bWZVdlFwR3pIa09MQWxpYVhUa0lZQXxBQ3Jtc0tuNEZzbXFBVGMzVTgwWkRpMHFNYjV2NmhBcGppUzd2YXN4QUNDRHlGUHh2VXBvcUdMdkM0bUg0dno1Y3FHM2pSWTU1MUlhSWRwSW94ckppWmt1Vm85SUxQcm1UdXZrczNSd1dxLVU5TUpwbHR3bEVpYw&amp;q=https%3A%2F%2Fwww.nagios.com%2F&amp;v=flMcuXDNRWs" target="_blank" rel="noreferrer noopener">https://www.nagios.com</a> </p>



<p>Visit Nagios Support: <a href="https://www.youtube.com/redirect?event=video_description&amp;redir_token=QUFFLUhqbl8wSWR6LUZMZllzSUxvdXdsSTFvc2lrR1lSd3xBQ3Jtc0tsclhaYWZKbUdzYW1Cak1NXzUzeEJ2MUlwdzlOaUJUcjZuVTlna3RNblRPZnJrcGtaZ0d4dlIxV01sT1Ziekx6Qmt1TzhENmREWnpLLTJ0bS1mdlR2cU5XQm13VS1keWdIUnBPN0o4cjFLRzZLS0pkQQ&amp;q=https%3A%2F%2Fsupport.nagios.com%2F&amp;v=flMcuXDNRWs" target="_blank" rel="noreferrer noopener">https://support.nagios.com/</a></p>



<p>Visit Nagios Exchange: <a href="https://www.youtube.com/redirect?event=video_description&amp;redir_token=QUFFLUhqa1BfS283Z0JCWEg2TklqNFFTUjBGWmtoaFFnUXxBQ3Jtc0ttc2xTNnBFTUVzY2JDS3AzYUpRVk1CQ0R5Y1JnRjd0SGVQcmx5RjZ5ZTg0RHp1LXIxSHYxeXpXdThtTXFTaFd4dFZKdFZvdnVfYVM2UHQ3STcwXzdkaDU4OWk4cTgzRDB6M00yUnE2SklWTWJSd0hRSQ&amp;q=https%3A%2F%2Fexchange.nagios.org%2F&amp;v=flMcuXDNRWs" target="_blank" rel="noreferrer noopener">https://exchange.nagios.org/</a></p>
]]></content:encoded>
					
		
		
		<media:content url="https://www.youtube.com/embed/redir_token" medium="video">
			<media:player url="https://www.youtube.com/embed/redir_token" />
			<media:title type="plain">Debian 12 Archives - Nagios Library</media:title>
			<media:description type="html"><![CDATA[Enjoy the videos and music you love, upload original content, and share it all with friends, family, and the world on YouTube.]]></media:description>
			<media:thumbnail url="https://library.nagios.com/wp-content/uploads/2025/02/google-map-intergration-6-1-1-1-1-1-1-1.png" />
			<media:rating scheme="urn:simple">nonadult</media:rating>
		</media:content>
	</item>
		<item>
		<title>How To Install Nagios Log Server On Debian 12</title>
		<link>https://library.nagios.com/documentation/nagios-log-server-manual-installation-instructions-debian-12/</link>
		
		<dc:creator><![CDATA[Johnny Mengistu]]></dc:creator>
		<pubDate>Fri, 07 Feb 2025 23:03:14 +0000</pubDate>
				<category><![CDATA[Documentation]]></category>
		<category><![CDATA[Monitoring]]></category>
		<category><![CDATA[Debian 12]]></category>
		<guid isPermaLink="false">https://library.nagios.com/?p=44671</guid>

					<description><![CDATA[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 [&#8230;]]]></description>
										<content:encoded><![CDATA[
<h2 class="wp-block-heading">Purpose</h2>



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



<h2 class="wp-block-heading">Target Audience</h2>



<p>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.</p>



<h2 class="wp-block-heading">Platform Support</h2>



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



<p>See <a href="https://support.nagios.com/kb/article/nagios-software-operating-system-os-compatibility-matrix-1045.html" target="_blank" rel="noreferrer noopener">Nagios Software/OS compatibility matrix</a>.</p>



<p>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.</p>



<h2 class="wp-block-heading">Installation Prerequisites</h2>



<p><strong>Important:</strong> Nagios Enterprises highly recommends and will only support installing Nagios Log Server on a newly installed, &#8220;clean&#8221; system (a bare minimal install with nothing else installed or configured).&nbsp;</p>



<p>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.</p>



<p>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.</p>



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



<p>Internet access is required for installation and upgrades!</p>



<h2 class="wp-block-heading">Terminal Access</h2>



<p>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.</p>



<h2 class="wp-block-heading">Install Nagios Log Server</h2>



<p>To check if <code>curl</code> is installed, you can run:</p>



<div class="wp-block-kevinbatdorf-code-block-pro" data-code-block-pro-font-family="Code-Pro-Geist-Mono" style="font-size:.875rem;font-family:Code-Pro-Geist-Mono,ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace;line-height:1.5rem;--cbp-tab-width:2;tab-size:var(--cbp-tab-width, 2)"><span role="button" tabindex="0" data-code="bash

curl --version" style="color:#adbac7;display:none" aria-label="Copy" class="code-block-pro-copy-button"><svg xmlns="http://www.w3.org/2000/svg" style="width:24px;height:24px" fill="none" viewBox="0 0 24 24" stroke="currentColor" stroke-width="2"><path class="with-check" stroke-linecap="round" stroke-linejoin="round" d="M4.5 12.75l6 6 9-13.5"></path><path class="without-check" stroke-linecap="round" stroke-linejoin="round" d="M16.5 8.25V6a2.25 2.25 0 00-2.25-2.25H6A2.25 2.25 0 003.75 6v8.25A2.25 2.25 0 006 16.5h2.25m8.25-8.25H18a2.25 2.25 0 012.25 2.25V18A2.25 2.25 0 0118 20.25h-7.5A2.25 2.25 0 018.25 18v-1.5m8.25-8.25h-6a2.25 2.25 0 00-2.25 2.25v6"></path></svg></span><pre class="shiki github-dark-dimmed" style="background-color: #22272e" tabindex="0"><code><span class="line"><span style="color: #ADBAC7">bash</span></span>
<span class="line"></span>
<span class="line"><span style="color: #ADBAC7">curl </span><span style="color: #F47067">--</span><span style="color: #ADBAC7">version</span></span></code></pre></div>



<p>If it&#8217;s not installed, you can easily install it with:</p>



<div class="wp-block-kevinbatdorf-code-block-pro" data-code-block-pro-font-family="Code-Pro-Geist-Mono" style="font-size:.875rem;font-family:Code-Pro-Geist-Mono,ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace;line-height:1.5rem;--cbp-tab-width:2;tab-size:var(--cbp-tab-width, 2)"><span role="button" tabindex="0" data-code="bash

sudo apt update
sudo apt install curl" style="color:#adbac7;display:none" aria-label="Copy" class="code-block-pro-copy-button"><svg xmlns="http://www.w3.org/2000/svg" style="width:24px;height:24px" fill="none" viewBox="0 0 24 24" stroke="currentColor" stroke-width="2"><path class="with-check" stroke-linecap="round" stroke-linejoin="round" d="M4.5 12.75l6 6 9-13.5"></path><path class="without-check" stroke-linecap="round" stroke-linejoin="round" d="M16.5 8.25V6a2.25 2.25 0 00-2.25-2.25H6A2.25 2.25 0 003.75 6v8.25A2.25 2.25 0 006 16.5h2.25m8.25-8.25H18a2.25 2.25 0 012.25 2.25V18A2.25 2.25 0 0118 20.25h-7.5A2.25 2.25 0 018.25 18v-1.5m8.25-8.25h-6a2.25 2.25 0 00-2.25 2.25v6"></path></svg></span><pre class="shiki github-dark-dimmed" style="background-color: #22272e" tabindex="0"><code><span class="line"><span style="color: #ADBAC7">bash</span></span>
<span class="line"></span>
<span class="line"><span style="color: #ADBAC7">sudo apt update</span></span>
<span class="line"><span style="color: #ADBAC7">sudo apt install curl</span></span></code></pre></div>



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



<h3 class="wp-block-heading">Quick</h3>



<p>Execute the following command in your terminal session:</p>



<div class="wp-block-kevinbatdorf-code-block-pro" data-code-block-pro-font-family="Code-Pro-Geist-Mono" style="font-size:.875rem;font-family:Code-Pro-Geist-Mono,ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace;line-height:1.5rem;--cbp-tab-width:2;tab-size:var(--cbp-tab-width, 2)"><span role="button" tabindex="0" data-code="curl https://assets.nagios.com/downloads/nagios-log-server/install.sh | sh" style="color:#adbac7;display:none" aria-label="Copy" class="code-block-pro-copy-button"><svg xmlns="http://www.w3.org/2000/svg" style="width:24px;height:24px" fill="none" viewBox="0 0 24 24" stroke="currentColor" stroke-width="2"><path class="with-check" stroke-linecap="round" stroke-linejoin="round" d="M4.5 12.75l6 6 9-13.5"></path><path class="without-check" stroke-linecap="round" stroke-linejoin="round" d="M16.5 8.25V6a2.25 2.25 0 00-2.25-2.25H6A2.25 2.25 0 003.75 6v8.25A2.25 2.25 0 006 16.5h2.25m8.25-8.25H18a2.25 2.25 0 012.25 2.25V18A2.25 2.25 0 0118 20.25h-7.5A2.25 2.25 0 018.25 18v-1.5m8.25-8.25h-6a2.25 2.25 0 00-2.25 2.25v6"></path></svg></span><pre class="shiki github-dark-dimmed" style="background-color: #22272e" tabindex="0"><code><span class="line"><span style="color: #ADBAC7">curl </span><span style="color: #F69D50">https</span><span style="color: #ADBAC7">:</span><span style="color: #768390">//assets.nagios.com/downloads/nagios-log-server/install.sh | sh</span></span></code></pre></div>



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



<h3 class="wp-block-heading">Manual Download</h3>



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



<div class="wp-block-kevinbatdorf-code-block-pro" data-code-block-pro-font-family="Code-Pro-Geist-Mono" style="font-size:.875rem;font-family:Code-Pro-Geist-Mono,ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace;line-height:1.5rem;--cbp-tab-width:2;tab-size:var(--cbp-tab-width, 2)"><span role="button" tabindex="0" data-code="cd /tmp" style="color:#adbac7;display:none" aria-label="Copy" class="code-block-pro-copy-button"><svg xmlns="http://www.w3.org/2000/svg" style="width:24px;height:24px" fill="none" viewBox="0 0 24 24" stroke="currentColor" stroke-width="2"><path class="with-check" stroke-linecap="round" stroke-linejoin="round" d="M4.5 12.75l6 6 9-13.5"></path><path class="without-check" stroke-linecap="round" stroke-linejoin="round" d="M16.5 8.25V6a2.25 2.25 0 00-2.25-2.25H6A2.25 2.25 0 003.75 6v8.25A2.25 2.25 0 006 16.5h2.25m8.25-8.25H18a2.25 2.25 0 012.25 2.25V18A2.25 2.25 0 0118 20.25h-7.5A2.25 2.25 0 018.25 18v-1.5m8.25-8.25h-6a2.25 2.25 0 00-2.25 2.25v6"></path></svg></span><pre class="shiki github-dark-dimmed" style="background-color: #22272e" tabindex="0"><code><span class="line"><span style="color: #ADBAC7">cd </span><span style="color: #F47067">/</span><span style="color: #ADBAC7">tmp</span></span></code></pre></div>



<p>then</p>



<div class="wp-block-kevinbatdorf-code-block-pro" data-code-block-pro-font-family="Code-Pro-Geist-Mono" style="font-size:.875rem;font-family:Code-Pro-Geist-Mono,ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace;line-height:1.5rem;--cbp-tab-width:2;tab-size:var(--cbp-tab-width, 2)"><span role="button" tabindex="0" data-code="wget https://assets.nagios.com/downloads/nagios-log-server/nagioslogserver-latest.tar.gz tar xzf nagioslogserver-latest.tar.gz" style="color:#adbac7;display:none" aria-label="Copy" class="code-block-pro-copy-button"><svg xmlns="http://www.w3.org/2000/svg" style="width:24px;height:24px" fill="none" viewBox="0 0 24 24" stroke="currentColor" stroke-width="2"><path class="with-check" stroke-linecap="round" stroke-linejoin="round" d="M4.5 12.75l6 6 9-13.5"></path><path class="without-check" stroke-linecap="round" stroke-linejoin="round" d="M16.5 8.25V6a2.25 2.25 0 00-2.25-2.25H6A2.25 2.25 0 003.75 6v8.25A2.25 2.25 0 006 16.5h2.25m8.25-8.25H18a2.25 2.25 0 012.25 2.25V18A2.25 2.25 0 0118 20.25h-7.5A2.25 2.25 0 018.25 18v-1.5m8.25-8.25h-6a2.25 2.25 0 00-2.25 2.25v6"></path></svg></span><pre class="shiki github-dark-dimmed" style="background-color: #22272e" tabindex="0"><code><span class="line"><span style="color: #ADBAC7">wget </span><span style="color: #F69D50">https</span><span style="color: #ADBAC7">:</span><span style="color: #768390">//assets.nagios.com/downloads/nagios-log-server/nagioslogserver-latest.tar.gz tar xzf nagioslogserver-latest.tar.gz</span></span></code></pre></div>



<p>then</p>



<div class="wp-block-kevinbatdorf-code-block-pro" data-code-block-pro-font-family="Code-Pro-Geist-Mono" style="font-size:.875rem;font-family:Code-Pro-Geist-Mono,ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace;line-height:1.5rem;--cbp-tab-width:2;tab-size:var(--cbp-tab-width, 2)"><span role="button" tabindex="0" data-code="cd nagioslogserver" style="color:#adbac7;display:none" aria-label="Copy" class="code-block-pro-copy-button"><svg xmlns="http://www.w3.org/2000/svg" style="width:24px;height:24px" fill="none" viewBox="0 0 24 24" stroke="currentColor" stroke-width="2"><path class="with-check" stroke-linecap="round" stroke-linejoin="round" d="M4.5 12.75l6 6 9-13.5"></path><path class="without-check" stroke-linecap="round" stroke-linejoin="round" d="M16.5 8.25V6a2.25 2.25 0 00-2.25-2.25H6A2.25 2.25 0 003.75 6v8.25A2.25 2.25 0 006 16.5h2.25m8.25-8.25H18a2.25 2.25 0 012.25 2.25V18A2.25 2.25 0 0118 20.25h-7.5A2.25 2.25 0 018.25 18v-1.5m8.25-8.25h-6a2.25 2.25 0 00-2.25 2.25v6"></path></svg></span><pre class="shiki github-dark-dimmed" style="background-color: #22272e" tabindex="0"><code><span class="line"><span style="color: #ADBAC7">cd nagioslogserver</span></span></code></pre></div>



<p>then</p>



<div class="wp-block-kevinbatdorf-code-block-pro" data-code-block-pro-font-family="Code-Pro-Geist-Mono" style="font-size:.875rem;font-family:Code-Pro-Geist-Mono,ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace;line-height:1.5rem;--cbp-tab-width:2;tab-size:var(--cbp-tab-width, 2)"><span role="button" tabindex="0" data-code="./fullinstall" style="color:#D4D4D4;display:none" aria-label="Copy" class="code-block-pro-copy-button"><svg xmlns="http://www.w3.org/2000/svg" style="width:24px;height:24px" fill="none" viewBox="0 0 24 24" stroke="currentColor" stroke-width="2"><path class="with-check" stroke-linecap="round" stroke-linejoin="round" d="M4.5 12.75l6 6 9-13.5"></path><path class="without-check" stroke-linecap="round" stroke-linejoin="round" d="M16.5 8.25V6a2.25 2.25 0 00-2.25-2.25H6A2.25 2.25 0 003.75 6v8.25A2.25 2.25 0 006 16.5h2.25m8.25-8.25H18a2.25 2.25 0 012.25 2.25V18A2.25 2.25 0 0118 20.25h-7.5A2.25 2.25 0 018.25 18v-1.5m8.25-8.25h-6a2.25 2.25 0 00-2.25 2.25v6"></path></svg></span><pre class="shiki dark-plus" style="background-color: #1E1E1E" tabindex="0"><code><span class="line"><span style="color: #D4D4D4">./</span><span style="color: #9CDCFE">fullinstall</span></span></code></pre></div>



<p><strong>Note:</strong> 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: <a href="https://assets.nagios.com/downloads/nagios-log-server/versions.php" target="_blank" rel="noopener">https://assets.nagios.com/downloads/nagios-log-server/versions.php</a>.<a href="https://assets.nagios.com/downloads/nagios-log-server/versions.php" target="_blank" rel="noopener"></a></p>



<p></p>



<h1 class="wp-block-heading">Finalize Installation</h1>



<p>Once the installation has completed you should see a message like the following:</p>



<p><mark style="background-color:rgba(0, 0, 0, 0)" class="has-inline-color has-light-green-cyan-color"><strong>Nagios Log Server Installation Success!</strong></mark></p>



<p><mark style="background-color:rgba(0, 0, 0, 0)" class="has-inline-color has-light-green-cyan-color"><strong>You can finish the final setup steps for Nagios Log Server by visiting:</strong></mark></p>



<p><mark style="background-color:rgba(0, 0, 0, 0)" class="has-inline-color has-light-green-cyan-color"><strong>http://&lt;server_ip_address&gt;/nagioslogserver</strong></mark></p>



<p>Navigate to the user interface by using the URL provided in your terminal session.</p>



<p></p>



<p>You will be presented with the <strong>Final Installation Steps </strong>screen just like this:.</p>



<figure class="wp-block-gallery has-nested-images columns-default is-cropped wp-block-gallery-1 is-layout-flex wp-block-gallery-is-layout-flex">
<figure class="wp-block-image size-large"><a href="https://library.nagios.com/wp-content/uploads/2025/02/Nag-Log-Server-Final-Steps-Pic.png"><img loading="lazy" decoding="async" width="627" height="578" data-id="44782" src="https://library.nagios.com/wp-content/uploads/2025/02/Nag-Log-Server-Final-Steps-Pic.png" alt="Nag Log Server Final Steps Pic" class="wp-image-44782" title="How To Install Nagios Log Server On Debian 12 21" srcset="https://library.nagios.com/wp-content/uploads/2025/02/Nag-Log-Server-Final-Steps-Pic.png 627w, https://library.nagios.com/wp-content/uploads/2025/02/Nag-Log-Server-Final-Steps-Pic-300x277.png 300w" sizes="(max-width: 627px) 100vw, 627px" /></a><figcaption>How To Install Nagios Log Server On Debian 12 24</figcaption></figure>
</figure>



<p>Select <strong>Install</strong> if this is the first server in your Nagios Log Server cluster. Select <strong>Connect</strong> if you want to add this server top an existing Nagios Log Server cluster. Please refer to the following Nagios Log Server documentation <a href="https://assets.nagios.com/downloads/nagios-log-server/docs/Adding-Another-Instance-to-Nagios-Log-Server-Cluster.pdf" target="_blank" rel="noopener">Adding Additional Instances to Cluster </a>for detailed instructions.</p>



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



<figure class="wp-block-image size-large"><a href="https://library.nagios.com/wp-content/uploads/2025/02/Nag-Final-Steps-pt-2.png"><img loading="lazy" decoding="async" width="1024" height="718" src="https://library.nagios.com/wp-content/uploads/2025/02/Nag-Final-Steps-pt-2-1024x718.png" alt="Nag Final Steps pt 2" class="wp-image-44785" title="How To Install Nagios Log Server On Debian 12 22" srcset="https://library.nagios.com/wp-content/uploads/2025/02/Nag-Final-Steps-pt-2-1024x718.png 1024w, https://library.nagios.com/wp-content/uploads/2025/02/Nag-Final-Steps-pt-2-300x210.png 300w, https://library.nagios.com/wp-content/uploads/2025/02/Nag-Final-Steps-pt-2-768x539.png 768w, https://library.nagios.com/wp-content/uploads/2025/02/Nag-Final-Steps-pt-2.png 1215w" sizes="(max-width: 1024px) 100vw, 1024px" /></a><figcaption>How To Install Nagios Log Server On Debian 12 25</figcaption></figure>



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



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



<figure class="wp-block-gallery has-nested-images columns-default is-cropped wp-block-gallery-2 is-layout-flex wp-block-gallery-is-layout-flex">
<figure class="wp-block-image size-large"><a href="https://library.nagios.com/wp-content/uploads/2025/02/Nag-Final-Steps-pt-3.png"><img loading="lazy" decoding="async" width="1024" height="728" data-id="44786" src="https://library.nagios.com/wp-content/uploads/2025/02/Nag-Final-Steps-pt-3-1024x728.png" alt="Nag Final Steps pt 3" class="wp-image-44786" title="How To Install Nagios Log Server On Debian 12 23" srcset="https://library.nagios.com/wp-content/uploads/2025/02/Nag-Final-Steps-pt-3-1024x728.png 1024w, https://library.nagios.com/wp-content/uploads/2025/02/Nag-Final-Steps-pt-3-300x213.png 300w, https://library.nagios.com/wp-content/uploads/2025/02/Nag-Final-Steps-pt-3-768x546.png 768w, https://library.nagios.com/wp-content/uploads/2025/02/Nag-Final-Steps-pt-3.png 1212w" sizes="(max-width: 1024px) 100vw, 1024px" /></a><figcaption>How To Install Nagios Log Server On Debian 12 26</figcaption></figure>
</figure>



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



<h1 class="wp-block-heading">Finishing Up</h1>



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



<p>If you have never used Nagios Log Server before then the following documentation is a great starting point to familiarize yourself with the <a href="https://assets.nagios.com/downloads/nagios-log-server/docs/Nagios-Log-Server-Technical-Overview-And-Terminology-Definitions.pdf" target="_blank" rel="noopener">Technical Overview and Terminology Definitions</a><a href="https://assets.nagios.com/downloads/nagios-log-server/docs/Nagios-Log-Server-Technical-Overview-And-Terminology-Definitions.pdf" target="_blank" rel="noopener">.</a></p>



<p>Please refer to the <a href="https://assets.nagios.com/downloads/nagios-log-server/guides/administrator/" target="_blank" rel="noopener">Nagios Log Server Administrator Guide</a><a href="https://assets.nagios.com/downloads/nagios-log-server/guides/administrator/" target="_blank" rel="noopener"> </a>which will help get you started using Nagios Log Server.</p>



<p><strong>Contact Sales:</strong> sales@nagios.com</p>



<p>The Nagios Support Knowledgebase:<a href="https://support.nagios.com/kb" target="_blank" rel="noopener"> https://support.nagios.com/kb</a>.</p>



<p>To watch a video on this installation, <a href="https://youtu.be/rL1iSeU3xEM?si=hcUIDFPhwWmZpSS-" data-type="link" data-id="https://youtu.be/rL1iSeU3xEM?si=hcUIDFPhwWmZpSS-" target="_blank" rel="noopener">click here</a>. Make sure to like and follow us for our latest news &amp; updates</p>
]]></content:encoded>
					
		
		
			</item>
	</channel>
</rss>
