<?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>SUSE 12 &#8211; Nagios Library</title>
	<atom:link href="https://library.nagios.com/tag/suse-12/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 22:51:19 +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>SUSE 12 &#8211; Nagios Library</title>
	<link>https://library.nagios.com</link>
	<width>32</width>
	<height>32</height>
</image> 
	<item>
		<title>How to Configure SNMP on SUSE 12 and Monitor with Nagios XI</title>
		<link>https://library.nagios.com/documentation/how-to-configure-snmp-on-suse-12-and-monitor-with-nagios-xi/</link>
		
		<dc:creator><![CDATA[Tucker Falen]]></dc:creator>
		<pubDate>Thu, 13 Feb 2025 15:52:26 +0000</pubDate>
				<category><![CDATA[Documentation]]></category>
		<category><![CDATA[Monitoring]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Operating System Monitoring]]></category>
		<category><![CDATA[SNMP]]></category>
		<category><![CDATA[SUSE 12]]></category>
		<category><![CDATA[SUSE Linux]]></category>
		<guid isPermaLink="false">https://library.nagios.com/?p=46025</guid>

					<description><![CDATA[SNMP (Simple Network Management Protocol) is a commonly used protocol for monitoring and managing network devices and servers.. If you want to integrate SNMP monitoring on your SUSE Linux Enterprise Server (SLES) 12, this guide will walk you through the installation, configuration, and testing of SNMP, ensuring your system is ready to send monitoring data [&#8230;]]]></description>
										<content:encoded><![CDATA[
<p>SNMP (Simple Network Management Protocol) is a commonly used protocol for monitoring and managing network devices and servers.. If you want to integrate SNMP monitoring on your <strong>SUSE Linux Enterprise Server (SLES) 12</strong>, this guide will walk you through the <strong>installation, configuration, and testing</strong> of SNMP, ensuring your system is ready to send monitoring data to Nagios. This article will be using SNMPv2c!</p>



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



<p>SNMP is most likely pre-installed on your system, but just in case. To install SNMP on SUSE 12, you need to install the <strong>Net-SNMP</strong> package, which includes the SNMP daemon (<code>snmpd</code>) and useful command-line tools like <code>snmpwalk</code> and <code>snmpget</code>.</p>



<p>Run the following command to 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>sudo zypper 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: #D4D4D4">sudo zypper install net-snmp net-snmp-utils</span></span></code></pre></div>



<p>This will install:</p>



<ul class="wp-block-list">
<li><strong>snmpd</strong>: The SNMP daemon that collects system data</li>



<li><strong>snmpwalk, snmpget, snmptrap</strong>: Utilities for querying SNMP data<br></li>
</ul>



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



<p>After installing SNMP, you must configure it to allow access from the monitoring system.</p>



<ol class="wp-block-list">
<li>Open 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 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: #D4D4D4">sudo vi /etc/snmp/snmpd.conf</span></span></code></pre></div>



<ol start="2" class="wp-block-list">
<li>Look for the <code>rocommunity public</code> line and modify it to allow your monitoring system’s IP. For example, if your Nagios server is at <strong>192.168.1.146</strong>, change:</li>
</ol>



<figure class="wp-block-image size-full"><a href="https://library.nagios.com/wp-content/uploads/2025/02/Screenshot-2025-02-12-103406.png"><img fetchpriority="high" decoding="async" width="429" height="223" src="https://library.nagios.com/wp-content/uploads/2025/02/Screenshot-2025-02-12-103406-edited.png" alt="Screenshot 2025 02 12 103406 edited" class="wp-image-46046" title="How to Configure SNMP on SUSE 12 and Monitor with Nagios XI 1" srcset="https://library.nagios.com/wp-content/uploads/2025/02/Screenshot-2025-02-12-103406-edited.png 429w, https://library.nagios.com/wp-content/uploads/2025/02/Screenshot-2025-02-12-103406-edited-300x156.png 300w, https://library.nagios.com/wp-content/uploads/2025/02/Screenshot-2025-02-12-103406-edited-360x187.png 360w" sizes="(max-width: 429px) 100vw, 429px" /></a><figcaption class="wp-element-caption"> </figcaption></figure>



<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 myCommunityString 192.168.1.146</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">rocommunity myCommunityString 192.168.1.146</span></span></code></pre></div>



<p>Replace <code>myCommunityString</code> with a <strong>strong community string</strong>.</p>



<figure class="wp-block-image size-full"><a href="https://library.nagios.com/wp-content/uploads/2025/02/Screenshot-2025-02-12-103249.png"><img decoding="async" width="638" height="350" src="https://library.nagios.com/wp-content/uploads/2025/02/Screenshot-2025-02-12-103249.png" alt="Screenshot 2025 02 12 103249" class="wp-image-46045" title="How to Configure SNMP on SUSE 12 and Monitor with Nagios XI 2" srcset="https://library.nagios.com/wp-content/uploads/2025/02/Screenshot-2025-02-12-103249.png 638w, https://library.nagios.com/wp-content/uploads/2025/02/Screenshot-2025-02-12-103249-300x165.png 300w, https://library.nagios.com/wp-content/uploads/2025/02/Screenshot-2025-02-12-103249-360x197.png 360w" sizes="(max-width: 638px) 100vw, 638px" /></a><figcaption class="wp-element-caption"> </figcaption></figure>



<p><strong>Note: </strong>If you want to allow access from any system (not recommended for security), use:</p>



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



<p>Once you are done editing your file, save and exit (<code>ESC</code>, then <code>:wq</code>).</p>



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



<p>After configuring SNMP, enable and start the service so it runs automatically on boot:</p>



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



<p>Check if SNMP 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 systecmctl 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: #D4D4D4">sudo systecmctl status snmpd</span></span></code></pre></div>



<figure class="wp-block-image size-full"><a href="https://library.nagios.com/wp-content/uploads/2025/02/Screenshot-2025-02-12-103640.png"><img decoding="async" width="756" height="211" src="https://library.nagios.com/wp-content/uploads/2025/02/Screenshot-2025-02-12-103640.png" alt="Screenshot 2025 02 12 103640" class="wp-image-46053" title="How to Configure SNMP on SUSE 12 and Monitor with Nagios XI 3" srcset="https://library.nagios.com/wp-content/uploads/2025/02/Screenshot-2025-02-12-103640.png 756w, https://library.nagios.com/wp-content/uploads/2025/02/Screenshot-2025-02-12-103640-300x84.png 300w, https://library.nagios.com/wp-content/uploads/2025/02/Screenshot-2025-02-12-103640-360x100.png 360w" sizes="(max-width: 756px) 100vw, 756px" /></a><figcaption class="wp-element-caption">Example enabling and starting snmpd</figcaption></figure>



<h3 class="wp-block-heading">Step 4: Open Firewall for SNMP</h3>



<p>SNMP uses <strong>UDP port 161</strong>. If your monitoring server is external, allow this port through the firewall:</p>



<div class="wp-block-kevinbatdorf-code-block-pro" data-code-block-pro-font-family="Code-Pro-Geist-Mono" style="font-size:.875rem;font-family:Code-Pro-Geist-Mono,ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace;line-height:1.5rem;--cbp-tab-width:2;tab-size:var(--cbp-tab-width, 2)"><span role="button" tabindex="0" style="color:#D4D4D4;display:none" aria-label="Copy" class="code-block-pro-copy-button"><pre class="code-block-pro-copy-button-pre" aria-hidden="true"><textarea class="code-block-pro-copy-button-textarea" tabindex="-1" aria-hidden="true" readonly>sudo /usr/sbin/SuSEfirewall2 open EXT UDP 161
sudo systemctl restart SuSEfirewall2.service</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">sudo /usr/sbin/SuSEfirewall2 open EXT UDP 161</span></span>
<span class="line"><span style="color: #D4D4D4">sudo systemctl restart SuSEfirewall2.service</span></span></code></pre></div>



<p>If using <code>firewalld</code>, run:</p>



<div class="wp-block-kevinbatdorf-code-block-pro" data-code-block-pro-font-family="Code-Pro-Geist-Mono" style="font-size:.875rem;font-family:Code-Pro-Geist-Mono,ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace;line-height:1.5rem;--cbp-tab-width:2;tab-size:var(--cbp-tab-width, 2)"><span role="button" tabindex="0" style="color:#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 --zone=public --add-source=&lt;YOUR-IP-ADDRESS> --permanent
sudo firewall-cmd --zone=public --add-port=161/udp --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: #D4D4D4">sudo firewall-cmd --zone=public --add-source=&lt;YOUR-IP-ADDRESS&gt; --permanent</span></span>
<span class="line"><span style="color: #D4D4D4">sudo firewall-cmd --zone=public --add-port=161/udp --permanent</span></span>
<span class="line"><span style="color: #D4D4D4">sudo firewall-cmd --reload</span></span></code></pre></div>



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



<p>Once SNMP is installed and configured, test it using <code>snmpwalk</code> on your <strong>Nagios XI server</strong>.</p>



<h4 class="wp-block-heading"><strong>Test from Your Monitoring Server (e.g., Nagios)</strong></h4>



<p>If running the test from your <strong>Nagios server</strong>, replace <code>&lt;SUSE_SERVER_IP&gt;</code> with your SUSE server’s IP:</p>



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



<p>If you see a lot of <code>HOST-RESOURCES-MIB</code> data, <strong>SNMP is working correctly</strong>!</p>



<h3 class="wp-block-heading">Step 6: Monitor with Nagios</h3>



<p>From your Nagios XI web interface home page, click on <strong>Run a Wizard</strong>.</p>



<figure class="wp-block-image size-large"><a href="https://library.nagios.com/wp-content/uploads/2025/02/Screenshot-2025-02-11-102801-1.png"><img loading="lazy" decoding="async" width="1024" height="538" src="https://library.nagios.com/wp-content/uploads/2025/02/Screenshot-2025-02-11-102801-1-1024x538.png" alt="Screenshot 2025 02 11 102801 1" class="wp-image-46102" title="How to Configure SNMP on SUSE 12 and Monitor with Nagios XI 4" srcset="https://library.nagios.com/wp-content/uploads/2025/02/Screenshot-2025-02-11-102801-1-1024x538.png 1024w, https://library.nagios.com/wp-content/uploads/2025/02/Screenshot-2025-02-11-102801-1-300x158.png 300w, https://library.nagios.com/wp-content/uploads/2025/02/Screenshot-2025-02-11-102801-1-768x403.png 768w, https://library.nagios.com/wp-content/uploads/2025/02/Screenshot-2025-02-11-102801-1-1536x807.png 1536w, https://library.nagios.com/wp-content/uploads/2025/02/Screenshot-2025-02-11-102801-1-360x189.png 360w, https://library.nagios.com/wp-content/uploads/2025/02/Screenshot-2025-02-11-102801-1.png 1805w" sizes="(max-width: 1024px) 100vw, 1024px" /></a><figcaption class="wp-element-caption">Nagios XI homepage</figcaption></figure>



<p>Then, scroll until you find the <strong>Linux</strong> <strong>SNMP</strong> wizard.</p>



<figure class="wp-block-image size-large"><a href="https://library.nagios.com/wp-content/uploads/2025/02/Screenshot-2025-02-12-141405.png"><img loading="lazy" decoding="async" width="1024" height="528" src="https://library.nagios.com/wp-content/uploads/2025/02/Screenshot-2025-02-12-141405-1024x528.png" alt="Screenshot 2025 02 12 141405" class="wp-image-46108" title="How to Configure SNMP on SUSE 12 and Monitor with Nagios XI 5" srcset="https://library.nagios.com/wp-content/uploads/2025/02/Screenshot-2025-02-12-141405-1024x528.png 1024w, https://library.nagios.com/wp-content/uploads/2025/02/Screenshot-2025-02-12-141405-300x155.png 300w, https://library.nagios.com/wp-content/uploads/2025/02/Screenshot-2025-02-12-141405-768x396.png 768w, https://library.nagios.com/wp-content/uploads/2025/02/Screenshot-2025-02-12-141405-1536x792.png 1536w, https://library.nagios.com/wp-content/uploads/2025/02/Screenshot-2025-02-12-141405-360x186.png 360w, https://library.nagios.com/wp-content/uploads/2025/02/Screenshot-2025-02-12-141405.png 1770w" sizes="(max-width: 1024px) 100vw, 1024px" /></a><figcaption class="wp-element-caption">Wizards page</figcaption></figure>



<p>Then enter the IP address of your SUSE 12 machine. Leave the <strong>SNMP version</strong> at 2c and the <strong>SNMP Port</strong> at 161. The <strong>SNMP Community</strong> is where you will enter the community string you created in the conf file in Step 2.</p>



<figure class="wp-block-image size-full"><a href="https://library.nagios.com/wp-content/uploads/2025/02/Screenshot-2025-02-12-142445.png"><img loading="lazy" decoding="async" width="936" height="754" src="https://library.nagios.com/wp-content/uploads/2025/02/Screenshot-2025-02-12-142445.png" alt="Screenshot 2025 02 12 142445" class="wp-image-46111" title="How to Configure SNMP on SUSE 12 and Monitor with Nagios XI 6" srcset="https://library.nagios.com/wp-content/uploads/2025/02/Screenshot-2025-02-12-142445.png 936w, https://library.nagios.com/wp-content/uploads/2025/02/Screenshot-2025-02-12-142445-300x242.png 300w, https://library.nagios.com/wp-content/uploads/2025/02/Screenshot-2025-02-12-142445-768x619.png 768w, https://library.nagios.com/wp-content/uploads/2025/02/Screenshot-2025-02-12-142445-360x290.png 360w" sizes="(max-width: 936px) 100vw, 936px" /></a><figcaption class="wp-element-caption">Linux SNMP configuration wizard page</figcaption></figure>



<p>Now, you can change any settings you need and choose which metrics you would like to monitor.</p>



<figure class="wp-block-image size-large"><a href="https://library.nagios.com/wp-content/uploads/2025/02/Screenshot-2025-02-12-142349-1.png"><img loading="lazy" decoding="async" width="1024" height="568" src="https://library.nagios.com/wp-content/uploads/2025/02/Screenshot-2025-02-12-142349-1-1024x568.png" alt="Screenshot 2025 02 12 142349 1" class="wp-image-46110" title="How to Configure SNMP on SUSE 12 and Monitor with Nagios XI 7" srcset="https://library.nagios.com/wp-content/uploads/2025/02/Screenshot-2025-02-12-142349-1-1024x568.png 1024w, https://library.nagios.com/wp-content/uploads/2025/02/Screenshot-2025-02-12-142349-1-300x166.png 300w, https://library.nagios.com/wp-content/uploads/2025/02/Screenshot-2025-02-12-142349-1-768x426.png 768w, https://library.nagios.com/wp-content/uploads/2025/02/Screenshot-2025-02-12-142349-1-1536x852.png 1536w, https://library.nagios.com/wp-content/uploads/2025/02/Screenshot-2025-02-12-142349-1-360x200.png 360w, https://library.nagios.com/wp-content/uploads/2025/02/Screenshot-2025-02-12-142349-1.png 1756w" sizes="(max-width: 1024px) 100vw, 1024px" /></a><figcaption class="wp-element-caption">Configuration page</figcaption></figure>



<p>By default, you will be monitoring some basic services. When you are done configuring your settings and choosing SNMP services to monitor, you can hit <b>Ne</b><strong>xt and</strong> then <strong>Finish with Defaults.</strong></p>



<p>Congratulations! You have successfully installed and configured <strong>SNMP on SUSE 12</strong> and integrated it with <strong>Nagios</strong>. Your server is now actively monitored for performance metrics like CPU, memory, and uptime.</p>
]]></content:encoded>
					
		
		
			</item>
		<item>
		<title>How to Monitor SUSE 12 with Nagios Cross-Platform Agent (NCPA)</title>
		<link>https://library.nagios.com/documentation/how-to-monitor-suse-12-with-nagios-cross-platform-agent-ncpa/</link>
		
		<dc:creator><![CDATA[Tucker Falen]]></dc:creator>
		<pubDate>Tue, 11 Feb 2025 21:04:56 +0000</pubDate>
				<category><![CDATA[Documentation]]></category>
		<category><![CDATA[Techtips]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[NCPA]]></category>
		<category><![CDATA[Operating System Monitoring]]></category>
		<category><![CDATA[SUSE 12]]></category>
		<category><![CDATA[SUSE Linux]]></category>
		<guid isPermaLink="false">https://library.nagios.com/?p=45558</guid>

					<description><![CDATA[Do you want to monitor your SUSE server with ease? Nagios Cross-Platform Agent (NCPA) is a powerful and flexible monitoring agent that allows you to track system performance, services, and processes seamlessly. NCPA provides a simple yet effective way to integrate with Nagios Core or Nagios XI for real-time monitoring. Important Note: If you&#8217;re using [&#8230;]]]></description>
										<content:encoded><![CDATA[
<p>Do you want to monitor your <strong>SUSE server</strong> with ease? <strong>Nagios Cross-Platform Agent (NCPA)</strong> is a powerful and flexible monitoring agent that allows you to track system performance, services, and processes seamlessly. NCPA provides a simple yet effective way to integrate with Nagios Core or Nagios XI for real-time monitoring.</p>



<p><strong>Important Note:</strong> If you&#8217;re using <strong>SUSE/SLES 12</strong>, you must install <strong>NCPA 2</strong>, as NCPA 3 only supports SUSE/SLES 15 and later. NCPA 3 introduces a new architecture with improved API performance, Python 3 support, and better security, but it is not backward compatible with SLES 12. For this reason, NCPA 2 remains the best choice for monitoring on SUSE 12.</p>



<p>In this guide, we&#8217;ll walk you through the installation and configuration of NCPA 2 on SUSE/SLES 12, ensuring your server is set up for efficient monitoring. By the end, you&#8217;ll have a fully operational agent ready to send <strong>performance data to your Nagios monitoring system</strong>.</p>



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



<p>Before beginning your installation of NCPA make sure you have met the following requirements</p>



<ul class="wp-block-list">
<li>An internet connection</li>



<li>A system running SUSE 12</li>



<li>Root/sudo privileges</li>
</ul>



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



<p>Use the <code>rpm</code> command to install the latest <strong>NCPA</strong> package from Nagios:</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 rpm -Uvh https://assets.nagios.com/downloads/ncpa/ncpa-latest.sle12.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: #D4D4D4">sudo rpm -Uvh https://assets.nagios.com/downloads/ncpa/ncpa-latest.sle12.x86_64.rpm</span></span></code></pre></div>



<p>This will download and install <strong>NCPA</strong> on your SUSE/SLES 12 system.</p>



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



<p>Open the <strong>NCPA configuration file</strong> in a text editor (such as <code>vi</code>) with this command:</p>



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



<p>Find the <em>community_string = mytoken</em> line and change it to a stronger token for security. Press <code>i</code> to switch to insert mode and once you have made your changes press <code>esc</code> to get out of insert mode and then type <code>:wq</code> to save your changes and exit the editor.</p>



<figure class="wp-block-image size-full"><a href="https://library.nagios.com/wp-content/uploads/2025/02/Screenshot-2025-02-11-105914.png"><img loading="lazy" decoding="async" width="818" height="562" src="https://library.nagios.com/wp-content/uploads/2025/02/Screenshot-2025-02-11-105914.png" alt="Screenshot 2025 02 11 105914" class="wp-image-45570" title="How to Monitor SUSE 12 with Nagios Cross-Platform Agent (NCPA) 8" srcset="https://library.nagios.com/wp-content/uploads/2025/02/Screenshot-2025-02-11-105914.png 818w, https://library.nagios.com/wp-content/uploads/2025/02/Screenshot-2025-02-11-105914-300x206.png 300w, https://library.nagios.com/wp-content/uploads/2025/02/Screenshot-2025-02-11-105914-768x528.png 768w" sizes="(max-width: 818px) 100vw, 818px" /></a><figcaption class="wp-element-caption">ncpa.cfg file to edit</figcaption></figure>



<p>Apply the changes by restarting the <strong>NCPA listener service</strong>:</p>



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



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



<p>To confirm that NCPA is running, open a web browser and visit: <strong>https://&lt;system IP&gt;:5693</strong></p>



<p>You should see the <strong>NCPA web interface</strong>, where you can log in using the <strong>token</strong> configured in <code>ncpa.cfg</code></p>



<figure class="wp-block-image size-large"><a href="https://library.nagios.com/wp-content/uploads/2025/02/Screenshot-2025-02-11-114151.png"><img loading="lazy" decoding="async" width="1024" height="426" src="https://library.nagios.com/wp-content/uploads/2025/02/Screenshot-2025-02-11-114151-1024x426.png" alt="Screenshot 2025 02 11 114151" class="wp-image-45585" title="How to Monitor SUSE 12 with Nagios Cross-Platform Agent (NCPA) 9" srcset="https://library.nagios.com/wp-content/uploads/2025/02/Screenshot-2025-02-11-114151-1024x426.png 1024w, https://library.nagios.com/wp-content/uploads/2025/02/Screenshot-2025-02-11-114151-300x125.png 300w, https://library.nagios.com/wp-content/uploads/2025/02/Screenshot-2025-02-11-114151-768x320.png 768w, https://library.nagios.com/wp-content/uploads/2025/02/Screenshot-2025-02-11-114151.png 1252w" sizes="(max-width: 1024px) 100vw, 1024px" /></a><figcaption class="wp-element-caption">NCPA GUI Example</figcaption></figure>



<h4 class="wp-block-heading">Troubleshooting Tips: </h4>



<p>If you are unable to access the site, you may need to allow port 5693 through your firewall by running this command on your SUSE machine: <code>sudo /usr/sbin/SuSEfirewall2 open EXT TCP 5693</code> and then <code>sudo systemctl restart SuSEfirewall2.service</code> to apply the rule.</p>



<h3 class="wp-block-heading">Step 4: Monitoring with Nagios</h3>



<p>Now that you have <strong>NCPA installed and configured</strong> on your <strong>SUSE/SLES 12</strong> system, it&#8217;s time to integrate it with <strong>Nagios</strong> for real-time monitoring. <strong>Nagios Core or Nagios XI</strong> can use NCPA to check system metrics such as CPU usage, memory utilization, disk space, and running processes.</p>



<p>From your Nagios GUIs home page click on <strong>Run a Wizard</strong>.</p>



<figure class="wp-block-image size-large"><a href="https://library.nagios.com/wp-content/uploads/2025/02/Screenshot-2025-02-11-102801.png"><img loading="lazy" decoding="async" width="1024" height="538" src="https://library.nagios.com/wp-content/uploads/2025/02/Screenshot-2025-02-11-102801-1024x538.png" alt="Screenshot 2025 02 11 102801" class="wp-image-45592" title="How to Monitor SUSE 12 with Nagios Cross-Platform Agent (NCPA) 10" srcset="https://library.nagios.com/wp-content/uploads/2025/02/Screenshot-2025-02-11-102801-1024x538.png 1024w, https://library.nagios.com/wp-content/uploads/2025/02/Screenshot-2025-02-11-102801-300x158.png 300w, https://library.nagios.com/wp-content/uploads/2025/02/Screenshot-2025-02-11-102801-768x403.png 768w, https://library.nagios.com/wp-content/uploads/2025/02/Screenshot-2025-02-11-102801-1536x807.png 1536w, https://library.nagios.com/wp-content/uploads/2025/02/Screenshot-2025-02-11-102801.png 1805w" sizes="(max-width: 1024px) 100vw, 1024px" /></a><figcaption class="wp-element-caption"> </figcaption></figure>



<p>Next, pick the <strong>NCPA wizard</strong>.</p>



<figure class="wp-block-image size-large"><a href="https://library.nagios.com/wp-content/uploads/2025/02/Screenshot-2025-02-11-102857.png"><img loading="lazy" decoding="async" width="1024" height="524" src="https://library.nagios.com/wp-content/uploads/2025/02/Screenshot-2025-02-11-102857-1024x524.png" alt="Screenshot 2025 02 11 102857" class="wp-image-45594" title="How to Monitor SUSE 12 with Nagios Cross-Platform Agent (NCPA) 11" srcset="https://library.nagios.com/wp-content/uploads/2025/02/Screenshot-2025-02-11-102857-1024x524.png 1024w, https://library.nagios.com/wp-content/uploads/2025/02/Screenshot-2025-02-11-102857-300x154.png 300w, https://library.nagios.com/wp-content/uploads/2025/02/Screenshot-2025-02-11-102857-768x393.png 768w, https://library.nagios.com/wp-content/uploads/2025/02/Screenshot-2025-02-11-102857-1536x786.png 1536w, https://library.nagios.com/wp-content/uploads/2025/02/Screenshot-2025-02-11-102857.png 1745w" sizes="(max-width: 1024px) 100vw, 1024px" /></a><figcaption class="wp-element-caption"> </figcaption></figure>



<p>Enter your SUSE machines IP address in the address bar and leave the port as 5693. The token will be whatever you changed it to in the <code>ncpa.cfg</code> file. For System select SLES, Hit <strong>Next</strong></p>



<figure class="wp-block-image size-large"><a href="https://library.nagios.com/wp-content/uploads/2025/02/Screenshot-2025-02-11-103046.png"><img loading="lazy" decoding="async" width="1024" height="673" src="https://library.nagios.com/wp-content/uploads/2025/02/Screenshot-2025-02-11-103046-1024x673.png" alt="Screenshot 2025 02 11 103046" class="wp-image-45595" title="How to Monitor SUSE 12 with Nagios Cross-Platform Agent (NCPA) 12" srcset="https://library.nagios.com/wp-content/uploads/2025/02/Screenshot-2025-02-11-103046-1024x673.png 1024w, https://library.nagios.com/wp-content/uploads/2025/02/Screenshot-2025-02-11-103046-300x197.png 300w, https://library.nagios.com/wp-content/uploads/2025/02/Screenshot-2025-02-11-103046-768x504.png 768w, https://library.nagios.com/wp-content/uploads/2025/02/Screenshot-2025-02-11-103046.png 1346w" sizes="(max-width: 1024px) 100vw, 1024px" /></a><figcaption class="wp-element-caption"> </figcaption></figure>



<p>Now you can change any monitoring settings depending on your needs, or click finish with default settings.</p>



<figure class="wp-block-image size-large"><a href="https://library.nagios.com/wp-content/uploads/2025/02/Screenshot-2025-02-11-135250.png"><img loading="lazy" decoding="async" width="1024" height="784" src="https://library.nagios.com/wp-content/uploads/2025/02/Screenshot-2025-02-11-135250-1024x784.png" alt="Screenshot 2025 02 11 135250" class="wp-image-45660" title="How to Monitor SUSE 12 with Nagios Cross-Platform Agent (NCPA) 13" srcset="https://library.nagios.com/wp-content/uploads/2025/02/Screenshot-2025-02-11-135250-1024x784.png 1024w, https://library.nagios.com/wp-content/uploads/2025/02/Screenshot-2025-02-11-135250-300x230.png 300w, https://library.nagios.com/wp-content/uploads/2025/02/Screenshot-2025-02-11-135250-768x588.png 768w, https://library.nagios.com/wp-content/uploads/2025/02/Screenshot-2025-02-11-135250.png 1182w" sizes="(max-width: 1024px) 100vw, 1024px" /></a><figcaption class="wp-element-caption"> </figcaption></figure>



<p>Congratulations! You have successfully <strong>integrated SUSE/SLES 12 with Nagios</strong> using <strong>NCPA</strong>. Your Nagios server is now continuously monitoring <strong>system performance</strong> and will notify you of any issues.</p>
]]></content:encoded>
					
		
		
			</item>
	</channel>
</rss>
