<?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/"
	>

<channel>
	<title>Elementary OS &#8211; Nagios Library</title>
	<atom:link href="https://library.nagios.com/tag/elementary-os/feed/" rel="self" type="application/rss+xml" />
	<link>https://library.nagios.com</link>
	<description>Complete Nagios monitoring resources and documentation</description>
	<lastBuildDate>Tue, 07 Apr 2026 21:22:46 +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>Elementary OS &#8211; Nagios Library</title>
	<link>https://library.nagios.com</link>
	<width>32</width>
	<height>32</height>
</image> 
	<item>
		<title>How to Configure Elementary OS Logs to Nagios Log Server</title>
		<link>https://library.nagios.com/tutorials/configure-elementary-os-nagios-ls/</link>
		
		<dc:creator><![CDATA[Steven Phan]]></dc:creator>
		<pubDate>Tue, 25 Mar 2025 17:24:07 +0000</pubDate>
				<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[Monitoring]]></category>
		<category><![CDATA[Training]]></category>
		<category><![CDATA[Configuration]]></category>
		<category><![CDATA[Elementary OS]]></category>
		<guid isPermaLink="false">https://library.nagios.com/?p=53117</guid>

					<description><![CDATA[Nagios Log Server can be helpful for elementary OS as it centralizes log management and monitoring, enabling efficient identification and resolution of issues. This ensures system reliability and security. By analyzing log data, you gain valuable insights into performance, detect anomalies, and maintain compliance, enhancing overall IT efficiency. To configure Elementary OS logs to be [&#8230;]]]></description>
										<content:encoded><![CDATA[
<p>Nagios Log Server can be helpful for elementary OS as it centralizes log management and monitoring, enabling efficient identification and resolution of issues. This ensures system reliability and security. By analyzing log data, you gain valuable insights into performance, detect anomalies, and maintain compliance, enhancing overall IT efficiency. To configure Elementary OS logs to be sent to Nagios Log Server, follow these steps.</p>



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



<p>Here are the requirements before you proceed:</p>



<ul class="wp-block-list">
<li>A device running elementary OS.</li>



<li>Require admin privileges to change important things.</li>



<li>Have a Nagios Log Server instance installed on your system.</li>



<li>Internet that is capable of downloading software packages</li>
</ul>



<h3 class="wp-block-heading">Step 1: Install Rsyslog</h3>



<p>You can install rsyslog on your elementary OS 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:#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-get 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 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">get</span><span style="color: #D4D4D4"> </span><span style="color: #9CDCFE">install</span><span style="color: #D4D4D4"> </span><span style="color: #9CDCFE">rsyslog</span></span></code></pre></div>



<h3 class="wp-block-heading">Step 2: Install SELinux</h3>



<p>If SELinux is not installed on your device, install the tool with this 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 apt-get install -y policycoreutils-python-utils</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">get</span><span style="color: #D4D4D4"> </span><span style="color: #9CDCFE">install</span><span style="color: #D4D4D4"> -</span><span style="color: #9CDCFE">y</span><span style="color: #D4D4D4"> </span><span style="color: #9CDCFE">policycoreutils</span><span style="color: #D4D4D4">-</span><span style="color: #9CDCFE">python</span><span style="color: #D4D4D4">-</span><span style="color: #9CDCFE">utils</span></span></code></pre></div>



<h3 class="wp-block-heading">Step 3: Configure Rsyslog</h3>



<p>Edit the Rsyslog configuration file to forward logs to the Nagios Log Server. Open the configuration file</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 /etc/rsyslog.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">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">rsyslog</span><span style="color: #D4D4D4">.</span><span style="color: #9CDCFE">conf</span></span></code></pre></div>



<p>Add the following lines to the configuration file to forward logs to your Nagios Log Server. Replace <strong>your-nagios-log-server-ip</strong> with the IP address of your Nagios Log Server and 5544 with the appropriate port if different.</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>. @@your-nagios-log-server-ip: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 dark-plus" style="background-color: #1E1E1E" tabindex="0"><code><span class="line"><span style="color: #D4D4D4">. @@</span><span style="color: #9CDCFE">your</span><span style="color: #D4D4D4">-</span><span style="color: #9CDCFE">nagios</span><span style="color: #D4D4D4">-</span><span style="color: #9CDCFE">log</span><span style="color: #D4D4D4">-</span><span style="color: #9CDCFE">server</span><span style="color: #D4D4D4">-</span><span style="color: #9CDCFE">ip</span><span style="color: #D4D4D4">:</span><span style="color: #B5CEA8">5544</span></span></code></pre></div>



<p>To include the host IP in your elementary OS logs sent to Nagios Log Server, edit the rsyslog configuration file.</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 /etc/rsyslog.d/99-nagioslogserver.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">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">rsyslog</span><span style="color: #D4D4D4">.</span><span style="color: #9CDCFE">d</span><span style="color: #D4D4D4">/</span><span style="color: #B5CEA8">99</span><span style="color: #D4D4D4">-</span><span style="color: #9CDCFE">nagioslogserver</span><span style="color: #D4D4D4">.</span><span style="color: #9CDCFE">conf</span></span></code></pre></div>



<p>Modify the log format to include your IP address of your Nagios log server.</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>. @@your_nagios_log_server_ip:5544;RSYSLOG_SyslogProtocol23Format</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: #D4D4D4">. @@</span><span style="color: #9CDCFE">your_nagios_log_server_ip</span><span style="color: #D4D4D4">:</span><span style="color: #B5CEA8">5544</span><span style="color: #D4D4D4">;</span><span style="color: #9CDCFE">RSYSLOG_SyslogProtocol23Format</span></span></code></pre></div>



<h3 class="wp-block-heading">Step 4: Restart Rsyslog</h3>



<p>After saving the changes, restart the Rsyslog service to apply the new 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>sudo systemctl restart 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 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">rsyslog</span></span></code></pre></div>



<h3 class="wp-block-heading">Step 4: Verify Log Reception</h3>



<p>On your Nagios Log Server, navigate to the web interface.</p>



<figure class="wp-block-image aligncenter size-large"><a href="https://library.nagios.com/wp-content/uploads/2025/03/Nagios-LS-login-EOS.png"><img fetchpriority="high" decoding="async" width="1024" height="618" src="https://library.nagios.com/wp-content/uploads/2025/03/Nagios-LS-login-EOS-1024x618.png" alt="Nagios LS login EOS" class="wp-image-53149" title="How to Configure Elementary OS Logs to Nagios Log Server 1" srcset="https://library.nagios.com/wp-content/uploads/2025/03/Nagios-LS-login-EOS-1024x618.png 1024w, https://library.nagios.com/wp-content/uploads/2025/03/Nagios-LS-login-EOS-300x181.png 300w, https://library.nagios.com/wp-content/uploads/2025/03/Nagios-LS-login-EOS-768x463.png 768w, https://library.nagios.com/wp-content/uploads/2025/03/Nagios-LS-login-EOS-1536x927.png 1536w, https://library.nagios.com/wp-content/uploads/2025/03/Nagios-LS-login-EOS.png 1715w" sizes="(max-width: 1024px) 100vw, 1024px" /></a><figcaption class="wp-element-caption">Nagios Log Server Login</figcaption></figure>



<p>From the homepage, add a log source by pressing the Linux button to receive logs for elementary OS.</p>



<figure class="wp-block-image aligncenter size-large"><a href="https://library.nagios.com/wp-content/uploads/2025/03/Homepage-LS-EOS.png"><img decoding="async" width="1024" height="618" src="https://library.nagios.com/wp-content/uploads/2025/03/Homepage-LS-EOS-1024x618.png" alt="Homepage LS EOS" class="wp-image-53150" title="How to Configure Elementary OS Logs to Nagios Log Server 2" srcset="https://library.nagios.com/wp-content/uploads/2025/03/Homepage-LS-EOS-1024x618.png 1024w, https://library.nagios.com/wp-content/uploads/2025/03/Homepage-LS-EOS-300x181.png 300w, https://library.nagios.com/wp-content/uploads/2025/03/Homepage-LS-EOS-768x464.png 768w, https://library.nagios.com/wp-content/uploads/2025/03/Homepage-LS-EOS-1536x927.png 1536w, https://library.nagios.com/wp-content/uploads/2025/03/Homepage-LS-EOS.png 1716w" sizes="(max-width: 1024px) 100vw, 1024px" /></a><figcaption class="wp-element-caption">Homepage</figcaption></figure>



<p>Run the script from the box below and input the command to verify if the logs from your elementary OS machine are being received.</p>



<figure class="wp-block-image aligncenter size-large"><a href="https://library.nagios.com/wp-content/uploads/2025/03/Linux-Configure-LS-EOS-1.png"><img decoding="async" width="1024" height="619" src="https://library.nagios.com/wp-content/uploads/2025/03/Linux-Configure-LS-EOS-1-1024x619.png" alt="Linux Configure LS EOS 1" class="wp-image-53153" title="How to Configure Elementary OS Logs to Nagios Log Server 3" srcset="https://library.nagios.com/wp-content/uploads/2025/03/Linux-Configure-LS-EOS-1-1024x619.png 1024w, https://library.nagios.com/wp-content/uploads/2025/03/Linux-Configure-LS-EOS-1-300x181.png 300w, https://library.nagios.com/wp-content/uploads/2025/03/Linux-Configure-LS-EOS-1-768x464.png 768w, https://library.nagios.com/wp-content/uploads/2025/03/Linux-Configure-LS-EOS-1-1536x928.png 1536w, https://library.nagios.com/wp-content/uploads/2025/03/Linux-Configure-LS-EOS-1.png 1715w" sizes="(max-width: 1024px) 100vw, 1024px" /></a><figcaption class="wp-element-caption">Linux Configuration</figcaption></figure>



<p>Enter your IP address for your machine to check your verifying incoming logs. It will be verified with the number of logs being shown.</p>



<figure class="wp-block-image aligncenter size-large"><a href="https://library.nagios.com/wp-content/uploads/2025/03/Verify-Logs-LS-EOW.png"><img loading="lazy" decoding="async" width="1024" height="165" src="https://library.nagios.com/wp-content/uploads/2025/03/Verify-Logs-LS-EOW-1024x165.png" alt="Verify Logs LS EOW" class="wp-image-53154" title="How to Configure Elementary OS Logs to Nagios Log Server 4" srcset="https://library.nagios.com/wp-content/uploads/2025/03/Verify-Logs-LS-EOW-1024x165.png 1024w, https://library.nagios.com/wp-content/uploads/2025/03/Verify-Logs-LS-EOW-300x48.png 300w, https://library.nagios.com/wp-content/uploads/2025/03/Verify-Logs-LS-EOW-768x124.png 768w, https://library.nagios.com/wp-content/uploads/2025/03/Verify-Logs-LS-EOW.png 1169w" sizes="(max-width: 1024px) 100vw, 1024px" /></a><figcaption class="wp-element-caption">Verified Logs</figcaption></figure>



<p>Check the dashboard icon with the four squares to make sure the logs are showing up from the dashboard.</p>



<figure class="wp-block-image aligncenter size-large"><a href="https://library.nagios.com/wp-content/uploads/2025/03/Dashboard-LS-EOS-1.png"><img loading="lazy" decoding="async" width="1024" height="619" src="https://library.nagios.com/wp-content/uploads/2025/03/Dashboard-LS-EOS-1-1024x619.png" alt="Dashboard LS EOS 1" class="wp-image-53170" title="How to Configure Elementary OS Logs to Nagios Log Server 5" srcset="https://library.nagios.com/wp-content/uploads/2025/03/Dashboard-LS-EOS-1-1024x619.png 1024w, https://library.nagios.com/wp-content/uploads/2025/03/Dashboard-LS-EOS-1-300x181.png 300w, https://library.nagios.com/wp-content/uploads/2025/03/Dashboard-LS-EOS-1-768x464.png 768w, https://library.nagios.com/wp-content/uploads/2025/03/Dashboard-LS-EOS-1-1536x928.png 1536w, https://library.nagios.com/wp-content/uploads/2025/03/Dashboard-LS-EOS-1.png 1715w" sizes="(max-width: 1024px) 100vw, 1024px" /></a><figcaption class="wp-element-caption">Dashboard</figcaption></figure>



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



<p>These steps should help you set up log forwarding from Elementary OS to Nagios Log Server. This setup will centralize your log management, making it easier to monitor and analyze system performance, quickly identify and resolve issues, and ensure system reliability and security. If you have additional questions or other support-related questions, please visit us at our <a href="https://support.nagios.com/forum/" data-type="link" data-id="https://support.nagios.com/forum/" target="_blank" rel="noopener">Nagios Support Forum</a>, <a href="https://support.nagios.com/kb/" data-type="link" data-id="https://support.nagios.com/kb/" target="_blank" rel="noopener">Nagios Knowledge Base</a>, or <a href="https://library.nagios.com/" data-type="link" data-id="https://library.nagios.com/" target="_blank" rel="noreferrer noopener">Nagios Library</a>.</p>
]]></content:encoded>
					
		
		
			</item>
		<item>
		<title>How to Set Up SNMP for Elementary OS using Nagios XI</title>
		<link>https://library.nagios.com/tutorials/set-up-snmp-elementary-os-nagios-xi/</link>
		
		<dc:creator><![CDATA[Steven Phan]]></dc:creator>
		<pubDate>Tue, 25 Mar 2025 17:21:58 +0000</pubDate>
				<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[Monitoring]]></category>
		<category><![CDATA[Training]]></category>
		<category><![CDATA[Elementary OS]]></category>
		<category><![CDATA[SNMP]]></category>
		<guid isPermaLink="false">https://library.nagios.com/?p=53098</guid>

					<description><![CDATA[Nagios SNMP can be used for elementary OS as it facilitates comprehensive monitoring of system performance and network devices. By integrating SNMP with Nagios XI, administrators can effectively manage and secure their IT environment, ensuring optimal reliability and efficiency. Here is the procedure with instructions on setting up SNMP for Elementary OS using Nagios XI. [&#8230;]]]></description>
										<content:encoded><![CDATA[
<p>Nagios SNMP can be used for elementary OS as it facilitates comprehensive monitoring of system performance and network devices. By integrating SNMP with Nagios XI, administrators can effectively manage and secure their IT environment, ensuring optimal reliability and efficiency. Here is the procedure with instructions on setting up SNMP for Elementary OS using Nagios XI.</p>



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



<p>Here are the required needs:</p>



<ul class="wp-block-list">
<li>A device running elementary OS.</li>



<li>Require admin privileges to change important things.</li>



<li>Have a Nagios XI instance installed on your system.</li>



<li>Internet is capable to download software packages</li>
</ul>



<h3 class="wp-block-heading">Step 1: Install SNMP Packages</h3>



<p>First, you&#8217;ll need to install the necessary SNMP packages on your elementary OS system. Open a terminal and run 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:#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-get update
sudo apt-get install snmp 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">apt</span><span style="color: #D4D4D4">-</span><span style="color: #9CDCFE">get</span><span style="color: #D4D4D4"> </span><span style="color: #9CDCFE">update</span></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">get</span><span style="color: #D4D4D4"> </span><span style="color: #9CDCFE">install</span><span style="color: #D4D4D4"> </span><span style="color: #9CDCFE">snmp</span><span style="color: #D4D4D4"> </span><span style="color: #9CDCFE">snmpd</span></span></code></pre></div>



<h3 class="wp-block-heading">Step 2: Configure SNMP</h3>



<p>Next, you should configure SNMP. Open the SNMP configuration file and make sure to back up the original file before editing.</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 cp /etc/snmp/snmpd.conf /etc/snmp/snmpd.conf.bak
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">sudo</span><span style="color: #D4D4D4"> </span><span style="color: #9CDCFE">cp</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 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 style="color: #D4D4D4">.</span><span style="color: #9CDCFE">bak</span></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>If the SNMP file isn&#8217;t there, you may use the following command to manually make one.</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 mkdir -p /etc/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">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">snmp</span></span></code></pre></div>



<p>Find the community line and configure it by changing <strong>your_strong_community_string</strong> with your secure string for authentication and&nbsp;<strong>your_nagios_xi_server_ip</strong>&nbsp;with the IP address from your Nagios XI server and then save your file.</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>rocommunity your_strong_community_string your_nagios_xi_server_ip</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">rocommunity</span><span style="color: #D4D4D4"> </span><span style="color: #9CDCFE">your_strong_community_string</span><span style="color: #D4D4D4"> </span><span style="color: #9CDCFE">your_nagios_xi_server_ip</span></span></code></pre></div>



<h3 class="wp-block-heading">Step 3: Restart and Enable SNMP Service</h3>



<p>Restart and start the SNMP service to ensure it runs automatically on boot.</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
sudo systemctl enable 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>
<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">enable</span><span style="color: #D4D4D4"> </span><span style="color: #9CDCFE">snmpd</span></span></code></pre></div>



<h3 class="wp-block-heading">Step 4: Verify SNMP Functionally </h3>



<p>Check the status of the SNMP service to ensure it is running 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>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>



<p>If you want to allow SNMP traffic, update the firewall rules for your device.</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 from your_nagios_xi_server_ip to any port 161 proto udp
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">allow</span><span style="color: #D4D4D4"> </span><span style="color: #9CDCFE">from</span><span style="color: #D4D4D4"> </span><span style="color: #9CDCFE">your_nagios_xi_server_ip</span><span style="color: #D4D4D4"> </span><span style="color: #9CDCFE">to</span><span style="color: #D4D4D4"> </span><span style="color: #9CDCFE">any</span><span style="color: #D4D4D4"> </span><span style="color: #9CDCFE">port</span><span style="color: #D4D4D4"> </span><span style="color: #B5CEA8">161</span><span style="color: #D4D4D4"> </span><span style="color: #9CDCFE">proto</span><span style="color: #D4D4D4"> </span><span style="color: #9CDCFE">udp</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>



<p>From your Nagios XI server, use snmpwalk to test connectivity by using your community string and your elementary OS IP address.</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 your_strong_community_string elementary_os_ip_address</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">your_strong_community_string</span><span style="color: #D4D4D4"> </span><span style="color: #9CDCFE">elementary_os_ip_address</span></span></code></pre></div>



<h3 class="wp-block-heading">Step 5: Integrate with Nagios XI</h3>



<p>Open a web browser and login to your Nagios XI web interface.</p>



<figure class="wp-block-image aligncenter size-large"><a href="https://library.nagios.com/wp-content/uploads/2025/03/Nagios-XI-Login-EOS.png"><img loading="lazy" decoding="async" width="1024" height="640" src="https://library.nagios.com/wp-content/uploads/2025/03/Nagios-XI-Login-EOS-1024x640.png" alt="Nagios XI Login EOS" class="wp-image-53208" title="How to Set Up SNMP for Elementary OS using Nagios XI 6" srcset="https://library.nagios.com/wp-content/uploads/2025/03/Nagios-XI-Login-EOS-1024x640.png 1024w, https://library.nagios.com/wp-content/uploads/2025/03/Nagios-XI-Login-EOS-300x188.png 300w, https://library.nagios.com/wp-content/uploads/2025/03/Nagios-XI-Login-EOS-768x480.png 768w, https://library.nagios.com/wp-content/uploads/2025/03/Nagios-XI-Login-EOS-1536x960.png 1536w, https://library.nagios.com/wp-content/uploads/2025/03/Nagios-XI-Login-EOS.png 1920w" sizes="(max-width: 1024px) 100vw, 1024px" /></a><figcaption class="wp-element-caption">Nagios XI Login</figcaption></figure>



<p>From the main page, navigate to the gear icon and click<strong> Configuration Wizards</strong> and search SNMP from the search bar to find the <strong>Linux SNMP</strong> wizard.</p>



<figure class="wp-block-image aligncenter size-large"><a href="https://library.nagios.com/wp-content/uploads/2025/03/Wizard-List-XI-EOS.png"><img loading="lazy" decoding="async" width="1024" height="640" src="https://library.nagios.com/wp-content/uploads/2025/03/Wizard-List-XI-EOS-1024x640.png" alt="Wizard List XI EOS" class="wp-image-53211" title="How to Set Up SNMP for Elementary OS using Nagios XI 7" srcset="https://library.nagios.com/wp-content/uploads/2025/03/Wizard-List-XI-EOS-1024x640.png 1024w, https://library.nagios.com/wp-content/uploads/2025/03/Wizard-List-XI-EOS-300x188.png 300w, https://library.nagios.com/wp-content/uploads/2025/03/Wizard-List-XI-EOS-768x480.png 768w, https://library.nagios.com/wp-content/uploads/2025/03/Wizard-List-XI-EOS-1536x960.png 1536w, https://library.nagios.com/wp-content/uploads/2025/03/Wizard-List-XI-EOS.png 1920w" sizes="(max-width: 1024px) 100vw, 1024px" /></a><figcaption class="wp-element-caption">Configuration Wizards</figcaption></figure>



<p>Provide your IP address of your elementary OS system and your SNMP credentials for your community string you created.</p>



<figure class="wp-block-image aligncenter size-large"><a href="https://library.nagios.com/wp-content/uploads/2025/03/Linux-SNMP-setup-XI-EOS.png"><img loading="lazy" decoding="async" width="1024" height="451" src="https://library.nagios.com/wp-content/uploads/2025/03/Linux-SNMP-setup-XI-EOS-1024x451.png" alt="Linux SNMP setup XI EOS" class="wp-image-53236" title="How to Set Up SNMP for Elementary OS using Nagios XI 8" srcset="https://library.nagios.com/wp-content/uploads/2025/03/Linux-SNMP-setup-XI-EOS-1024x451.png 1024w, https://library.nagios.com/wp-content/uploads/2025/03/Linux-SNMP-setup-XI-EOS-300x132.png 300w, https://library.nagios.com/wp-content/uploads/2025/03/Linux-SNMP-setup-XI-EOS-768x338.png 768w, https://library.nagios.com/wp-content/uploads/2025/03/Linux-SNMP-setup-XI-EOS-1536x676.png 1536w, https://library.nagios.com/wp-content/uploads/2025/03/Linux-SNMP-setup-XI-EOS.png 1711w" sizes="(max-width: 1024px) 100vw, 1024px" /></a><figcaption class="wp-element-caption">Linux SNMP Configuration Wizard</figcaption></figure>



<p>For this step, configure the following options of your choice by selecting what SNMP services you want to monitor and what metrics you want to monitor. Then complete the wizard if you&#8217;re done by applying the configuration.</p>



<figure class="wp-block-image aligncenter size-large"><a href="https://library.nagios.com/wp-content/uploads/2025/03/Linux-SNMP-setup-2-XI-EOS.png"><img loading="lazy" decoding="async" width="1024" height="576" src="https://library.nagios.com/wp-content/uploads/2025/03/Linux-SNMP-setup-2-XI-EOS-1024x576.png" alt="Linux SNMP setup 2 XI EOS" class="wp-image-53267" title="How to Set Up SNMP for Elementary OS using Nagios XI 9" srcset="https://library.nagios.com/wp-content/uploads/2025/03/Linux-SNMP-setup-2-XI-EOS-1024x576.png 1024w, https://library.nagios.com/wp-content/uploads/2025/03/Linux-SNMP-setup-2-XI-EOS-300x169.png 300w, https://library.nagios.com/wp-content/uploads/2025/03/Linux-SNMP-setup-2-XI-EOS-768x432.png 768w, https://library.nagios.com/wp-content/uploads/2025/03/Linux-SNMP-setup-2-XI-EOS-1536x864.png 1536w, https://library.nagios.com/wp-content/uploads/2025/03/Linux-SNMP-setup-2-XI-EOS.png 1576w" sizes="(max-width: 1024px) 100vw, 1024px" /></a><figcaption class="wp-element-caption">More Linux SNMP Configuration</figcaption></figure>



<h3 class="wp-block-heading">Step 6: Verify Monitoring</h3>



<p>Check that Nagios XI is receiving SNMP data from your device running elementary OS after the wizard is finished. Verify that the status indicators are green, which indicate effective monitoring, by going to the Host and Service Status in the Nagios XI interface.</p>



<figure class="wp-block-image aligncenter size-large"><a href="https://library.nagios.com/wp-content/uploads/2025/03/SNMP-Status-Page-XI-EOS-1.png"><img loading="lazy" decoding="async" width="1024" height="576" src="https://library.nagios.com/wp-content/uploads/2025/03/SNMP-Status-Page-XI-EOS-1-1024x576.png" alt="SNMP Status Page XI EOS 1" class="wp-image-53269" title="How to Set Up SNMP for Elementary OS using Nagios XI 10" srcset="https://library.nagios.com/wp-content/uploads/2025/03/SNMP-Status-Page-XI-EOS-1-1024x576.png 1024w, https://library.nagios.com/wp-content/uploads/2025/03/SNMP-Status-Page-XI-EOS-1-300x169.png 300w, https://library.nagios.com/wp-content/uploads/2025/03/SNMP-Status-Page-XI-EOS-1-768x432.png 768w, https://library.nagios.com/wp-content/uploads/2025/03/SNMP-Status-Page-XI-EOS-1-1536x864.png 1536w, https://library.nagios.com/wp-content/uploads/2025/03/SNMP-Status-Page-XI-EOS-1.png 1778w" sizes="(max-width: 1024px) 100vw, 1024px" /></a><figcaption class="wp-element-caption">Service Status</figcaption></figure>



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



<p>By following these steps, you can configure SNMP on elementary OS and integrate it with Nagios XI for efficient monitoring. This setup enables you to collect detailed metrics, manage your IT environment proactively, and ensure optimal performance and security. If you have additional questions or other support-related questions, please visit us at our <a href="https://support.nagios.com/forum/" data-type="link" data-id="https://support.nagios.com/forum/" target="_blank" rel="noopener">Nagios Support Forum</a>, <a href="https://support.nagios.com/kb/" data-type="link" data-id="https://support.nagios.com/kb/" target="_blank" rel="noopener">Nagios Knowledge Base</a>, or <a href="https://library.nagios.com/" target="_blank" data-type="link" data-id="https://library.nagios.com/" rel="noreferrer noopener">Nagios Library</a>.</p>
]]></content:encoded>
					
		
		
			</item>
		<item>
		<title>How to Setup NCPA on Elementary OS for Nagios XI</title>
		<link>https://library.nagios.com/tutorials/setup-ncpa-elementary-os-nagios-xi/</link>
		
		<dc:creator><![CDATA[Steven Phan]]></dc:creator>
		<pubDate>Fri, 21 Mar 2025 21:50:45 +0000</pubDate>
				<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[Monitoring]]></category>
		<category><![CDATA[Training]]></category>
		<category><![CDATA[Elementary OS]]></category>
		<category><![CDATA[NCPA]]></category>
		<guid isPermaLink="false">https://library.nagios.com/?p=52952</guid>

					<description><![CDATA[Nagios NCPA (Nagios Cross-Platform Agent) is a robust monitoring tool for elementary OS when integrated with Nagios XI. It efficiently tracks system metrics such as CPU usage, memory, disk space, and network performance, providing real-time data to ensure optimal system reliability and efficiency. This guide will walk you through the steps to set up NCPA [&#8230;]]]></description>
										<content:encoded><![CDATA[
<p>Nagios NCPA (Nagios Cross-Platform Agent) is a robust monitoring tool for elementary OS when integrated with Nagios XI. It efficiently tracks system metrics such as CPU usage, memory, disk space, and network performance, providing real-time data to ensure optimal system reliability and efficiency. This guide will walk you through the steps to set up NCPA on elementary OS for use with Nagios XI.</p>



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



<p>The things you&#8217;ll need before starting your setup:</p>



<ul class="wp-block-list">
<li>A device running elementary OS.</li>



<li>Require admin privileges to change important things.</li>



<li>Have a Nagios XI instance installed on your system.</li>



<li>Internet capable to download software packages.</li>
</ul>



<h3 class="wp-block-heading">Step 1: Download the NCPA Package</h3>



<p>Using a terminal, open the following command and run it to install the package. <a href="https://www.nagios.org/projects/ncpa/" data-type="link" data-id="https://www.nagios.org/projects/ncpa/" target="_blank" rel="noopener">NCPA Downloads page</a> and download the appropriate DEB package for your system.</p>



<figure class="wp-block-image aligncenter size-large"><a href="https://library.nagios.com/wp-content/uploads/2025/03/NCPA-Download-EOS.png"><img loading="lazy" decoding="async" width="1024" height="619" src="https://library.nagios.com/wp-content/uploads/2025/03/NCPA-Download-EOS-1024x619.png" alt="NCPA Download EOS" class="wp-image-52991" title="How to Setup NCPA on Elementary OS for Nagios XI 11" srcset="https://library.nagios.com/wp-content/uploads/2025/03/NCPA-Download-EOS-1024x619.png 1024w, https://library.nagios.com/wp-content/uploads/2025/03/NCPA-Download-EOS-300x181.png 300w, https://library.nagios.com/wp-content/uploads/2025/03/NCPA-Download-EOS-768x464.png 768w, https://library.nagios.com/wp-content/uploads/2025/03/NCPA-Download-EOS-1536x929.png 1536w, https://library.nagios.com/wp-content/uploads/2025/03/NCPA-Download-EOS.png 1715w" sizes="(max-width: 1024px) 100vw, 1024px" /></a><figcaption class="wp-element-caption">NCPA Download Page</figcaption></figure>



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



<p>Using a terminal, open the following command and run it to install the package.</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.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_latest</span><span style="color: #D4D4D4">-1.</span><span style="color: #9CDCFE">deb</span></span></code></pre></div>



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



<p>Edit the NCPA configuration file using a text editor that is located in <strong>/usr/local/ncpa/etc/ncpa.cfg</strong>.</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>Change the value of the <strong>mytoken </strong>in the community string, which will be used for authentication with Nagios XI, and then save the file.</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>community_string = mytoken</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">community_string</span><span style="color: #D4D4D4"> = </span><span style="color: #9CDCFE">mytoken</span></span></code></pre></div>



<figure class="wp-block-image aligncenter size-large"><a href="https://library.nagios.com/wp-content/uploads/2025/03/NCPA-editing-file-EOS.png"><img loading="lazy" decoding="async" width="1024" height="620" src="https://library.nagios.com/wp-content/uploads/2025/03/NCPA-editing-file-EOS-1024x620.png" alt="NCPA editing file EOS" class="wp-image-53013" title="How to Setup NCPA on Elementary OS for Nagios XI 12" srcset="https://library.nagios.com/wp-content/uploads/2025/03/NCPA-editing-file-EOS-1024x620.png 1024w, https://library.nagios.com/wp-content/uploads/2025/03/NCPA-editing-file-EOS-300x182.png 300w, https://library.nagios.com/wp-content/uploads/2025/03/NCPA-editing-file-EOS-768x465.png 768w, https://library.nagios.com/wp-content/uploads/2025/03/NCPA-editing-file-EOS-1536x930.png 1536w, https://library.nagios.com/wp-content/uploads/2025/03/NCPA-editing-file-EOS.png 1714w" sizes="(max-width: 1024px) 100vw, 1024px" /></a><figcaption class="wp-element-caption">NCPA File Text Editor</figcaption></figure>



<h3 class="wp-block-heading">Step 4: Start and Enable NCPA Service</h3>



<p>You can start and enable the NCPA service by 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:#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 start ncpa
sudo systemctl enable 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">systemctl</span><span style="color: #D4D4D4"> </span><span style="color: #9CDCFE">start</span><span style="color: #D4D4D4"> </span><span style="color: #9CDCFE">ncpa</span></span>
<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">enable</span><span style="color: #D4D4D4"> </span><span style="color: #9CDCFE">ncpa</span></span></code></pre></div>



<h3 class="wp-block-heading">Step 5: Firewall Configuration</h3>



<p>It is recommended to use UFW to allow NCPA traffic if your firewall is 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:#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 5693/tcp
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">allow</span><span style="color: #D4D4D4"> </span><span style="color: #B5CEA8">5693</span><span style="color: #D4D4D4">/</span><span style="color: #9CDCFE">tcp</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">Step 6: Accessing the NCPA Webpage</h3>



<p>You can test if NCPA is working by going to the webpage and entering the URL from the address bar. Switch <strong>NCPA_IP_Address</strong> to your IP address of your elementary OS system or use <strong>0.0.0.0</strong>. The port number is defaulting to 5693.</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>https://&lt;NCPA_IP_Address>:5693/</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: #C8C8C8">https</span><span style="color: #D4D4D4">:</span><span style="color: #6A9955">//&lt;NCPA_IP_Address&gt;:5693/</span></span></code></pre></div>



<p>After you enter your URL, a security warning will pop up about the site being not secure. You can get around this by clicking <strong>Technical Information</strong> and pressing <strong>Accept Risk and Proceed</strong> to the website.</p>



<figure class="wp-block-image aligncenter size-large"><a href="https://library.nagios.com/wp-content/uploads/2025/03/Site-Warning-EOS.png"><img loading="lazy" decoding="async" width="1024" height="618" src="https://library.nagios.com/wp-content/uploads/2025/03/Site-Warning-EOS-1024x618.png" alt="Site Warning EOS" class="wp-image-53020" title="How to Setup NCPA on Elementary OS for Nagios XI 13" srcset="https://library.nagios.com/wp-content/uploads/2025/03/Site-Warning-EOS-1024x618.png 1024w, https://library.nagios.com/wp-content/uploads/2025/03/Site-Warning-EOS-300x181.png 300w, https://library.nagios.com/wp-content/uploads/2025/03/Site-Warning-EOS-768x463.png 768w, https://library.nagios.com/wp-content/uploads/2025/03/Site-Warning-EOS-1536x927.png 1536w, https://library.nagios.com/wp-content/uploads/2025/03/Site-Warning-EOS.png 1717w" sizes="(max-width: 1024px) 100vw, 1024px" /></a><figcaption class="wp-element-caption">Unsecure Message</figcaption></figure>



<p>You will then see the NCPA login page, where you enter the token you set in the NCPA configuration file.</p>



<figure class="wp-block-image aligncenter size-large"><a href="https://library.nagios.com/wp-content/uploads/2025/03/NCPA-Login-EOS.png"><img loading="lazy" decoding="async" width="1024" height="615" src="https://library.nagios.com/wp-content/uploads/2025/03/NCPA-Login-EOS-1024x615.png" alt="NCPA Login EOS" class="wp-image-53021" title="How to Setup NCPA on Elementary OS for Nagios XI 14" srcset="https://library.nagios.com/wp-content/uploads/2025/03/NCPA-Login-EOS-1024x615.png 1024w, https://library.nagios.com/wp-content/uploads/2025/03/NCPA-Login-EOS-300x180.png 300w, https://library.nagios.com/wp-content/uploads/2025/03/NCPA-Login-EOS-768x461.png 768w, https://library.nagios.com/wp-content/uploads/2025/03/NCPA-Login-EOS-1536x922.png 1536w, https://library.nagios.com/wp-content/uploads/2025/03/NCPA-Login-EOS.png 1718w" sizes="(max-width: 1024px) 100vw, 1024px" /></a><figcaption class="wp-element-caption">NCPA Login</figcaption></figure>



<p>Once you&#8217;re in, you can explore the many features of the NCPA web interface.</p>



<figure class="wp-block-image aligncenter size-large"><a href="https://library.nagios.com/wp-content/uploads/2025/03/NCPA-Dashboard-EOS.png"><img loading="lazy" decoding="async" width="1024" height="618" src="https://library.nagios.com/wp-content/uploads/2025/03/NCPA-Dashboard-EOS-1024x618.png" alt="NCPA Dashboard EOS" class="wp-image-53040" title="How to Setup NCPA on Elementary OS for Nagios XI 15" srcset="https://library.nagios.com/wp-content/uploads/2025/03/NCPA-Dashboard-EOS-1024x618.png 1024w, https://library.nagios.com/wp-content/uploads/2025/03/NCPA-Dashboard-EOS-300x181.png 300w, https://library.nagios.com/wp-content/uploads/2025/03/NCPA-Dashboard-EOS-768x464.png 768w, https://library.nagios.com/wp-content/uploads/2025/03/NCPA-Dashboard-EOS-1536x927.png 1536w, https://library.nagios.com/wp-content/uploads/2025/03/NCPA-Dashboard-EOS.png 1718w" sizes="(max-width: 1024px) 100vw, 1024px" /></a><figcaption class="wp-element-caption">NCPA Dashboard</figcaption></figure>



<h3 class="wp-block-heading">Step 7: Add NCPA to Nagios XI</h3>



<p>Open up your Nagios XI server and log in to the Nagios XI web interface.</p>



<figure class="wp-block-image aligncenter size-large"><a href="https://library.nagios.com/wp-content/uploads/2025/03/XI-Login-EOS.png"><img loading="lazy" decoding="async" width="1024" height="619" src="https://library.nagios.com/wp-content/uploads/2025/03/XI-Login-EOS-1024x619.png" alt="XI Login EOS" class="wp-image-53023" title="How to Setup NCPA on Elementary OS for Nagios XI 16" srcset="https://library.nagios.com/wp-content/uploads/2025/03/XI-Login-EOS-1024x619.png 1024w, https://library.nagios.com/wp-content/uploads/2025/03/XI-Login-EOS-300x181.png 300w, https://library.nagios.com/wp-content/uploads/2025/03/XI-Login-EOS-768x464.png 768w, https://library.nagios.com/wp-content/uploads/2025/03/XI-Login-EOS-1536x929.png 1536w, https://library.nagios.com/wp-content/uploads/2025/03/XI-Login-EOS.png 1718w" sizes="(max-width: 1024px) 100vw, 1024px" /></a><figcaption class="wp-element-caption">Nagios XI Login</figcaption></figure>



<p>In Nagios XI, go to <strong>Configure &gt; Configuration Wizards</strong> and then find <strong>Linux Server</strong> in the wizard list.</p>



<figure class="wp-block-image aligncenter size-large"><a href="https://library.nagios.com/wp-content/uploads/2025/03/XI-Wizard-EOS.png"><img loading="lazy" decoding="async" width="1024" height="618" src="https://library.nagios.com/wp-content/uploads/2025/03/XI-Wizard-EOS-1024x618.png" alt="XI Wizard EOS" class="wp-image-53028" title="How to Setup NCPA on Elementary OS for Nagios XI 17" srcset="https://library.nagios.com/wp-content/uploads/2025/03/XI-Wizard-EOS-1024x618.png 1024w, https://library.nagios.com/wp-content/uploads/2025/03/XI-Wizard-EOS-300x181.png 300w, https://library.nagios.com/wp-content/uploads/2025/03/XI-Wizard-EOS-768x463.png 768w, https://library.nagios.com/wp-content/uploads/2025/03/XI-Wizard-EOS-1536x927.png 1536w, https://library.nagios.com/wp-content/uploads/2025/03/XI-Wizard-EOS.png 1717w" sizes="(max-width: 1024px) 100vw, 1024px" /></a><figcaption class="wp-element-caption">Wizard List</figcaption></figure>



<p>Enter the host details by providing the IP address of your device. Next, specify the port number if it differs from the default of 5693. Finally, input the authentication token you configured in your NCPA file.</p>



<figure class="wp-block-image aligncenter size-large"><a href="https://library.nagios.com/wp-content/uploads/2025/03/XI-Linux-Server-Configuration-Wizard-EOS.png"><img loading="lazy" decoding="async" width="1024" height="620" src="https://library.nagios.com/wp-content/uploads/2025/03/XI-Linux-Server-Configuration-Wizard-EOS-1024x620.png" alt="XI Linux Server Configuration Wizard EOS" class="wp-image-53029" title="How to Setup NCPA on Elementary OS for Nagios XI 18" srcset="https://library.nagios.com/wp-content/uploads/2025/03/XI-Linux-Server-Configuration-Wizard-EOS-1024x620.png 1024w, https://library.nagios.com/wp-content/uploads/2025/03/XI-Linux-Server-Configuration-Wizard-EOS-300x182.png 300w, https://library.nagios.com/wp-content/uploads/2025/03/XI-Linux-Server-Configuration-Wizard-EOS-768x465.png 768w, https://library.nagios.com/wp-content/uploads/2025/03/XI-Linux-Server-Configuration-Wizard-EOS-1536x930.png 1536w, https://library.nagios.com/wp-content/uploads/2025/03/XI-Linux-Server-Configuration-Wizard-EOS.png 1717w" sizes="(max-width: 1024px) 100vw, 1024px" /></a><figcaption class="wp-element-caption">Linux NCPA Configuration Wizard</figcaption></figure>



<p>Complete the wizard by configuring the remaining settings listed and then finalize the configuration once you are done.</p>



<figure class="wp-block-image aligncenter size-large"><a href="https://library.nagios.com/wp-content/uploads/2025/03/XI-NCPA-Configuration-2-Wizard-EOS.png"><img loading="lazy" decoding="async" width="1024" height="621" src="https://library.nagios.com/wp-content/uploads/2025/03/XI-NCPA-Configuration-2-Wizard-EOS-1024x621.png" alt="XI NCPA Configuration 2 Wizard EOS" class="wp-image-53034" title="How to Setup NCPA on Elementary OS for Nagios XI 19" srcset="https://library.nagios.com/wp-content/uploads/2025/03/XI-NCPA-Configuration-2-Wizard-EOS-1024x621.png 1024w, https://library.nagios.com/wp-content/uploads/2025/03/XI-NCPA-Configuration-2-Wizard-EOS-300x182.png 300w, https://library.nagios.com/wp-content/uploads/2025/03/XI-NCPA-Configuration-2-Wizard-EOS-768x465.png 768w, https://library.nagios.com/wp-content/uploads/2025/03/XI-NCPA-Configuration-2-Wizard-EOS-1536x931.png 1536w, https://library.nagios.com/wp-content/uploads/2025/03/XI-NCPA-Configuration-2-Wizard-EOS.png 1716w" sizes="(max-width: 1024px) 100vw, 1024px" /></a><figcaption class="wp-element-caption">More NCPA Configuration</figcaption></figure>



<h3 class="wp-block-heading">Step 8: Verify the Setup</h3>



<p>Once you finish the configuration, check to see if the NCPA agent is communicating with Nagios XI by checking the status of the host and services for your elementary OS system.</p>



<figure class="wp-block-image aligncenter size-large"><a href="https://library.nagios.com/wp-content/uploads/2025/03/XI-NCPA-Status-EOS-2.png"><img loading="lazy" decoding="async" width="1024" height="619" src="https://library.nagios.com/wp-content/uploads/2025/03/XI-NCPA-Status-EOS-2-1024x619.png" alt="XI NCPA Status EOS 2" class="wp-image-53033" title="How to Setup NCPA on Elementary OS for Nagios XI 20" srcset="https://library.nagios.com/wp-content/uploads/2025/03/XI-NCPA-Status-EOS-2-1024x619.png 1024w, https://library.nagios.com/wp-content/uploads/2025/03/XI-NCPA-Status-EOS-2-300x181.png 300w, https://library.nagios.com/wp-content/uploads/2025/03/XI-NCPA-Status-EOS-2-768x464.png 768w, https://library.nagios.com/wp-content/uploads/2025/03/XI-NCPA-Status-EOS-2-1536x928.png 1536w, https://library.nagios.com/wp-content/uploads/2025/03/XI-NCPA-Status-EOS-2.png 1715w" sizes="(max-width: 1024px) 100vw, 1024px" /></a><figcaption class="wp-element-caption">Service Status</figcaption></figure>



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



<p>This guide concludes the steps to set up NCPA on elementary OS for use with Nagios XI. You have successfully integrated a powerful monitoring tool that provides real-time insights into system metrics, ensuring optimal performance and reliability. If you have additional questions or other support-related questions, please visit us at our <a href="https://support.nagios.com/forum/" data-type="link" data-id="https://support.nagios.com/forum/" target="_blank" rel="noopener">Nagios Support Forum</a>, <a href="https://support.nagios.com/kb/" data-type="link" data-id="https://support.nagios.com/kb/" target="_blank" rel="noopener">Nagios Knowledge Base</a>, or <a href="https://library.nagios.com/" target="_blank" data-type="link" data-id="https://library.nagios.com/" rel="noreferrer noopener">Nagios Library</a>.</p>
]]></content:encoded>
					
		
		
			</item>
	</channel>
</rss>
