<?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>Fedora 41 &#8211; Nagios Library</title>
	<atom:link href="https://library.nagios.com/tag/fedora-41/feed/" rel="self" type="application/rss+xml" />
	<link>https://library.nagios.com</link>
	<description>Complete Nagios monitoring resources and documentation</description>
	<lastBuildDate>Thu, 02 Apr 2026 19:58:25 +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>Fedora 41 &#8211; Nagios Library</title>
	<link>https://library.nagios.com</link>
	<width>32</width>
	<height>32</height>
</image> 
	<item>
		<title>How to Forward Fedora 41 Logs to Nagios Log Server 2024R2</title>
		<link>https://library.nagios.com/techtips/how-to-forward-fedora-41-logs-to-nagios-log-server-2024r2/</link>
		
		<dc:creator><![CDATA[Johnny Mengistu]]></dc:creator>
		<pubDate>Wed, 26 Mar 2025 15:46:28 +0000</pubDate>
				<category><![CDATA[Techtips]]></category>
		<category><![CDATA[Documentation]]></category>
		<category><![CDATA[Fedora 41]]></category>
		<guid isPermaLink="false">https://library.nagios.com/?p=52151</guid>

					<description><![CDATA[Introduction Nagios Log Server is a powerful enterprise-grade log monitoring and management solution that enables organizations to collect, analyze, and archive log data from various sources. In this guide, we&#8217;ll walk through the process of configuring Fedora 41 to send its system logs to Nagios Log Server R2. Prerequisites Before beginning, ensure you have: Step [&#8230;]]]></description>
										<content:encoded><![CDATA[
<p>Introduction</p>



<p>Nagios Log Server is a powerful enterprise-grade log monitoring and management solution that enables organizations to collect, analyze, and archive log data from various sources. In this guide, we&#8217;ll walk through the process of configuring Fedora 41 to send its system logs to Nagios Log Server R2.</p>



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



<p>Before beginning, ensure you have:</p>



<ul class="wp-block-list">
<li>A running Fedora 41 system</li>



<li>Nagios Log Server R2 installed and accessible</li>



<li>Administrative privileges on both systems</li>



<li>Network connectivity between the Fedora system and Nagios Log Server</li>
</ul>



<h2 class="wp-block-heading">Step 1: Install Required Packages on Fedora 41</h2>



<p>First, update your system and install the necessary 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>bash

sudo dnf update -y
sudo dnf install -y rsyslog wget</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">dnf</span><span style="color: #D4D4D4"> </span><span style="color: #9CDCFE">update</span><span style="color: #D4D4D4"> -</span><span style="color: #9CDCFE">y</span></span>
<span class="line"><span style="color: #9CDCFE">sudo</span><span style="color: #D4D4D4"> </span><span style="color: #9CDCFE">dnf</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">rsyslog</span><span style="color: #D4D4D4"> </span><span style="color: #9CDCFE">wget</span></span></code></pre></div>



<h2 class="wp-block-heading">Step 2: Configure Rsyslog to Forward Logs</h2>



<h3 class="wp-block-heading">2.1. Edit the Rsyslog Configuration File</h3>



<p>Open the main 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>bash

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">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">rsyslog</span><span style="color: #D4D4D4">.</span><span style="color: #9CDCFE">conf</span></span></code></pre></div>



<p>Add the following lines at the end of the file (replace&nbsp;<code>nagios_log_server_ip</code>&nbsp;with your actual Nagios Log Server 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># Send logs to Nagios Log Server
*.* @@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">Send</span><span style="color: #D4D4D4"> </span><span style="color: #9CDCFE">logs</span><span style="color: #D4D4D4"> </span><span style="color: #9CDCFE">to</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>
<span class="line"><span style="color: #D4D4D4">*.* @@</span><span style="color: #9CDCFE">nagios_log_server_ip</span><span style="color: #D4D4D4">:</span><span style="color: #B5CEA8">5544</span></span></code></pre></div>



<p>This configuration sends all logs (<code>*.*</code>) to the Nagios Log Server on port 5544 using TCP (<code>@@</code>). For UDP, use a single&nbsp;<code>@</code>.</p>



<h3 class="wp-block-heading">2.2. Enable TCP Syslog Reception (Optional)</h3>



<p>If you want to ensure TCP is enabled for sending logs, uncomment these lines in the same 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>$ModLoad imtcp
$InputTCPServerRun 514</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">$ModLoad</span><span style="color: #D4D4D4"> </span><span style="color: #9CDCFE">imtcp</span></span>
<span class="line"><span style="color: #9CDCFE">$InputTCPServerRun</span><span style="color: #D4D4D4"> </span><span style="color: #B5CEA8">514</span></span></code></pre></div>



<h3 class="wp-block-heading">2.3. Restart Rsyslog Service</h3>



<p>Apply the changes by restarting the rsyslog 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>bash

sudo systemctl restart rsyslog
sudo systemctl enable 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">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">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>
<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">rsyslog</span></span></code></pre></div>



<h2 class="wp-block-heading">Step 4: Configure Firewall</h2>



<p>Allow outgoing connections to the 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>bash

sudo firewall-cmd --permanent --add-port=5544/tcp
sudo firewall-cmd --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">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">firewall</span><span style="color: #D4D4D4">-</span><span style="color: #9CDCFE">cmd</span><span style="color: #D4D4D4"> --</span><span style="color: #9CDCFE">permanent</span><span style="color: #D4D4D4"> --</span><span style="color: #9CDCFE">add</span><span style="color: #D4D4D4">-</span><span style="color: #9CDCFE">port</span><span style="color: #D4D4D4">=</span><span style="color: #B5CEA8">5544</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">firewall</span><span style="color: #D4D4D4">-</span><span style="color: #9CDCFE">cmd</span><span style="color: #D4D4D4"> --</span><span style="color: #9CDCFE">reload</span></span></code></pre></div>



<h2 class="wp-block-heading">Step 5: Verify Log Forwarding</h2>



<h3 class="wp-block-heading">5.1. On Fedora 41</h3>



<p>Check the rsyslog status:</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 systemctl status 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">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">systemctl</span><span style="color: #D4D4D4"> </span><span style="color: #9CDCFE">status</span><span style="color: #D4D4D4"> </span><span style="color: #9CDCFE">rsyslog</span></span></code></pre></div>



<p>View the rsyslog logs for any errors:</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 tail -f /var/log/messages</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">tail</span><span style="color: #D4D4D4"> -</span><span style="color: #9CDCFE">f</span><span style="color: #D4D4D4"> /</span><span style="color: #569CD6">var</span><span style="color: #D4D4D4">/</span><span style="color: #9CDCFE">log</span><span style="color: #D4D4D4">/messages</span></span></code></pre></div>



<h3 class="wp-block-heading">5.2. On Nagios Log Server</h3>



<p>1. When you log into Log Server 2 you should be automatically re-directed to the home screen. If not you simply click the home button icon shown below:</p>



<figure class="wp-block-image size-large"><a href="https://library.nagios.com/wp-content/uploads/2025/03/image-12.png"><img fetchpriority="high" decoding="async" width="1024" height="592" src="https://library.nagios.com/wp-content/uploads/2025/03/image-12-1024x592.png" alt="image 12" class="wp-image-53307" title="How to Forward Fedora 41 Logs to Nagios Log Server 2024R2 1" srcset="https://library.nagios.com/wp-content/uploads/2025/03/image-12-1024x592.png 1024w, https://library.nagios.com/wp-content/uploads/2025/03/image-12-300x173.png 300w, https://library.nagios.com/wp-content/uploads/2025/03/image-12-768x444.png 768w, https://library.nagios.com/wp-content/uploads/2025/03/image-12-1536x887.png 1536w, https://library.nagios.com/wp-content/uploads/2025/03/image-12.png 1897w" sizes="(max-width: 1024px) 100vw, 1024px" /></a><figcaption class="wp-element-caption">Home Button Log Server 2</figcaption></figure>



<p>2. From here you can click the &#8220;Add a Log Source&#8221; button up above like in the picture below:</p>



<figure class="wp-block-image size-large"><a href="https://library.nagios.com/wp-content/uploads/2025/03/image-13.png"><img decoding="async" width="1024" height="551" src="https://library.nagios.com/wp-content/uploads/2025/03/image-13-1024x551.png" alt="image 13" class="wp-image-53309" title="How to Forward Fedora 41 Logs to Nagios Log Server 2024R2 2" srcset="https://library.nagios.com/wp-content/uploads/2025/03/image-13-1024x551.png 1024w, https://library.nagios.com/wp-content/uploads/2025/03/image-13-300x161.png 300w, https://library.nagios.com/wp-content/uploads/2025/03/image-13-768x413.png 768w, https://library.nagios.com/wp-content/uploads/2025/03/image-13-1536x827.png 1536w, https://library.nagios.com/wp-content/uploads/2025/03/image-13.png 1903w" sizes="(max-width: 1024px) 100vw, 1024px" /></a><figcaption class="wp-element-caption">Add a Log Source</figcaption></figure>



<p>3. Your screen should now look like the one below. Go and select the &#8220;Linux&#8221; option</p>



<figure class="wp-block-image size-large"><a href="https://library.nagios.com/wp-content/uploads/2025/03/image-14.png"><img decoding="async" width="1024" height="554" src="https://library.nagios.com/wp-content/uploads/2025/03/image-14-1024x554.png" alt="image 14" class="wp-image-53310" title="How to Forward Fedora 41 Logs to Nagios Log Server 2024R2 3" srcset="https://library.nagios.com/wp-content/uploads/2025/03/image-14-1024x554.png 1024w, https://library.nagios.com/wp-content/uploads/2025/03/image-14-300x162.png 300w, https://library.nagios.com/wp-content/uploads/2025/03/image-14-768x415.png 768w, https://library.nagios.com/wp-content/uploads/2025/03/image-14-1536x830.png 1536w, https://library.nagios.com/wp-content/uploads/2025/03/image-14.png 1894w" sizes="(max-width: 1024px) 100vw, 1024px" /></a><figcaption class="wp-element-caption">Linux Penguin LS2</figcaption></figure>



<p>4. From here follow the directions on the screen then enter your Fedora workstation&#8217;s IP address at the very bottom. You should get similar results like the one below saying:</p>



<p>&#8220;Verified. There are <em>&#8220;some number&#8221;</em> logs for the host: <em>&#8220;your ip address&#8221;</em></p>



<figure class="wp-block-image size-large"><a href="https://library.nagios.com/wp-content/uploads/2025/03/image-15.png"><img loading="lazy" decoding="async" width="1024" height="526" src="https://library.nagios.com/wp-content/uploads/2025/03/image-15-1024x526.png" alt="image 15" class="wp-image-53324" title="How to Forward Fedora 41 Logs to Nagios Log Server 2024R2 4" srcset="https://library.nagios.com/wp-content/uploads/2025/03/image-15-1024x526.png 1024w, https://library.nagios.com/wp-content/uploads/2025/03/image-15-300x154.png 300w, https://library.nagios.com/wp-content/uploads/2025/03/image-15-768x394.png 768w, https://library.nagios.com/wp-content/uploads/2025/03/image-15-1536x789.png 1536w, https://library.nagios.com/wp-content/uploads/2025/03/image-15.png 1899w" sizes="(max-width: 1024px) 100vw, 1024px" /></a><figcaption class="wp-element-caption">Verified Incoming Logs</figcaption></figure>



<h2 class="wp-block-heading">Step 7: Configure Log Filters (Optional)</h2>



<p>In the Nagios Log Server web interface, you can create filters and alerts for specific Fedora logs:</p>



<ol start="1" class="wp-block-list">
<li>Go to &#8220;Admin&#8221; &gt; &#8220;Filters&#8221;</li>



<li>Create a new filter for Fedora-specific logs</li>



<li>Set up alerts for critical events if needed</li>
</ol>



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



<p>By following these steps, you&#8217;ve successfully configured your Fedora 41 system to send logs to Nagios Log Server R2. This integration provides centralized log management, making it easier to monitor, analyze, and respond to system events across your infrastructure. Remember to regularly review your log management strategy to ensure it meets your organization&#8217;s security and compliance requirements.</p>



<p>For optimal performance, consider:</p>



<ul class="wp-block-list">
<li>Setting up log rotation on Fedora to manage log file sizes</li>



<li>Creating custom dashboards in Nagios Log Server for Fedora-specific metrics</li>



<li>Implementing SSL encryption for log transmission in production environments</li>
</ul>



<p>Interested in installing Nagios Log Server R2 on Linux click the link below:</p>



<p><a href="https://youtu.be/9SkH3fNmhGg?si=bRfO9G-0Qz---g8M" target="_blank" rel="noopener">https://youtu.be/9SkH3fNmhGg?si=bRfO9G-0Qz&#8212;g8M</a></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>
					
		
		
			</item>
		<item>
		<title>Getting SNMP on a Fedora 41 Workstation and Configuring in Nagios XI</title>
		<link>https://library.nagios.com/documentation/getting-snmp-on-a-fedora-41-workstation-and-configuring-in-nagios-xi/</link>
		
		<dc:creator><![CDATA[Johnny Mengistu]]></dc:creator>
		<pubDate>Fri, 21 Mar 2025 22:06:39 +0000</pubDate>
				<category><![CDATA[Documentation]]></category>
		<category><![CDATA[Configuration]]></category>
		<category><![CDATA[Fedora 41]]></category>
		<category><![CDATA[SNMP]]></category>
		<guid isPermaLink="false">https://library.nagios.com/?p=52611</guid>

					<description><![CDATA[Introduction The Simple Network Management Protocol (SNMP) is widely used for monitoring devices on a network, including servers, routers, switches, and workstations. Fedora 41, a modern Linux distribution, comes with a robust package manager and system tools that make it easy to install SNMP. This guide will walk you through installing SNMP on a Fedora [&#8230;]]]></description>
										<content:encoded><![CDATA[
<h2 class="wp-block-heading">Introduction</h2>



<p>The Simple Network Management Protocol (SNMP) is widely used for monitoring devices on a network, including servers, routers, switches, and workstations. Fedora 41, a modern Linux distribution, comes with a robust package manager and system tools that make it easy to install SNMP. This guide will walk you through installing SNMP on a Fedora 41 workstation and configuring it for use with Nagios XI, a popular open-source network monitoring software.</p>



<p>By the end of this guide, you’ll be able to monitor your Fedora 41 workstation’s health, performance, and resources using SNMP and Nagios XI.</p>



<hr class="wp-block-separator has-alpha-channel-opacity"/>



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



<p>Before starting the installation, ensure you have the following:</p>



<ol class="wp-block-list">
<li><strong>A Fedora 41 workstation</strong> with root or sudo access.</li>



<li><strong>Nagios XI</strong> running and accessible in your network.</li>



<li><strong>Basic knowledge of Linux and network management</strong>.</li>
</ol>



<hr class="wp-block-separator has-alpha-channel-opacity"/>



<h2 class="wp-block-heading">Step 1: I <strong>Part 1: Install and Configure SNMP on Fedora 41</strong></h2>



<ol start="1" class="wp-block-list">
<li><strong>Install SNMP Packages</strong>:<br>Open a terminal and install the&nbsp;<code>net-snmp</code>&nbsp;package</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 dnf install net-snmp net-snmp-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">dnf</span><span style="color: #D4D4D4"> </span><span style="color: #9CDCFE">install</span><span style="color: #D4D4D4"> </span><span style="color: #9CDCFE">net</span><span style="color: #D4D4D4">-</span><span style="color: #9CDCFE">snmp</span><span style="color: #D4D4D4"> </span><span style="color: #9CDCFE">net</span><span style="color: #D4D4D4">-</span><span style="color: #9CDCFE">snmp</span><span style="color: #D4D4D4">-</span><span style="color: #9CDCFE">utils</span></span></code></pre></div>



<ol start="1" class="wp-block-list">
<li><strong>Configure SNMP</strong>:<br>Edit the SNMP configuration file</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 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">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>



<ol start="1" class="wp-block-list">
<li><strong>Define a Read-Only Community String</strong>&nbsp;(replace&nbsp;<code>public</code>&nbsp;with a secure community string):</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>rocommunity your_community_string</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_community_string</span></span></code></pre></div>



<ol start="1" class="wp-block-list">
<li><strong>Allow SNMP Access from Nagios XI Server</strong>. Add the IP address of your Nagios XI server. Replace&nbsp;<code>192.168.1.100</code>&nbsp;with the actual IP of your Nagios XI server.</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>rocommunity your_community_string 192.168.1.100</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_community_string</span><span style="color: #D4D4D4"> </span><span style="color: #B5CEA8">192.168</span><span style="color: #D4D4D4">.</span><span style="color: #B5CEA8">1.100</span></span></code></pre></div>



<ol start="1" class="wp-block-list">
<li><strong>Set the System Location and Contact</strong>:</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>syslocation "Your Location"
syscontact "Your Name &lt;your.email@example.com>"</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></code></pre></div>



<ol start="1" class="wp-block-list">
<li><strong>Start and Enable SNMP Service</strong> to start on boot:</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 systemctl start 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">start</span><span style="color: #D4D4D4"> </span><span style="color: #9CDCFE">snmpd</span><span style="color: #D4D4D4"> </span><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>



<ol start="1" class="wp-block-list">
<li><strong>Open SNMP Port in Firewall</strong>: Allow SNMP traffic through the firewall:</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 firewall-cmd --add-service=snmp --permanent
sudo firewall-cmd --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">firewall</span><span style="color: #D4D4D4">-</span><span style="color: #9CDCFE">cmd</span><span style="color: #D4D4D4"> --</span><span style="color: #9CDCFE">add</span><span style="color: #D4D4D4">-</span><span style="color: #9CDCFE">service</span><span style="color: #D4D4D4">=</span><span style="color: #9CDCFE">snmp</span><span style="color: #D4D4D4"> --</span><span style="color: #9CDCFE">permanent</span></span>
<span class="line"><span style="color: #9CDCFE">sudo</span><span style="color: #D4D4D4"> </span><span style="color: #9CDCFE">firewall</span><span style="color: #D4D4D4">-</span><span style="color: #9CDCFE">cmd</span><span style="color: #D4D4D4"> --</span><span style="color: #9CDCFE">reload</span></span></code></pre></div>



<ol start="1" class="wp-block-list">
<li><strong>Test SNMP</strong>: Verify that SNMP is working by querying it locally:</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>snmpwalk -v 2c -c your_community_string 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">v</span><span style="color: #D4D4D4"> 2</span><span style="color: #9CDCFE">c</span><span style="color: #D4D4D4"> -</span><span style="color: #9CDCFE">c</span><span style="color: #D4D4D4"> </span><span style="color: #9CDCFE">your_community_string</span><span style="color: #D4D4D4"> </span><span style="color: #9CDCFE">localhost</span></span></code></pre></div>



<hr class="wp-block-separator has-alpha-channel-opacity"/>



<h3 class="wp-block-heading"><strong>Part 2: Configure the Fedora 41 Workstation in Nagios XI</strong></h3>



<p>1. Log into Nagios XI , hover over the gear icon and select &#8220;Configuration Wizards&#8221;.</p>



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



<figure class="wp-block-image size-full"><a href="https://library.nagios.com/wp-content/uploads/2025/03/Config-Wiz-1.png"><img loading="lazy" decoding="async" width="808" height="588" src="https://library.nagios.com/wp-content/uploads/2025/03/Config-Wiz-1.png" alt="Config Wiz 1" class="wp-image-53056" title="Getting SNMP on a Fedora 41 Workstation and Configuring in Nagios XI 5" srcset="https://library.nagios.com/wp-content/uploads/2025/03/Config-Wiz-1.png 808w, https://library.nagios.com/wp-content/uploads/2025/03/Config-Wiz-1-300x218.png 300w, https://library.nagios.com/wp-content/uploads/2025/03/Config-Wiz-1-768x559.png 768w" sizes="(max-width: 808px) 100vw, 808px" /></a><figcaption class="wp-element-caption">Config Wizards</figcaption></figure>



<p>     2. Search &#8220;SNMP&#8221; in the search box above and select the Linux SNMP option shown in the picture below.</p>



<figure class="wp-block-image size-large"><a href="https://library.nagios.com/wp-content/uploads/2025/03/Linux-SNMP-Wiz.png"><img loading="lazy" decoding="async" width="1024" height="408" src="https://library.nagios.com/wp-content/uploads/2025/03/Linux-SNMP-Wiz-1024x408.png" alt="Linux SNMP Wiz" class="wp-image-53057" title="Getting SNMP on a Fedora 41 Workstation and Configuring in Nagios XI 6" srcset="https://library.nagios.com/wp-content/uploads/2025/03/Linux-SNMP-Wiz-1024x408.png 1024w, https://library.nagios.com/wp-content/uploads/2025/03/Linux-SNMP-Wiz-300x119.png 300w, https://library.nagios.com/wp-content/uploads/2025/03/Linux-SNMP-Wiz-768x306.png 768w, https://library.nagios.com/wp-content/uploads/2025/03/Linux-SNMP-Wiz-1536x612.png 1536w, https://library.nagios.com/wp-content/uploads/2025/03/Linux-SNMP-Wiz.png 1914w" sizes="(max-width: 1024px) 100vw, 1024px" /></a><figcaption class="wp-element-caption">Linux SNMP Wiz</figcaption></figure>



<p>    3. Fill in the necessary information then hit finish at the end or &#8220;finish with defaults&#8221;  </p>



<figure class="wp-block-image size-large"><a href="https://library.nagios.com/wp-content/uploads/2025/03/Linux-Config-Wiz.png"><img loading="lazy" decoding="async" width="1024" height="397" src="https://library.nagios.com/wp-content/uploads/2025/03/Linux-Config-Wiz-1024x397.png" alt="Linux Config Wiz" class="wp-image-53059" title="Getting SNMP on a Fedora 41 Workstation and Configuring in Nagios XI 7" srcset="https://library.nagios.com/wp-content/uploads/2025/03/Linux-Config-Wiz-1024x397.png 1024w, https://library.nagios.com/wp-content/uploads/2025/03/Linux-Config-Wiz-300x116.png 300w, https://library.nagios.com/wp-content/uploads/2025/03/Linux-Config-Wiz-768x297.png 768w, https://library.nagios.com/wp-content/uploads/2025/03/Linux-Config-Wiz-1536x595.png 1536w, https://library.nagios.com/wp-content/uploads/2025/03/Linux-Config-Wiz.png 1898w" sizes="(max-width: 1024px) 100vw, 1024px" /></a><figcaption class="wp-element-caption">Linux Config Wiz</figcaption></figure>



<hr class="wp-block-separator has-alpha-channel-opacity"/>



<h3 class="wp-block-heading"><strong>Optional: Additional SNMP OIDs</strong></h3>



<p>You can monitor additional metrics by adding more services with different OIDs. For example:</p>



<ul class="wp-block-list">
<li><strong>CPU Load</strong>:&nbsp;<code>.1.3.6.1.4.1.2021.10.1.3.1</code></li>



<li><strong>Memory Usage</strong>:&nbsp;<code>.1.3.6.1.4.1.2021.4.6.0</code></li>



<li><strong>Disk Usage</strong>:&nbsp;<code>.1.3.6.1.4.1.2021.9.1.7.1</code></li>
</ul>



<hr class="wp-block-separator has-alpha-channel-opacity"/>



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



<ul class="wp-block-list">
<li><strong>SNMP Not Responding</strong>: Ensure the SNMP service is running (<code>sudo systemctl status snmpd</code>) and the firewall allows SNMP traffic.</li>



<li><strong>Incorrect Community String</strong>: Double-check the community string in&nbsp;<code>/etc/snmp/snmpd.conf</code>&nbsp;and Nagios XI.</li>



<li><strong>Permissions</strong>: Ensure the Nagios XI server has network access to the Fedora workstation.</li>
</ul>



<hr class="wp-block-separator has-alpha-channel-opacity"/>



<p>By following these steps, you should be able to monitor your Fedora 41 workstation using SNMP in Nagios XI. Let me know if you need further assistance!</p>



<hr class="wp-block-separator has-alpha-channel-opacity"/>



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



<p>You have successfully installed and configured SNMP on your Fedora 41 workstation and set it up for monitoring in Nagios XI. This setup allows Nagios XI to collect system metrics, such as CPU usage, memory usage, disk space, and more, from your Fedora workstation.</p>



<p>By utilizing SNMP and Nagios XI together, you can proactively monitor the health of your systems, reduce downtime, and ensure better network management.</p>



<h3 class="wp-block-heading" id="section-12"><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:&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>
					
		
		
			</item>
		<item>
		<title>Installing Nagios Cross-Platform Agent on a Fedora 41 Workstation</title>
		<link>https://library.nagios.com/monitoring/installing-nagios-cross-platform-agent-on-a-fedora-41-workstation/</link>
		
		<dc:creator><![CDATA[Johnny Mengistu]]></dc:creator>
		<pubDate>Wed, 26 Feb 2025 22:48:57 +0000</pubDate>
				<category><![CDATA[Monitoring]]></category>
		<category><![CDATA[Solutions]]></category>
		<category><![CDATA[Training]]></category>
		<category><![CDATA[Command Line]]></category>
		<category><![CDATA[Fedora 41]]></category>
		<category><![CDATA[NCPA]]></category>
		<guid isPermaLink="false">https://library.nagios.com/?p=50111</guid>

					<description><![CDATA[Nagios Cross-Platform Agent (NCPA) is a powerful monitoring agent that allows you to monitor systems running on various operating systems, including Linux, Windows, and macOS. NCPA is designed to be lightweight, secure, and easy to configure, making it an excellent choice for monitoring your Fedora 41 workstation. In this article, we will walk you through [&#8230;]]]></description>
										<content:encoded><![CDATA[
<p>Nagios Cross-Platform Agent (NCPA) is a powerful monitoring agent that allows you to monitor systems running on various operating systems, including Linux, Windows, and macOS. NCPA is designed to be lightweight, secure, and easy to configure, making it an excellent choice for monitoring your Fedora 41 workstation.</p>



<p>In this article, we will walk you through the steps to install and configure Nagios NCPA on a Fedora 41 workstation.</p>



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



<p>Before you begin, ensure that you have the following:</p>



<ul class="wp-block-list">
<li>A Fedora 41 workstation with root or sudo privileges.</li>



<li>Access to a terminal or command-line interface.</li>



<li>An active internet connection to download the necessary packages.</li>
</ul>



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



<p>Before installing any new software, it&#8217;s a good practice to update your system to ensure that all existing packages are up to date with this script:</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 dnf update -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">dnf</span><span style="color: #D4D4D4"> </span><span style="color: #9CDCFE">update</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 NCPA</strong></h3>



<p>Nagios NCPA is not available in the default Fedora repositories, so you will need to download it directly from the Nagios website.</p>



<ol class="wp-block-list">
<li><strong>Download the NCPA Package:</strong> Visit the&nbsp;<a href="https://www.nagios.org/projects/ncpa/" target="_blank" rel="noreferrer noopener">Nagios NCPA download page</a>&nbsp;and download the latest version of NCPA for Linux. Alternatively, you can use&nbsp;<strong><code>wget</code>&nbsp;</strong>to download the package directly from the terminal.</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>wget https://assets.nagios.com/downloads/ncpa/ncpa-latest.el8.x86_64.rpm</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/ncpa/ncpa-latest.el8.x86_64.rpm</span></span></code></pre></div>



<p>          Your screen should look something like the one below after running that <strong>wget </strong>script:</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/Fedora-NCPA-Wget-Script.png"><img loading="lazy" decoding="async" width="650" height="440" data-id="50601" src="https://library.nagios.com/wp-content/uploads/2025/02/Fedora-NCPA-Wget-Script.png" alt="Fedora NCPA Wget Script" class="wp-image-50601" title="Installing Nagios Cross-Platform Agent on a Fedora 41 Workstation 8" srcset="https://library.nagios.com/wp-content/uploads/2025/02/Fedora-NCPA-Wget-Script.png 650w, https://library.nagios.com/wp-content/uploads/2025/02/Fedora-NCPA-Wget-Script-300x203.png 300w" sizes="(max-width: 650px) 100vw, 650px" /></a><figcaption class="wp-element-caption">Fedora NCPA Wget Script</figcaption></figure>
</figure>



<p></p>



<p>        2. <strong>Install the NCPA Package: </strong>Once the download is complete, install the package using the&nbsp;<code>dnf</code>&nbsp;package manager. During the installation, you may be prompted to confirm the installation of the package. Type&nbsp;<code>y</code>&nbsp;and press&nbsp;<code>Enter</code>&nbsp;to proceed.</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 dnf install ncpa-latest.el8.x86_64.rpm</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">dnf</span><span style="color: #D4D4D4"> </span><span style="color: #9CDCFE">install</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">.</span><span style="color: #9CDCFE">el8</span><span style="color: #D4D4D4">.</span><span style="color: #9CDCFE">x86_64</span><span style="color: #D4D4D4">.</span><span style="color: #9CDCFE">rpm</span></span></code></pre></div>



<p>          During the installation, you may be prompted to confirm the installation of the package. Type&nbsp;<code>y</code>&nbsp;and press&nbsp;<strong><code>Enter</code>&nbsp;</strong>to proceed.</p>



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



<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>. 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-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/NCPA-Main-Config-File-2.png"><img loading="lazy" decoding="async" width="785" height="458" data-id="50600" src="https://library.nagios.com/wp-content/uploads/2025/02/NCPA-Main-Config-File-2.png" alt="NCPA Main Config File 2" class="wp-image-50600" title="Installing Nagios Cross-Platform Agent on a Fedora 41 Workstation 9" srcset="https://library.nagios.com/wp-content/uploads/2025/02/NCPA-Main-Config-File-2.png 785w, https://library.nagios.com/wp-content/uploads/2025/02/NCPA-Main-Config-File-2-300x175.png 300w, https://library.nagios.com/wp-content/uploads/2025/02/NCPA-Main-Config-File-2-768x448.png 768w" sizes="(max-width: 785px) 100vw, 785px" /></a><figcaption class="wp-element-caption">NCPA Main Config File</figcaption></figure>
</figure>



<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-gallery has-nested-images columns-default is-cropped wp-block-gallery-3 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/NCPA-Fedora-API-Comm-String.png"><img loading="lazy" decoding="async" width="649" height="437" data-id="50533" src="https://library.nagios.com/wp-content/uploads/2025/02/NCPA-Fedora-API-Comm-String.png" alt="NCPA Fedora API Comm String" class="wp-image-50533" title="Installing Nagios Cross-Platform Agent on a Fedora 41 Workstation 10" srcset="https://library.nagios.com/wp-content/uploads/2025/02/NCPA-Fedora-API-Comm-String.png 649w, https://library.nagios.com/wp-content/uploads/2025/02/NCPA-Fedora-API-Comm-String-300x202.png 300w" sizes="(max-width: 649px) 100vw, 649px" /></a><figcaption class="wp-element-caption">NCPA Fedora API Community String</figcaption></figure>
</figure>



<p>The community string token, by default, might have a series of numbers or it might say “my_token”. After making changes press “<mark>CTRL&nbsp;</mark>and&nbsp;<mark>X&nbsp;</mark>” then press&nbsp;<mark>Y&nbsp;</mark>to confirm your changes and hit&nbsp;<mark>Enter&nbsp;</mark>to save everything.</p>



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



<p>As of my knowledge cutoff in October 2023, Fedora does not come with&nbsp;<code>ufw</code>&nbsp;(Uncomplicated Firewall) pre-installed, as it typically uses&nbsp;<code>firewalld</code>&nbsp;as its default firewall management tool. However, if you want to use&nbsp;<code>ufw</code>&nbsp;on Fedora 41 Workstation, you would first need to install it and then check its status. For the purpose of this article we will continue with <code>firewalld</code>.</p>



<p>To check the status of&nbsp;<code>firewalld</code>&nbsp;on Fedora 41, you can use 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 status firewalld</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">firewalld</span></span></code></pre></div>



<p>Your screen should look like this:</p>



<figure class="wp-block-gallery has-nested-images columns-default is-cropped wp-block-gallery-4 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/Fedora-41-Firewall.png"><img loading="lazy" decoding="async" width="1024" height="672" data-id="50569" src="https://library.nagios.com/wp-content/uploads/2025/02/Fedora-41-Firewall-1024x672.png" alt="Fedora 41 Firewall" class="wp-image-50569" title="Installing Nagios Cross-Platform Agent on a Fedora 41 Workstation 11" srcset="https://library.nagios.com/wp-content/uploads/2025/02/Fedora-41-Firewall-1024x672.png 1024w, https://library.nagios.com/wp-content/uploads/2025/02/Fedora-41-Firewall-300x197.png 300w, https://library.nagios.com/wp-content/uploads/2025/02/Fedora-41-Firewall-768x504.png 768w, https://library.nagios.com/wp-content/uploads/2025/02/Fedora-41-Firewall.png 1098w" sizes="(max-width: 1024px) 100vw, 1024px" /></a><figcaption class="wp-element-caption">Fedora 41 Firewall</figcaption></figure>
</figure>



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



<p>To ensure that NCPA runs automatically at startup, you need to enable and start the service.</p>



<p>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>sudo systemctl start ncpa_listener</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_listener</span></span></code></pre></div>



<p>Enable the service to start 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 enable ncpa_listener</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">enable</span><span style="color: #D4D4D4"> </span><span style="color: #9CDCFE">ncpa_listener</span></span></code></pre></div>



<p>Verify that the service 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 systemctl status ncpa_listener</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">ncpa_listener</span></span></code></pre></div>



<p>You should see an output indicating that the service is active and running. Your screen should look like this below:</p>



<figure class="wp-block-gallery has-nested-images columns-default is-cropped wp-block-gallery-5 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/Fedora-41-Enable-NCPA-Service-1.png"><img loading="lazy" decoding="async" width="1024" height="381" data-id="50599" src="https://library.nagios.com/wp-content/uploads/2025/02/Fedora-41-Enable-NCPA-Service-1-1024x381.png" alt="Fedora 41 Enable NCPA Service 1" class="wp-image-50599" title="Installing Nagios Cross-Platform Agent on a Fedora 41 Workstation 12" srcset="https://library.nagios.com/wp-content/uploads/2025/02/Fedora-41-Enable-NCPA-Service-1-1024x381.png 1024w, https://library.nagios.com/wp-content/uploads/2025/02/Fedora-41-Enable-NCPA-Service-1-300x111.png 300w, https://library.nagios.com/wp-content/uploads/2025/02/Fedora-41-Enable-NCPA-Service-1-768x285.png 768w, https://library.nagios.com/wp-content/uploads/2025/02/Fedora-41-Enable-NCPA-Service-1.png 1087w" sizes="(max-width: 1024px) 100vw, 1024px" /></a><figcaption class="wp-element-caption">Fedora 41 Enable NCPA Service</figcaption></figure>
</figure>



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



<ol class="wp-block-list">
<li>This step is optional but recommended. Open a web browser and go to:&nbsp;<mark>https://&lt;NCPA_IP_Address&gt;:5693/</mark></li>



<li>You will see the error message below saying that site isn’t safe to continue. Simply click&nbsp;<mark>Advanced</mark>&nbsp;and proceed to the site.</li>



<li>You will then enter the community string API token from earlier in step 4 &amp; click&nbsp;<mark>Log In</mark>. If you have the token proceed to the next step otherwise go back &amp; retrieve it.</li>



<li>Your screen should look like the ones below after completing each step. Click&nbsp;<mark>See Live Stats</mark>&nbsp;to continue then you&#8217;ll be brought to the NCPA Dashboard.</li>
</ol>



<figure class="wp-block-gallery has-nested-images columns-default is-cropped wp-block-gallery-6 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/Web-GUI-Log-In-1.png"><img loading="lazy" decoding="async" width="1024" height="399" data-id="50591" src="https://library.nagios.com/wp-content/uploads/2025/02/Web-GUI-Log-In-1-1024x399.png" alt="Web GUI Log In" class="wp-image-50591" title="Installing Nagios Cross-Platform Agent on a Fedora 41 Workstation 13" srcset="https://library.nagios.com/wp-content/uploads/2025/02/Web-GUI-Log-In-1-1024x399.png 1024w, https://library.nagios.com/wp-content/uploads/2025/02/Web-GUI-Log-In-1-300x117.png 300w, https://library.nagios.com/wp-content/uploads/2025/02/Web-GUI-Log-In-1-768x299.png 768w, https://library.nagios.com/wp-content/uploads/2025/02/Web-GUI-Log-In-1-1536x598.png 1536w, https://library.nagios.com/wp-content/uploads/2025/02/Web-GUI-Log-In-1.png 1900w" sizes="(max-width: 1024px) 100vw, 1024px" /></a><figcaption class="wp-element-caption">Web GUI Log In</figcaption></figure>
</figure>



<figure class="wp-block-gallery has-nested-images columns-default is-cropped wp-block-gallery-7 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/NCPA-Check-Status-1.png"><img loading="lazy" decoding="async" width="804" height="487" data-id="50578" src="https://library.nagios.com/wp-content/uploads/2025/02/NCPA-Check-Status-1.png" alt="NCPA Check Status 1" class="wp-image-50578" title="Installing Nagios Cross-Platform Agent on a Fedora 41 Workstation 14" srcset="https://library.nagios.com/wp-content/uploads/2025/02/NCPA-Check-Status-1.png 804w, https://library.nagios.com/wp-content/uploads/2025/02/NCPA-Check-Status-1-300x182.png 300w, https://library.nagios.com/wp-content/uploads/2025/02/NCPA-Check-Status-1-768x465.png 768w" sizes="(max-width: 804px) 100vw, 804px" /></a><figcaption class="wp-element-caption">NCPA Check Status</figcaption></figure>
</figure>



<figure class="wp-block-gallery has-nested-images columns-default is-cropped wp-block-gallery-8 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/NCPA-Dashboard-2.png"><img loading="lazy" decoding="async" width="1024" height="490" data-id="50597" src="https://library.nagios.com/wp-content/uploads/2025/02/NCPA-Dashboard-2-1024x490.png" alt="NCPA Dashboard 2" class="wp-image-50597" title="Installing Nagios Cross-Platform Agent on a Fedora 41 Workstation 15" srcset="https://library.nagios.com/wp-content/uploads/2025/02/NCPA-Dashboard-2-1024x490.png 1024w, https://library.nagios.com/wp-content/uploads/2025/02/NCPA-Dashboard-2-300x144.png 300w, https://library.nagios.com/wp-content/uploads/2025/02/NCPA-Dashboard-2-768x367.png 768w, https://library.nagios.com/wp-content/uploads/2025/02/NCPA-Dashboard-2-1536x735.png 1536w, https://library.nagios.com/wp-content/uploads/2025/02/NCPA-Dashboard-2.png 1906w" sizes="(max-width: 1024px) 100vw, 1024px" /></a><figcaption class="wp-element-caption">NCPA Dashboard</figcaption></figure>
</figure>



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



<p>1. Log into Nagios XI and hover your mouse over the gear icon &amp; select&nbsp;<mark>Configuration Wizards</mark>. Or click the gear icon &amp; then click&nbsp;<mark>Configuration Wizards</mark>. If you’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>



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



<figure class="wp-block-gallery has-nested-images columns-default is-cropped wp-block-gallery-9 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/NCPA-Config-Select-1.png"><img loading="lazy" decoding="async" width="1024" height="530" data-id="50530" src="https://library.nagios.com/wp-content/uploads/2025/02/NCPA-Config-Select-1-1024x530.png" alt="NCPA Select" class="wp-image-50530" title="Installing Nagios Cross-Platform Agent on a Fedora 41 Workstation 16" srcset="https://library.nagios.com/wp-content/uploads/2025/02/NCPA-Config-Select-1-1024x530.png 1024w, https://library.nagios.com/wp-content/uploads/2025/02/NCPA-Config-Select-1-300x155.png 300w, https://library.nagios.com/wp-content/uploads/2025/02/NCPA-Config-Select-1-768x398.png 768w, https://library.nagios.com/wp-content/uploads/2025/02/NCPA-Config-Select-1-1536x795.png 1536w, https://library.nagios.com/wp-content/uploads/2025/02/NCPA-Config-Select-1.png 1912w" sizes="(max-width: 1024px) 100vw, 1024px" /></a><figcaption class="wp-element-caption">NCPA Select</figcaption></figure>
</figure>



<p>3. Enter the IP address, API token and system you are using (select Generic option)</p>



<p>4. Fill in the rest of the information to your liking and click&nbsp;<mark>Finish&nbsp;</mark>or&nbsp;<mark>Finish w/Defaults</mark></p>



<figure class="wp-block-gallery has-nested-images columns-default is-cropped wp-block-gallery-10 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/NCPA-More-Config-Info-1.png"><img loading="lazy" decoding="async" width="1024" height="507" data-id="50592" src="https://library.nagios.com/wp-content/uploads/2025/02/NCPA-More-Config-Info-1-1024x507.png" alt="NCPA More Config Info 1" class="wp-image-50592" title="Installing Nagios Cross-Platform Agent on a Fedora 41 Workstation 17" srcset="https://library.nagios.com/wp-content/uploads/2025/02/NCPA-More-Config-Info-1-1024x507.png 1024w, https://library.nagios.com/wp-content/uploads/2025/02/NCPA-More-Config-Info-1-300x149.png 300w, https://library.nagios.com/wp-content/uploads/2025/02/NCPA-More-Config-Info-1-768x381.png 768w, https://library.nagios.com/wp-content/uploads/2025/02/NCPA-More-Config-Info-1-1536x761.png 1536w, https://library.nagios.com/wp-content/uploads/2025/02/NCPA-More-Config-Info-1.png 1651w" sizes="(max-width: 1024px) 100vw, 1024px" /></a><figcaption class="wp-element-caption">NCPA More Config Info</figcaption></figure>
</figure>



<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-gallery has-nested-images columns-default is-cropped wp-block-gallery-11 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/NCPA-Home-2.png"><img loading="lazy" decoding="async" width="1024" height="526" data-id="50593" src="https://library.nagios.com/wp-content/uploads/2025/02/NCPA-Home-2-1024x526.png" alt="NCPA Home 2" class="wp-image-50593" title="Installing Nagios Cross-Platform Agent on a Fedora 41 Workstation 18" srcset="https://library.nagios.com/wp-content/uploads/2025/02/NCPA-Home-2-1024x526.png 1024w, https://library.nagios.com/wp-content/uploads/2025/02/NCPA-Home-2-300x154.png 300w, https://library.nagios.com/wp-content/uploads/2025/02/NCPA-Home-2-768x394.png 768w, https://library.nagios.com/wp-content/uploads/2025/02/NCPA-Home-2-1536x789.png 1536w, https://library.nagios.com/wp-content/uploads/2025/02/NCPA-Home-2.png 1905w" sizes="(max-width: 1024px) 100vw, 1024px" /></a><figcaption class="wp-element-caption">NCPA Home</figcaption></figure>
</figure>



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



<figure class="wp-block-gallery has-nested-images columns-default is-cropped wp-block-gallery-12 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/NCPA-Fedora-41-Host-Detail.png"><img loading="lazy" decoding="async" width="1024" height="414" data-id="50615" src="https://library.nagios.com/wp-content/uploads/2025/02/NCPA-Fedora-41-Host-Detail-1024x414.png" alt="NCPA Fedora 41 Host Detail" class="wp-image-50615" title="Installing Nagios Cross-Platform Agent on a Fedora 41 Workstation 19" srcset="https://library.nagios.com/wp-content/uploads/2025/02/NCPA-Fedora-41-Host-Detail-1024x414.png 1024w, https://library.nagios.com/wp-content/uploads/2025/02/NCPA-Fedora-41-Host-Detail-300x121.png 300w, https://library.nagios.com/wp-content/uploads/2025/02/NCPA-Fedora-41-Host-Detail-768x310.png 768w, https://library.nagios.com/wp-content/uploads/2025/02/NCPA-Fedora-41-Host-Detail-1536x620.png 1536w, https://library.nagios.com/wp-content/uploads/2025/02/NCPA-Fedora-41-Host-Detail.png 1649w" sizes="(max-width: 1024px) 100vw, 1024px" /></a><figcaption class="wp-element-caption">NCPA Fedora 41 &#8211; Host Detail</figcaption></figure>
</figure>



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



<p>By following these steps, you have successfully installed and configured the Nagios Cross-Platform Agent (NCPA) on your Fedora 41 Workstation. NCPA provides a robust and flexible solution for monitoring your system, and its integration with Nagios XI or Nagios Core makes it an invaluable tool for system administrators.</p>



<p>For further customization and advanced usage, refer to the&nbsp;<a href="https://assets.nagios.com/downloads/ncpa/docs/" target="_blank" rel="noreferrer noopener">official NCPA documentation</a>. Happy monitoring!</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:&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>



<p></p>
]]></content:encoded>
					
		
		
			</item>
	</channel>
</rss>
