<?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 39 &#8211; Nagios Library</title>
	<atom:link href="https://library.nagios.com/tag/fedora-39/feed/" rel="self" type="application/rss+xml" />
	<link>https://library.nagios.com</link>
	<description>Complete Nagios monitoring resources and documentation</description>
	<lastBuildDate>Tue, 10 Feb 2026 18:45:16 +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 39 &#8211; Nagios Library</title>
	<link>https://library.nagios.com</link>
	<width>32</width>
	<height>32</height>
</image> 
	<item>
		<title>Setting Up SNMP on a Fedora 39 Workstation and Configuring it in Nagios XI</title>
		<link>https://library.nagios.com/documentation/setting-up-snmp-on-a-fedora-39-workstation-and-configuring-it-in-nagios-xi/</link>
		
		<dc:creator><![CDATA[Johnny Mengistu]]></dc:creator>
		<pubDate>Mon, 24 Mar 2025 21:16:20 +0000</pubDate>
				<category><![CDATA[Documentation]]></category>
		<category><![CDATA[Monitoring]]></category>
		<category><![CDATA[Configuration]]></category>
		<category><![CDATA[Fedora 39]]></category>
		<category><![CDATA[SNMP]]></category>
		<guid isPermaLink="false">https://library.nagios.com/?p=53177</guid>

					<description><![CDATA[Simple Network Management Protocol (SNMP) is a widely-used protocol for monitoring and managing network devices and servers. With SNMP, administrators can gather metrics on hardware status, network traffic, and other key performance indicators. This article will guide you through the process of installing and configuring SNMP on a Fedora 39 workstation and then setting it [&#8230;]]]></description>
										<content:encoded><![CDATA[
<p>Simple Network Management Protocol (SNMP) is a widely-used protocol for monitoring and managing network devices and servers. With SNMP, administrators can gather metrics on hardware status, network traffic, and other key performance indicators. This article will guide you through the process of installing and configuring SNMP on a Fedora 39 workstation and then setting it up in Nagios XI for monitoring purposes.</p>



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



<p>Before we begin, ensure that:</p>



<ul class="wp-block-list">
<li>You have a Fedora 39 workstation.</li>



<li>You have root (sudo) privileges on the system.</li>



<li>You have Nagios XI installed and running, with access to the web interface.</li>



<li>You have basic knowledge of SNMP and Nagios XI&#8217;s functionality.</li>
</ul>



<h3 class="wp-block-heading">Part 1: Installing and Configuring SNMP on Fedora 39 Workstation</h3>



<p>SNMP typically runs on UDP port 161 for general communication and port 162 for traps. We will install and configure the SNMP daemon (<code>snmpd</code>) on Fedora 39.</p>



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



<p>Fedora repositories provide the necessary SNMP utilities. First, update the system and install the required SNMP packages.</p>



<p>1. <strong>Update system packages:</strong> </p>



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



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

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">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></code></pre></div>



<p></p>



<p>2. <strong>Install SNMP daemon and utilities:</strong></p>



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



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

sudo dnf install net-snmp net-snmp-utils -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">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">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 style="color: #D4D4D4"> -</span><span style="color: #9CDCFE">y</span></span></code></pre></div>



<p>This will install the SNMP daemon (<code>snmpd</code>) and the SNMP utilities that allow you to query and test SNMP configurations.</p>



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



<p>The configuration file for <code>snmpd</code> is located at <code>/etc/snmp/snmpd.conf</code>. Open the file to configure it for your environment.</p>



<p>1. <strong>Edit the SNMP configuration file</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>bash

sudo vi /etc/snmp/snmpd.conf</textarea></pre><svg xmlns="http://www.w3.org/2000/svg" style="width:24px;height:24px" fill="none" viewBox="0 0 24 24" stroke="currentColor" stroke-width="2"><path class="with-check" stroke-linecap="round" stroke-linejoin="round" d="M4.5 12.75l6 6 9-13.5"></path><path class="without-check" stroke-linecap="round" stroke-linejoin="round" d="M16.5 8.25V6a2.25 2.25 0 00-2.25-2.25H6A2.25 2.25 0 003.75 6v8.25A2.25 2.25 0 006 16.5h2.25m8.25-8.25H18a2.25 2.25 0 012.25 2.25V18A2.25 2.25 0 0118 20.25h-7.5A2.25 2.25 0 018.25 18v-1.5m8.25-8.25h-6a2.25 2.25 0 00-2.25 2.25v6"></path></svg></span><pre class="shiki dark-plus" style="background-color: #1E1E1E" tabindex="0"><code><span class="line"><span style="color: #9CDCFE">bash</span></span>
<span class="line"></span>
<span class="line"><span style="color: #9CDCFE">sudo</span><span style="color: #D4D4D4"> </span><span style="color: #9CDCFE">vi</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>2. <strong>Basic configuration example:</strong><ul><li>Set the community string to something secure (the default is <code>public</code>, which is insecure and should be changed).Configure access control for SNMP agents.</li></ul>Here’s a minimal configuration for SNMPv2c (the most commonly used version of SNMP):</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># Set the SNMP community string (password)
rocommunity private
# Specify the network range that is allowed to access SNMP information
# You can change this to your network's IP range
rocommunity private default -V systemonly

# Restrict SNMP access to localhost (for security reasons)
agentAddress udp:161,udp6:&#91;::1&#93;:161</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">Set</span><span style="color: #D4D4D4"> </span><span style="color: #9CDCFE">the</span><span style="color: #D4D4D4"> </span><span style="color: #4FC1FF">SNMP</span><span style="color: #D4D4D4"> </span><span style="color: #9CDCFE">community</span><span style="color: #D4D4D4"> </span><span style="color: #DCDCAA">string</span><span style="color: #D4D4D4"> (</span><span style="color: #9CDCFE">password</span><span style="color: #D4D4D4">)</span></span>
<span class="line"><span style="color: #9CDCFE">rocommunity</span><span style="color: #D4D4D4"> </span><span style="color: #9CDCFE">private</span></span>
<span class="line"><span style="color: #D4D4D4"># </span><span style="color: #9CDCFE">Specify</span><span style="color: #D4D4D4"> </span><span style="color: #9CDCFE">the</span><span style="color: #D4D4D4"> </span><span style="color: #9CDCFE">network</span><span style="color: #D4D4D4"> </span><span style="color: #9CDCFE">range</span><span style="color: #D4D4D4"> </span><span style="color: #9CDCFE">that</span><span style="color: #D4D4D4"> </span><span style="color: #9CDCFE">is</span><span style="color: #D4D4D4"> </span><span style="color: #9CDCFE">allowed</span><span style="color: #D4D4D4"> </span><span style="color: #9CDCFE">to</span><span style="color: #D4D4D4"> </span><span style="color: #9CDCFE">access</span><span style="color: #D4D4D4"> </span><span style="color: #4FC1FF">SNMP</span><span style="color: #D4D4D4"> </span><span style="color: #9CDCFE">information</span></span>
<span class="line"><span style="color: #D4D4D4"># </span><span style="color: #9CDCFE">You</span><span style="color: #D4D4D4"> </span><span style="color: #9CDCFE">can</span><span style="color: #D4D4D4"> </span><span style="color: #9CDCFE">change</span><span style="color: #D4D4D4"> </span><span style="color: #569CD6">this</span><span style="color: #D4D4D4"> </span><span style="color: #9CDCFE">to</span><span style="color: #D4D4D4"> </span><span style="color: #9CDCFE">your</span><span style="color: #D4D4D4"> </span><span style="color: #9CDCFE">network</span><span style="color: #CE9178">&#39;s IP rang</span><span style="color: #F44747">e</span></span>
<span class="line"><span style="color: #9CDCFE">rocommunity</span><span style="color: #D4D4D4"> </span><span style="color: #9CDCFE">private</span><span style="color: #D4D4D4"> </span><span style="color: #C586C0">default</span><span style="color: #D4D4D4"> -</span><span style="color: #4FC1FF">V</span><span style="color: #D4D4D4"> </span><span style="color: #9CDCFE">systemonly</span></span>
<span class="line"></span>
<span class="line"><span style="color: #D4D4D4"># </span><span style="color: #9CDCFE">Restrict</span><span style="color: #D4D4D4"> </span><span style="color: #4FC1FF">SNMP</span><span style="color: #D4D4D4"> </span><span style="color: #9CDCFE">access</span><span style="color: #D4D4D4"> </span><span style="color: #9CDCFE">to</span><span style="color: #D4D4D4"> </span><span style="color: #DCDCAA">localhost</span><span style="color: #D4D4D4"> (</span><span style="color: #9CDCFE">for</span><span style="color: #D4D4D4"> </span><span style="color: #9CDCFE">security</span><span style="color: #D4D4D4"> </span><span style="color: #9CDCFE">reasons</span><span style="color: #D4D4D4">)</span></span>
<span class="line"><span style="color: #9CDCFE">agentAddress</span><span style="color: #D4D4D4"> </span><span style="color: #C8C8C8">udp</span><span style="color: #D4D4D4">:</span><span style="color: #B5CEA8">161</span><span style="color: #D4D4D4">,</span><span style="color: #C8C8C8">udp6</span><span style="color: #D4D4D4">:&#91;::</span><span style="color: #B5CEA8">1</span><span style="color: #D4D4D4">&#93;:</span><span style="color: #B5CEA8">161</span></span></code></pre></div>



<p></p>



<ul class="wp-block-list">
<li>The <code>rocommunity</code> directive defines a read-only community string.</li>



<li>The <code>agentAddress</code> directive ensures SNMP listens on the correct network interfaces (you can modify it for your specific requirements).</li>
</ul>



<p>3. <strong>Restart the SNMP service:</strong> </p>



<p>Once the configuration is complete, restart the SNMP daemon for the changes to take effect:</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 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">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">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>



<p></p>



<p>4. <strong>Verify SNMP service is running:</strong></p>



<p>To verify that SNMP is running and accessible, 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>bash

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">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">snmpd</span></span></code></pre></div>



<p>If it&#8217;s running properly, it should indicate that the service is active.</p>



<p></p>



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



<h4 class="wp-block-heading">Step 3: Test SNMP Locally</h4>



<p>You can test if SNMP is working locally using the <code>snmpwalk</code> tool, which is included in the <code>net-snmp-utils</code> package.</p>



<ol class="wp-block-list">
<li><strong>Test SNMP locally:</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>bash

snmpwalk -v 2c -c private 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">bash</span></span>
<span class="line"></span>
<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">private</span><span style="color: #D4D4D4"> </span><span style="color: #9CDCFE">localhost</span></span></code></pre></div>



<p><ul><li><code>-v 2c</code> specifies SNMP version 2c.</li></ul></p>



<p><ul><li><code>-c private</code> specifies the community string.</li></ul></p>



<p><ul><li><code>localhost</code> indicates that you&#8217;re querying the local machine.</li></ul></p>



<p>If everything is configured correctly, you should see a large list of SNMP values and OIDs returned from the system.</p>



<p></p>



<h3 class="wp-block-heading">Part 2: Configuring SNMP on Nagios XI</h3>



<ol class="wp-block-list">
<li>Log into Nagios XI , hover over the gear icon and select &#8220;Configuration Wizards&#8221;.</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 fetchpriority="high" 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="Setting Up SNMP on a Fedora 39 Workstation and Configuring it in Nagios XI 1" 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 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="Setting Up SNMP on a Fedora 39 Workstation and Configuring it in Nagios XI 2" 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 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="Setting Up SNMP on a Fedora 39 Workstation and Configuring it in Nagios XI 3" 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>



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



<p>You have successfully installed SNMP on a Fedora 39 workstation and configured it in Nagios XI for monitoring. By using SNMP, you can gather various system metrics such as CPU usage, disk space, network interface statistics, and more. Nagios XI provides a powerful platform for monitoring these metrics and alerting you to potential issues. With the steps outlined in this guide, you can now integrate SNMP-based monitoring into your IT infrastructure to ensure smooth operations and proactive system 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>
	</channel>
</rss>
