<?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>NCPA &#8211; Nagios Library</title>
	<atom:link href="https://library.nagios.com/tag/ncpa/feed/" rel="self" type="application/rss+xml" />
	<link>https://library.nagios.com</link>
	<description>Complete Nagios monitoring resources and documentation</description>
	<lastBuildDate>Fri, 10 Apr 2026 14:36:03 +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>NCPA &#8211; Nagios Library</title>
	<link>https://library.nagios.com</link>
	<width>32</width>
	<height>32</height>
</image> 
	<item>
		<title>How to Use the Nagios Cross-Platform Agent (NCPA) Wizard in Nagios XI</title>
		<link>https://library.nagios.com/tutorials/how-to-use-the-nagios-cross-platform-agent-ncpa-wizard-in-nagios-xi/</link>
		
		<dc:creator><![CDATA[Adam Pham]]></dc:creator>
		<pubDate>Fri, 29 Aug 2025 20:36:10 +0000</pubDate>
				<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[NCPA]]></category>
		<category><![CDATA[Wizards]]></category>
		<guid isPermaLink="false">https://library.nagios.com/?p=62673</guid>

					<description><![CDATA[Nagios XI includes an NCPA Wizard that enables you to easily connect to NCPA agents and quickly configure monitoring of CPU, memory, disk, services/processes, network bandwidth, and custom API/plugin checks. You can refer to this documentation for full details: Here is a direct link to the PDF as well: How To Monitor Devices With Nagios [&#8230;]]]></description>
										<content:encoded><![CDATA[
<p>Nagios XI includes an <strong>NCPA</strong> Wizard that enables you to easily connect to NCPA agents and quickly configure monitoring of CPU, memory, disk, services/processes, network bandwidth, and custom API/plugin checks.</p>



<p>You can refer to this documentation for full details:</p>


<div class="wp-block-pdfemb-pdf-embedder-viewer"><a href="https://library.nagios.com/wp-content/uploads/2025/12/Monitoring-Devices-using-NCPA-2024.pdf" class="pdfemb-viewer" style="" data-width="max" data-height="max" data-toolbar="bottom" data-toolbar-fixed="off">Monitoring-Devices-using-NCPA-2024</a></div>


<div style="height:20px" aria-hidden="true" class="wp-block-spacer"></div>



<p>Here is a direct link to the PDF as well:</p>



<p><a href="https://assets.nagios.com/downloads/nagiosxi/docs/Monitoring-Devices-using-NCPA-2024.pdf" data-type="link" data-id="https://library.nagios.com/wp-content/uploads/2025/08/Monitoring-Devices-using-NCPA-2024.pdf" target="_blank" rel="noopener">How To Monitor Devices With Nagios XI</a></p>



<p></p>
]]></content:encoded>
					
		
		
			</item>
		<item>
		<title>How to Use the Linode Wizard in Nagios XI</title>
		<link>https://library.nagios.com/tutorials/how-to-monitor-a-linode-cloud-server-with-nagios-xi-2/</link>
		
		<dc:creator><![CDATA[Moutrine]]></dc:creator>
		<pubDate>Wed, 20 Aug 2025 16:45:44 +0000</pubDate>
				<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[NCPA]]></category>
		<category><![CDATA[Wizards]]></category>
		<guid isPermaLink="false">https://library.nagios.com/?p=62383</guid>

					<description><![CDATA[Nagios XI includes a Linode wizard that enables you to easily connect to your Linode account and quickly configure monitoring of instance uptime, CPU, memory, disk, network traffic, and volume status. You can also refer to this documentation for full details: Here is a direct link to the PDF as well: Monitoring Linode Instances with [&#8230;]]]></description>
										<content:encoded><![CDATA[
<p>Nagios XI includes a <strong>Linode</strong> wizard that enables you to easily connect to your Linode account and quickly configure monitoring of instance uptime, CPU, memory, disk, network traffic, and volume status.</p>



<p>You can also refer to this documentation for full details:</p>


<div class="wp-block-pdfemb-pdf-embedder-viewer"><a href="https://library.nagios.com/wp-content/uploads/2025/12/Monitoring-Linode-Instances-with-Nagios-XI.pdf" class="pdfemb-viewer" style="" data-width="max" data-height="max" data-toolbar="bottom" data-toolbar-fixed="off">Monitoring-Linode-Instances-with-Nagios-XI</a></div>


<div style="height:45px" aria-hidden="true" class="wp-block-spacer"></div>



<p>Here is a direct link to the PDF as well:</p>



<p><a href="https://assets.nagios.com/downloads/nagiosxi/docs/Monitoring-Linode-Instances-with-Nagios-XI.pdf" target="_blank" rel="noopener">Monitoring Linode Instances with Nagios XI </a></p>
]]></content:encoded>
					
		
		
			</item>
		<item>
		<title>Monitor Hyper-V Effortlessly with Nagios Cross-Platform Agent (NCPA)</title>
		<link>https://library.nagios.com/tutorials/monitor-hyper-v-with-ncpa/</link>
		
		<dc:creator><![CDATA[Ayub Huruse]]></dc:creator>
		<pubDate>Mon, 07 Jul 2025 13:45:00 +0000</pubDate>
				<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[Hyper-V]]></category>
		<category><![CDATA[NCPA]]></category>
		<guid isPermaLink="false">https://library.nagios.com/?p=60487</guid>

					<description><![CDATA[Microsoft Hyper-V powers critical virtual environments, but performance issues can disrupt operations. Nagios XI’s Hyper-V Configuration Wizard, a Premium Feature included with an active support and maintenance subscription, offers many benefits. It simplifies monitoring, letting you track your Hyper-V hosts and virtual machines with ease—no complex configurations or deep technical expertise required. Why Use the [&#8230;]]]></description>
										<content:encoded><![CDATA[
<p>Microsoft Hyper-V powers critical virtual environments, but performance issues can disrupt operations. Nagios XI’s Hyper-V Configuration Wizard, a Premium Feature included with an active support and maintenance subscription, offers many benefits. It simplifies monitoring, letting you track your Hyper-V hosts and virtual machines with ease—no complex configurations or deep technical expertise required.</p>



<h2 class="wp-block-heading">Why Use the Hyper-V Configuration Wizard?</h2>



<p>The Hyper-V Configuration Wizard allows you to track a range of valuable metrics on Hyper-V, such as CPU usage, memory utilization, storage performance, and network activity. Using the Nagios Cross-Platform Agent (NCPA), it delivers real-time insights in just a few clicks.</p>



<ul class="wp-block-list">
<li><strong>Easy Setup</strong>: Launch the wizard from <em>Configure → Configuration Wizards → Hyper-V</em>, input your host’s IP/FQDN and NCPA token, and select metrics.</li>



<li><strong>Actionable Insights</strong>: Monitor key performance counters to catch issues before they impact your environment.</li>



<li><strong>Custom Alerts</strong>: Set warning and critical thresholds tailored to your needs.</li>



<li><strong>Scalable Monitoring</strong>: Manage multiple Hyper-V hosts and VMs from a single, intuitive dashboard.</li>
</ul>



<h2 class="wp-block-heading">Metrics You Can Monitor</h2>



<p>The Hyper-V Configuration Wizard allows you to track a range of valuable metrics on Hyper-V, such as:</p>



<ul class="wp-block-list">
<li><strong>CPU</strong>: Logical/Virtual Processor Run Time, Context Switches/sec</li>



<li><strong>Memory</strong>: Dynamic Memory Balancer, Available Bytes</li>



<li><strong>Network</strong>: Interface Bytes Total/sec, Virtual Switch Bandwidth</li>



<li><strong>Local Storage</strong>: Avg. Disk sec/Read/Write, Free Megabytes</li>



<li><strong>Virtual Storage</strong>: VM Read/Write Bytes/sec, Operations/sec</li>



<li><strong>High-Availability Storage</strong>: Cluster Shared Volume Latency, I/O Requests/sec</li>
</ul>



<p>Select your desired metrics thresholds in the wizard.</p>



<h2 class="wp-block-heading">Getting Started</h2>



<p>1. <strong>Install NCPA</strong>: Download and install the NCPA agent on your Hyper-V host (<a href="https://assets.nagios.com/downloads/ncpa/docs/Installing-NCPA.pdf" target="_blank" rel="noreferrer noopener">NCPA Installation Instructions</a>).</p>



<p>2. <strong>Launch the Wizard</strong>: Navigate to <em>Configure → Configuration Wizards → Hyper-V</em> in Nagios XI.</p>



<figure class="wp-block-image size-full"><img fetchpriority="high" decoding="async" width="712" height="587" src="https://library.nagios.com/wp-content/uploads/2025/07/THRESHOLD.png" alt=" performance counters" class="wp-image-60492" title="Monitor Hyper-V Effortlessly with Nagios Cross-Platform Agent (NCPA) 1" srcset="https://library.nagios.com/wp-content/uploads/2025/07/THRESHOLD.png 712w, https://library.nagios.com/wp-content/uploads/2025/07/THRESHOLD-300x247.png 300w" sizes="(max-width: 712px) 100vw, 712px" /><figcaption class="wp-element-caption">Metrics</figcaption></figure>



<p>3. <strong>Start Monitoring</strong>: Select metrics, set thresholds, and apply your configuration.</p>



<p>Explore these resources for more details:</p>



<ul class="wp-block-list">
<li><strong>Video Tutorial</strong>: <a href="https://www.youtube.com/watch?v=xe2reR5xV6g" target="_blank" rel="noreferrer noopener">Nagios XI Hyper-V Monitoring Demo</a></li>



<li><strong>Documentation</strong>: <a href="https://assets.nagios.com/downloads/nagiosxi/docs/Monitoring-Hyper-V-with-Nagios-XI.pdf" target="_blank" rel="noreferrer noopener">How To Monitor Hyper-V With Nagios XI 2024</a></li>



<li><strong>Support</strong>: <a href="https://support.nagios.com/forum" target="_blank" rel="noreferrer noopener">Nagios Support Forum</a> and <a href="https://support.nagios.com/kb" target="_blank" rel="noreferrer noopener">Knowledge Base</a></li>
</ul>



<h2 class="wp-block-heading">Stay Ahead with Nagios XI</h2>



<p>With the Hyper-V Configuration Wizard, you can monitor your Hyper-V environment effortlessly, ensuring optimal performance and reliability. Start today and keep your virtual infrastructure running smoothly!</p>



<p></p>
]]></content:encoded>
					
		
		
			</item>
		<item>
		<title>The NCPA Web GUI: A Key Agent Advantage</title>
		<link>https://library.nagios.com/techtips/the-ncpa-web-gui-an-agent-advantage/</link>
		
		<dc:creator><![CDATA[Shamas Demoret]]></dc:creator>
		<pubDate>Fri, 16 May 2025 13:45:00 +0000</pubDate>
				<category><![CDATA[Techtips]]></category>
		<category><![CDATA[Application & Server Monitoring]]></category>
		<category><![CDATA[NCPA]]></category>
		<category><![CDATA[NCPA API]]></category>
		<category><![CDATA[Reports]]></category>
		<guid isPermaLink="false">https://library.nagios.com/?p=56379</guid>

					<description><![CDATA[Let's take a tour of the NCPA web GUI, which puts real-time graphs, status information, and check API interaction capabilities at your fingertips. ]]></description>
										<content:encoded><![CDATA[
<p>NCPA (the Nagios Cross Platform Agent) is an awesome option for monitoring Windows, Linux, and OSX systems. Not only can it run on multiple OSs and architectures and be used for both active and passive checks, but it also includes the NCPA web GUI, a user interface packed with useful capabilities to help you keep your monitored hosts up and running. In this article, we’ll take a quick tour of the sections and features of the GUI.</p>



<h2 class="wp-block-heading">Getting to the NCPA Web GUI</h2>



<p>To access the GUI, simply install NCPA on a system, then navigate to the following in your browser, replacing <code>&lt;NCPA.Host.IP.Address&gt;</code> with the IP address of the host: </p>



<p><code>https://&lt;NCPA.Host.IP.Address&gt;:5693</code></p>



<p>You may need to add a security exception in your browser since NCPA is using a self-signed certificate to provide encrypted HTTPS access to the GUI. </p>



<h2 class="wp-block-heading">Exploring the GUI </h2>



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



<p>The GUI starts out simple enough with the main Dashboard. This page shows NCPA agent information, monitored system information, and an overview of the total checks run by NCPA over the previous 30 days.</p>



<figure class="wp-block-image size-large"><a href="https://library.nagios.com/wp-content/uploads/2025/05/NCPA-Home.png"><img decoding="async" width="1024" height="550" src="https://library.nagios.com/wp-content/uploads/2025/05/NCPA-Home-1024x550.png" alt="Screenshot of the home Dashboard in the NCPA web interface, showing check statistics, agent version, and system information." class="wp-image-56389" title="The NCPA Web GUI: A Key Agent Advantage 2" srcset="https://library.nagios.com/wp-content/uploads/2025/05/NCPA-Home-1024x550.png 1024w, https://library.nagios.com/wp-content/uploads/2025/05/NCPA-Home-300x161.png 300w, https://library.nagios.com/wp-content/uploads/2025/05/NCPA-Home-768x412.png 768w, https://library.nagios.com/wp-content/uploads/2025/05/NCPA-Home.png 1380w" sizes="(max-width: 1024px) 100vw, 1024px" /></a><figcaption class="wp-element-caption">The NCPA web interface home Dashboard. </figcaption></figure>



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



<p>In this menu, you can review and check results for the last 30 days. This data is stored automatically by NCPA on the host and can be filtered by Status and Type.</p>



<figure class="wp-block-image size-large"><a href="https://library.nagios.com/wp-content/uploads/2025/05/NCPA-Checks.png"><img decoding="async" width="1024" height="551" src="https://library.nagios.com/wp-content/uploads/2025/05/NCPA-Checks-1024x551.png" alt="Screenshot of the Checks menu in the NCPA web GUI, showing a table of check results." class="wp-image-56437" title="The NCPA Web GUI: A Key Agent Advantage 3" srcset="https://library.nagios.com/wp-content/uploads/2025/05/NCPA-Checks-1024x551.png 1024w, https://library.nagios.com/wp-content/uploads/2025/05/NCPA-Checks-300x162.png 300w, https://library.nagios.com/wp-content/uploads/2025/05/NCPA-Checks-768x414.png 768w, https://library.nagios.com/wp-content/uploads/2025/05/NCPA-Checks.png 1378w" sizes="(max-width: 1024px) 100vw, 1024px" /></a><figcaption class="wp-element-caption">View 30 days of check results in the Checks section. </figcaption></figure>



<h3 class="wp-block-heading">Live Data</h3>



<p>The Live Data section provides a real-time look a CPU, Memory, Disk, and Interface Graphs on the Stats Graphs page, as well as a Top Processes section.</p>



<p><strong>Stats Graphs</strong></p>



<figure class="wp-block-image size-large"><a href="https://library.nagios.com/wp-content/uploads/2025/05/NCPA-Live3.png"><img loading="lazy" decoding="async" width="1024" height="555" src="https://library.nagios.com/wp-content/uploads/2025/05/NCPA-Live3-1024x555.png" alt="A screenshot of the Live Data section of the NCPA web GUI, showing realtime bandwidth graps of the ens33 interface on the target host." class="wp-image-56436" title="The NCPA Web GUI: A Key Agent Advantage 4" srcset="https://library.nagios.com/wp-content/uploads/2025/05/NCPA-Live3-1024x555.png 1024w, https://library.nagios.com/wp-content/uploads/2025/05/NCPA-Live3-300x163.png 300w, https://library.nagios.com/wp-content/uploads/2025/05/NCPA-Live3-768x416.png 768w, https://library.nagios.com/wp-content/uploads/2025/05/NCPA-Live3.png 1378w" sizes="(max-width: 1024px) 100vw, 1024px" /></a><figcaption class="wp-element-caption">Real-time bandwidth graphs in the Live Data section.</figcaption></figure>



<p><strong>Top Processes</strong></p>



<p>This section of Live Data provides a way to see process CPU and memory usage in real time. You can choose to highlight the name of a specific process in the results and define Warning and Critical thresholds to color-code those processes that exceed your defined limits.</p>



<figure class="wp-block-image size-large"><a href="https://library.nagios.com/wp-content/uploads/2025/05/NCPA-Top-Processes.png"><img loading="lazy" decoding="async" width="1024" height="555" src="https://library.nagios.com/wp-content/uploads/2025/05/NCPA-Top-Processes-1024x555.png" alt="Screenshot of the Live Data &gt; Top Processes page in the NCPA web GUI, showing the processes using the most CPU and Memory, colored red and yellow based on user-defined thresholds." class="wp-image-56439" title="The NCPA Web GUI: A Key Agent Advantage 5" srcset="https://library.nagios.com/wp-content/uploads/2025/05/NCPA-Top-Processes-1024x555.png 1024w, https://library.nagios.com/wp-content/uploads/2025/05/NCPA-Top-Processes-300x163.png 300w, https://library.nagios.com/wp-content/uploads/2025/05/NCPA-Top-Processes-768x416.png 768w, https://library.nagios.com/wp-content/uploads/2025/05/NCPA-Top-Processes.png 1377w" sizes="(max-width: 1024px) 100vw, 1024px" /></a><figcaption class="wp-element-caption">See what&#8217;s using the most resources with Top Processes. </figcaption></figure>



<h3 class="wp-block-heading">Check API</h3>



<p>One of the most powerful features of NCPA is the check API, which can be explored and tested in the web GUI. </p>



<p>A great aspect of the NCPA API is that it works the same way across platforms, so the way you&#8217;ll write check commands to poll API endpoints is uniform whether the host you&#8217;re checking is Windows, Linux, or OSX.</p>



<p>In the API section of the NCPA web GUI, you can dig into all of the endpoints and run checks using them to not only review the JSON output but also to run them as Nagios checks. It&#8217;s even possible to generate a full check command for the endpoint to use in Nagios XI or Nagios Core by selecting the options highlighted in green here:</p>



<figure class="wp-block-image size-large"><a href="https://library.nagios.com/wp-content/uploads/2025/05/NCPA-API1.png"><img loading="lazy" decoding="async" width="1024" height="570" src="https://library.nagios.com/wp-content/uploads/2025/05/NCPA-API1-1024x570.png" alt="Screenshot of the API section of the NCPA web GUI, with the &#039;run as a Nagios check&#039; and &#039;as active check using check_ncpa.py&#039; highlighted by green rectangles." class="wp-image-56481" title="The NCPA Web GUI: A Key Agent Advantage 6" srcset="https://library.nagios.com/wp-content/uploads/2025/05/NCPA-API1-1024x570.png 1024w, https://library.nagios.com/wp-content/uploads/2025/05/NCPA-API1-300x167.png 300w, https://library.nagios.com/wp-content/uploads/2025/05/NCPA-API1-768x428.png 768w, https://library.nagios.com/wp-content/uploads/2025/05/NCPA-API1.png 1530w" sizes="(max-width: 1024px) 100vw, 1024px" /></a><figcaption class="wp-element-caption">It&#8217;s easy to explore the NCPA API in the GUI. </figcaption></figure>



<figure class="wp-block-image size-large"><a href="https://library.nagios.com/wp-content/uploads/2025/05/NCPA-API2.png"><img loading="lazy" decoding="async" width="1024" height="423" src="https://library.nagios.com/wp-content/uploads/2025/05/NCPA-API2-1024x423.png" alt="Screenshot of an active check example generated by the NCPA UI, viewed in the API menu of the GUI. It shows the full check command to query the &#039;cpu/percent&#039; API endpoint." class="wp-image-56482" title="The NCPA Web GUI: A Key Agent Advantage 7" srcset="https://library.nagios.com/wp-content/uploads/2025/05/NCPA-API2-1024x423.png 1024w, https://library.nagios.com/wp-content/uploads/2025/05/NCPA-API2-300x124.png 300w, https://library.nagios.com/wp-content/uploads/2025/05/NCPA-API2-768x317.png 768w, https://library.nagios.com/wp-content/uploads/2025/05/NCPA-API2.png 1322w" sizes="(max-width: 1024px) 100vw, 1024px" /></a><figcaption class="wp-element-caption">Core users especially love the ability to generate commands in the GUI. </figcaption></figure>



<p>You can learn more about the NCPA API in this section of the NCPA v3 documentation:</p>



<p><a href="https://www.nagios.org/ncpa/help.php#api-overview" target="_blank" rel="noopener">NCPA API Overview</a></p>



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



<p>Log Server comes pre-loaded with NCPA, bundled with a couple of great plugins to help you monitor JVM heap and cluster status (you&#8217;ll see these in the Plugins section at the bottom of Step 2 of the NCPA Wizard in Nagios XI).</p>



<p>You can access the NCPA web GUI, view and update your NCPA token, and start/stop/restart the service in the Admin > Monitor Backend menu.</p>



<figure class="wp-block-image size-full"><a href="https://library.nagios.com/wp-content/uploads/2025/05/NLS-NCPA.png"><img loading="lazy" decoding="async" width="942" height="702" src="https://library.nagios.com/wp-content/uploads/2025/05/NLS-NCPA.png" alt="A screenshot of the Admin &gt; NCPA menu in Nagios Log Server, showing the options to set your token, open the NCPA Web UI, and Restart/Stop/Start the agent service." class="wp-image-56388" title="The NCPA Web GUI: A Key Agent Advantage 8" srcset="https://library.nagios.com/wp-content/uploads/2025/05/NLS-NCPA.png 942w, https://library.nagios.com/wp-content/uploads/2025/05/NLS-NCPA-300x224.png 300w, https://library.nagios.com/wp-content/uploads/2025/05/NLS-NCPA-768x572.png 768w" sizes="(max-width: 942px) 100vw, 942px" /></a><figcaption class="wp-element-caption">Easy NCPA web interface access and agent management are built right into Log Server.</figcaption></figure>



<p>If you&#8217;d like to learn more about monitoring your Log Server cluster with NCPA, take a look at this article:</p>



<figure class="wp-block-embed is-type-wp-embed is-provider-nagios-library wp-block-embed-nagios-library"><div class="wp-block-embed__wrapper">
<blockquote class="wp-embedded-content" data-secret="ThVRnutTOA"><a href="https://library.nagios.com/monitoring/ncpa-supercharge-your-log-server-monitoring/">NCPA: Supercharge Your Log Server Monitoring</a></blockquote><iframe class="wp-embedded-content" sandbox="allow-scripts" security="restricted"  title="&#8220;NCPA: Supercharge Your Log Server Monitoring&#8221; &#8212; Nagios Library" src="https://library.nagios.com/monitoring/ncpa-supercharge-your-log-server-monitoring/embed/#?secret=OGPACdhpaw#?secret=ThVRnutTOA" data-secret="ThVRnutTOA" width="600" height="338" frameborder="0" marginwidth="0" marginheight="0" scrolling="no"></iframe>
</div></figure>



<h2 class="wp-block-heading">Nagios Network Analyzer Integration</h2>



<p>Although not specifically an NCPA Web GUI feature, it&#8217;s worth noting that <a href="https://library.nagios.com/solutions/network-analyzer-pro-with-the-flow/" target="_blank" rel="noreferrer noopener">Network Analyzer</a> uses NCPA for its Route function, using data collected by NCPA with the <code>check_traceroute.py</code> plugin:</p>



<figure class="wp-block-image size-large"><a href="https://library.nagios.com/wp-content/uploads/2025/04/NNA-hops2.png"><img loading="lazy" decoding="async" width="1024" height="543" src="https://library.nagios.com/wp-content/uploads/2025/04/NNA-hops2-1024x543.png" alt="The Route menu in Nagios Network Analyzer, showing the hops between a local server and a third-party vendor site." class="wp-image-54601" title="The NCPA Web GUI: A Key Agent Advantage 9" srcset="https://library.nagios.com/wp-content/uploads/2025/04/NNA-hops2-1024x543.png 1024w, https://library.nagios.com/wp-content/uploads/2025/04/NNA-hops2-300x159.png 300w, https://library.nagios.com/wp-content/uploads/2025/04/NNA-hops2-768x407.png 768w, https://library.nagios.com/wp-content/uploads/2025/04/NNA-hops2-1536x815.png 1536w, https://library.nagios.com/wp-content/uploads/2025/04/NNA-hops2.png 1701w" sizes="(max-width: 1024px) 100vw, 1024px" /></a><figcaption class="wp-element-caption">View hops easily with the Route tool in Network Analyzer. </figcaption></figure>



<p>You can learn more about setting up route monitoring here:</p>



<p><a href="https://assets.nagios.com/downloads/nagios-network-analyzer/docs/Route-Monitoring-in-NNA-2024.pdf" target="_blank" rel="noreferrer noopener">How to Set Up Route Monitoring in Nagios Network Analyzer</a></p>



<h2 class="wp-block-heading"><strong>Getting Started with NCPA </strong></h2>



<p>If you&#8217;re not already using NCPA, you can find details on installation, NCPA wizard usage, and passive check configuration here:</p>



<p><a href="https://assets.nagios.com/downloads/nagiosxi/guides/administrator/agents.php#ncpa" target="_blank" rel="noopener">Nagios XI Admin Guide &#8211; NCPA</a></p>
]]></content:encoded>
					
		
		
			</item>
		<item>
		<title>Nagios XI Helps Rely IT Stay 5 Steps Ahead</title>
		<link>https://library.nagios.com/success-stories/rely-it-stays-ahead-nagios-xi/</link>
		
		<dc:creator><![CDATA[The Nagios Team]]></dc:creator>
		<pubDate>Fri, 11 Apr 2025 21:50:14 +0000</pubDate>
				<category><![CDATA[Success Stories]]></category>
		<category><![CDATA[NCPA]]></category>
		<category><![CDATA[Network Monitoring]]></category>
		<guid isPermaLink="false">https://library.nagios.com/?p=55141</guid>

					<description><![CDATA[A Case Study in Proactive IT Monitoring and Customer-Centric Service When it comes to delivering proactive IT services, few companies walk the walk like Sweden-based Rely IT. From managing entire office networks to building custom software for industry-specific needs, Rely IT has carved out a reputation for being reliable, responsive, and forward-thinking. But like many [&#8230;]]]></description>
										<content:encoded><![CDATA[
<h2 class="wp-block-heading">A Case Study in Proactive IT Monitoring and Customer-Centric Service</h2>



<p>When it comes to delivering proactive IT services, few companies walk the walk like Sweden-based <strong>Rely IT</strong>. From managing entire office networks to building custom software for industry-specific needs, Rely IT has carved out a reputation for being reliable, responsive, and forward-thinking. But like many fast-growing service providers, they eventually hit a wall with their legacy monitoring tools — tools that were too costly to scale and too rigid to adapt to evolving client expectations.</p>



<p>So how did they overcome these challenges and turn IT monitoring into a competitive advantage? The answer lies in a strategic shift to <strong>Nagios XI</strong>.</p>



<h2 class="wp-block-heading">Who Is Rely IT?</h2>



<p><strong>Rely IT</strong> is a Swedish consultancy and managed IT service provider that supports businesses across Europe with a full suite of IT services. Their approach is built around one goal: <strong>letting customers focus on their business, not on IT headaches</strong>. Whether it&#8217;s building out infrastructure, providing support, or developing custom tools, their team handles it all.</p>



<p>But great service requires great tools behind the scenes. As customer demands increased and monitoring needs became more complex, Rely IT knew they had to make a change.</p>



<h2 class="wp-block-heading">The Challenge: Outdated Tools, High Costs, and Scalability Issues</h2>



<p>Like many growing IT providers, Rely IT started with a monitoring platform that worked fine at first — until it didn’t. The tool became a bottleneck: expensive to scale, difficult to configure, and lacking the flexibility needed for diverse client environments.</p>



<blockquote class="wp-block-quote is-layout-flow wp-block-quote-is-layout-flow">
<p><em>“We were using a solution that was expensive and clunky to scale,”</em> said <strong>Kenneth Hagstrom</strong>, co-founder of Rely IT. <em>“I’d been aware of Nagios for nearly 20 years, and we decided it was time to make the switch.”</em></p>
</blockquote>



<p>Their search led them to a flexible, powerful solution: <strong>Nagios XI</strong>, backed by the open-source strength of <strong>Nagios Core</strong>.</p>



<h2 class="wp-block-heading">The Solution: A Tailored Approach with Nagios Core and Nagios XI</h2>



<p>One of the things that made Nagios the perfect fit for Rely IT was its <strong>scalability and modular design</strong>. Rather than forcing every customer into the same toolset, Rely IT could tailor their approach:</p>



<ul class="wp-block-list">
<li>For smaller clients or simple environments, <strong>Nagios Core</strong> provided lightweight, open-source monitoring with essential features and email alerts.</li>



<li>For complex environments — including Rely IT’s internal infrastructure — they rolled out <strong>Nagios XI</strong>, the full-featured commercial offering.</li>
</ul>



<blockquote class="wp-block-quote is-layout-flow wp-block-quote-is-layout-flow">
<p><em>“We use Nagios Core where customers need something basic and reliable,”</em> Hagstrom explained. <em>“But Nagios XI is where the real magic happens. It’s robust, flexible, and gives us everything we need to deliver high-quality service at scale.”</em></p>
</blockquote>



<h2 class="wp-block-heading">What Makes Nagios XI So Powerful?</h2>



<p>Nagios XI takes the trusted foundation of Nagios Core and adds layers of usability and intelligence. For a service provider like Rely IT, this meant:</p>



<ul class="wp-block-list">
<li><strong>Custom dashboards</strong> tailored to each customer’s critical systems</li>



<li><strong>Advanced reporting tools</strong> for insights, audits, and planning</li>



<li><strong>Preconfigured wizards</strong> to accelerate deployment</li>



<li><strong>Multi-tenancy support</strong> to manage multiple clients seamlessly</li>



<li><strong>Extensive plugin compatibility</strong> for custom checks</li>



<li><strong>An open API</strong> for automation and third-party integrations</li>
</ul>



<p>These features empower Rely IT’s technicians to move faster and troubleshoot smarter. But perhaps more importantly, it gives their customers peace of mind — knowing problems will be spotted before they disrupt business.</p>



<h2 class="wp-block-heading">Real-World Impact: Keeping Sweden’s Ferries Running Smoothly</h2>



<p>One of Rely IT’s most impactful success stories involves a major <strong>Swedish ferry company</strong> that moves over <strong>30,000 passengers per day</strong>. Rely IT uses Nagios XI to monitor every facet of the operation, including:</p>



<ul class="wp-block-list">
<li>Paper levels in ticketing machines</li>



<li>Camera systems for license plate recognition</li>



<li>Payment systems and back-end processing</li>
</ul>



<blockquote class="wp-block-quote is-layout-flow wp-block-quote-is-layout-flow">
<p><em>“They rely on us to keep everything running from morning to night,”</em> said Hagstrom. <em>“And we rely on Nagios XI. With the level of visibility we get, we’ve saved them money, prevented outages, and helped their IT stay in complete control.”</em></p>
</blockquote>



<figure class="wp-block-image size-large is-style-default"><a href="https://library.nagios.com/wp-content/uploads/2025/04/image-2.png"><img loading="lazy" decoding="async" width="1024" height="374" src="https://library.nagios.com/wp-content/uploads/2025/04/image-2-1024x374.png" alt="image 2" class="wp-image-55146" title="Nagios XI Helps Rely IT Stay 5 Steps Ahead 10" srcset="https://library.nagios.com/wp-content/uploads/2025/04/image-2-1024x374.png 1024w, https://library.nagios.com/wp-content/uploads/2025/04/image-2-300x109.png 300w, https://library.nagios.com/wp-content/uploads/2025/04/image-2-768x280.png 768w, https://library.nagios.com/wp-content/uploads/2025/04/image-2.png 1291w" sizes="(max-width: 1024px) 100vw, 1024px" /></a></figure>



<h2 class="wp-block-heading">Faster Deployment with the Nagios Cross-Platform Agent (NCPA)</h2>



<p>Another game-changer for Rely IT was the <strong><a href="https://www.nagios.org/projects/ncpa/" target="_blank" rel="noopener">Nagios Cross-Platform Agent (NCPA)</a></strong> — a lightweight agent that works across Windows, Linux, and macOS. It simplifies setup, enables remote checks, and allows even non-developers to create useful monitoring configurations.</p>



<blockquote class="wp-block-quote is-layout-flow wp-block-quote-is-layout-flow">
<p><em>“I’m not a coder, but even I can create solid plugins and examples with NCPA,”</em> Hagstrom noted. <em>“It’s made onboarding new clients a breeze. I wish we had adopted it earlier.”</em></p>
</blockquote>



<h2 class="wp-block-heading">The Results: Lower Costs, Happier Clients, and Proactive Service</h2>



<p>Since adopting Nagios XI, Rely IT has seen improvements across the board:</p>



<ul class="wp-block-list">
<li><strong>Reduced monitoring costs</strong> through automation and reusable configurations</li>



<li><strong>Faster setup times</strong> and onboarding for new clients</li>



<li><strong>Deeper reporting</strong> that helps customers make informed decisions</li>



<li><strong>Proactive service</strong> that prevents downtime before users notice issues</li>
</ul>



<blockquote class="wp-block-quote is-layout-flow wp-block-quote-is-layout-flow">
<p><em>“We’re the ones calling the customer to say, ‘Hey, your internet is down’ — before they even realize it,”</em> said Hagstrom. <em>“That kind of responsiveness has become our brand, and Nagios is a huge part of that.”</em></p>
</blockquote>



<h2 class="wp-block-heading">Why Nagios XI Is a Smart Move for IT Providers</h2>



<p>For IT teams and MSPs looking to deliver more value without ballooning costs, Nagios XI offers a compelling path forward. Its balance of power, flexibility, and ease of use makes it ideal for environments where <strong>uptime, insight, and client satisfaction</strong> are non-negotiable.</p>



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



<h2 class="wp-block-heading">Ready to Modernize Your Monitoring?</h2>



<p>If you’re tired of rigid tools that cost too much and deliver too little, follow Rely IT’s lead.</p>



<p><strong>Explore how Nagios XI can help you deliver smarter, faster, and more proactive IT services</strong>: <a href="https://www.nagios.com/products/nagios-xi/" target="_blank" rel="noopener">Discover Nagios XI</a></p>



<p>To learn about more ways Nagios can solve real life problems, check out our other <a href="https://library.nagios.com/success-stories/" target="_blank" rel="noreferrer noopener">Nagios Success Stories</a></p>



<p></p>
]]></content:encoded>
					
		
		
			</item>
		<item>
		<title>NCPA: Supercharge Your Log Server Monitoring</title>
		<link>https://library.nagios.com/monitoring/ncpa-supercharge-your-log-server-monitoring/</link>
		
		<dc:creator><![CDATA[Shamas Demoret]]></dc:creator>
		<pubDate>Thu, 03 Apr 2025 15:48:23 +0000</pubDate>
				<category><![CDATA[Monitoring]]></category>
		<category><![CDATA[Techtips]]></category>
		<category><![CDATA[Application & Server Monitoring]]></category>
		<category><![CDATA[NCPA]]></category>
		<guid isPermaLink="false">https://library.nagios.com/?p=54120</guid>

					<description><![CDATA[Explore how you can use NCPA (the Nagios Cross Platform Agent) to ensure that your Nagios Log Server instances and cluster are running smoothly.]]></description>
										<content:encoded><![CDATA[
<p>In this article, we&#8217;ll explore how you can use the Nagios Cross-Platform Agent (NCPA) to ensure that your Nagios Log Server instances and cluster are running smoothly. Using NCPA will enable you to check both standard and context-driven performance and status details on your Log Server deployment.</p>



<h2 class="wp-block-heading">Getting Started the Easy Way</h2>



<p>The great thing about using NCPA to monitor your Log Server instances is that it&#8217;s already built in. You can navigate to <strong>Admin > Management > Monitor Backend</strong> to view the details:</p>



<figure class="wp-block-image size-large is-resized"><a href="https://library.nagios.com/wp-content/uploads/2025/04/NCPA-menu.png"><img loading="lazy" decoding="async" width="1024" height="770" src="https://library.nagios.com/wp-content/uploads/2025/04/NCPA-menu-1024x770.png" alt="A screenshot of the NCPA menu in Nagios Log Server." class="wp-image-54125" style="width:638px;height:auto" title="NCPA: Supercharge Your Log Server Monitoring 11" srcset="https://library.nagios.com/wp-content/uploads/2025/04/NCPA-menu-1024x770.png 1024w, https://library.nagios.com/wp-content/uploads/2025/04/NCPA-menu-300x226.png 300w, https://library.nagios.com/wp-content/uploads/2025/04/NCPA-menu-768x577.png 768w, https://library.nagios.com/wp-content/uploads/2025/04/NCPA-menu.png 1221w" sizes="(max-width: 1024px) 100vw, 1024px" /></a><figcaption class="wp-element-caption">NCPA details in Log Server.</figcaption></figure>



<p>Here you can view and modify your NCPA token, check the status of NCPA on each instance, start/stop/restart NCPA on them, and quickly access the NCPA web interface.</p>



<p>Clicking the <strong>Open NCPA Interface</strong> button will bring you to the agent Web UI, where you can view live data graphs of CPU, memory, disk, and interface usage, along with top process details. Here you can also review status history and leverage the check API.</p>



<h2 class="wp-block-heading">Special OpenSearch Plugins</h2>



<p>The <a href="https://assets.nagios.com/downloads/nagiosxi/docs/Monitoring-Devices-using-NCPA-2024.pdf" target="_blank" rel="noreferrer noopener">NCPA Monitoring Wizard</a> in Nagios XI will allow you to quickly monitor a variety of key metrics on your Log Server instances. This ensures that key resources, such as CPU and drive space, are not being overused, and it verifies that essential services like OpenSearch and Logstash are running. One metric that can be a little tricky with Log Server is memory usage, and that&#8217;s where NCPA shines. At the bottom of the NCPA Wizard, you&#8217;ll notice that two special plugins are bundled with the agent for you: <code>check_os_jvm_heap.sh</code> and <code>check_os_cluster_status.sh</code>.</p>



<p>OpenSearch by design pulls aside and places in reserve as much memory as it reasonably can on each instance, and whether it&#8217;s using it or not, this will show as memory usage when viewed via the standard NCPA memory check. That&#8217;s where <code>check_os_jvm_heap.sh</code> comes in. This special plugin will show you how much of the reserved memory is actually being used, serving as a much more useful perspective on memory usage. In this screenshot from a Nagios XI dashboard, you can see that although raw memory usage is on the high side, JVM heap usage is within reasonable boundaries:</p>



<figure class="wp-block-image size-full"><a href="https://library.nagios.com/wp-content/uploads/2025/04/jvm-vs-mem.png"><img loading="lazy" decoding="async" width="452" height="335" src="https://library.nagios.com/wp-content/uploads/2025/04/jvm-vs-mem.png" alt="Closeup of a section from a Nagios XI dashboard showing the difference between JVM heap usage and raw memory usage on two Nagios Log Server instances." class="wp-image-54167" title="NCPA: Supercharge Your Log Server Monitoring 12" srcset="https://library.nagios.com/wp-content/uploads/2025/04/jvm-vs-mem.png 452w, https://library.nagios.com/wp-content/uploads/2025/04/jvm-vs-mem-300x222.png 300w" sizes="(max-width: 452px) 100vw, 452px" /></a><figcaption class="wp-element-caption">JVM heap usage is fine, despite raw memory showing high. </figcaption></figure>



<p>The <code>check_os_cluster_status.sh</code> Plugin also adds context to your monitoring by providing insight into the state of your Log Server cluster as a whole. If all instances are operational, this will show as Green/OK. If one or more instances have failed, but at least one remains operational, it will show as Yellow/Warning. Although Log Server is still functional, you no longer have clustered redundancy. Note that this mirrors the status shown in the <strong>Cluster Health</strong> section of Log Server&#8217;s <strong>Admin > Cluster Status</strong> menu. Also, note that in a single instance setup, this will always show as Yellow. To achieve Green status, simply add at least one additional instance to your setup.</p>



<h2 class="wp-block-heading">Advanced Monitoring</h2>



<p>Nagios Business Process Intelligence (BPI) can be used to further enhance your Log Server cluster monitoring. BPI enables you to combine all of the instances into a logical group that will alert you intelligently based not just on individual instance health but the status and functionality of the cluster as a whole.</p>



<p>Here&#8217;s an article that provides a detailed example of this approach, which involves nesting groups representing the status of each instance under the umbrella of a group showing the overall operational status of the cluster:</p>



<p><a href="https://library.nagios.com/techtips/nagios-xi-bpi-unlock-actionable-insights-for-it-monitoring-and-optimization/" target="_blank" rel="noreferrer noopener">Nagios XI BPI: Actionable Insights for IT Monitoring and Optimization</a></p>



<p>By harnessing NCPA to monitor your Log Server cluster with Nagios XI, and especially when combined with the power of BPI, you&#8217;ll have everything you need to ensure the peak performance of your instances and cluster. </p>



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



<p><a href="https://assets.nagios.com/downloads/nagios-log-server/guides/administrator/" target="_blank" rel="noreferrer noopener">Nagios Log Server Admin Guide</a></p>



<p><a href="https://assets.nagios.com/downloads/nagiosxi/guides/administrator/" target="_blank" rel="noreferrer noopener">Nagios XI Admin Guide</a></p>



<p><a href="https://www.nagios.org/ncpa/help.php" target="_blank" rel="noreferrer noopener">NCPA Help Reference</a></p>
]]></content:encoded>
					
		
		
			</item>
		<item>
		<title>Monitoring Pop!_OS 24.04 LTS with NCPA in Nagios XI: A Comprehensive Guide</title>
		<link>https://library.nagios.com/documentation/monitoring-pop_os-24-04-lts-with-ncpa-in-nagios-xi-a-comprehensive-guide/</link>
		
		<dc:creator><![CDATA[Ayoub Louragli]]></dc:creator>
		<pubDate>Mon, 31 Mar 2025 21:56:39 +0000</pubDate>
				<category><![CDATA[Documentation]]></category>
		<category><![CDATA[Monitoring]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[NCPA]]></category>
		<category><![CDATA[Operating System Monitoring]]></category>
		<category><![CDATA[Pop!_OS]]></category>
		<guid isPermaLink="false">https://library.nagios.com/?p=53922</guid>

					<description><![CDATA[Pop!_OS 24.04 LTS, developed by System76, is a performance-oriented Linux distribution tailored for developers, creators, and professionals. Built upon Ubuntu 24.04, it ensures robust compatibility and security. Monitoring Pop!_OS effectively with Nagios XI using the Nagios Cross-Platform Agent (NCPA) allows proactive tracking of critical metrics such as CPU usage, memory consumption, disk space, and active [&#8230;]]]></description>
										<content:encoded><![CDATA[
<p>Pop!_OS 24.04 LTS, developed by System76, is a performance-oriented Linux distribution tailored for developers, creators, and professionals. Built upon Ubuntu 24.04, it ensures robust compatibility and security. Monitoring Pop!_OS effectively with Nagios XI using the Nagios Cross-Platform Agent (NCPA) allows proactive tracking of critical metrics such as CPU usage, memory consumption, disk space, and active processes. This guide provides a detailed walkthrough for installing and configuring NCPA v3 on Pop!_OS 24.04 and integrating it seamlessly with Nagios XI.</p>



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



<p>Ensure you have:</p>



<ul class="wp-block-list">
<li>A Pop!_OS 24.04 LTS system with sudo privileges</li>



<li>An operational Nagios XI server</li>



<li>Network connectivity between Pop!_OS and Nagios XI (Port 5693 open)</li>



<li>Stable internet access for downloading required packages</li>
</ul>



<h3 class="wp-block-heading"><strong>Step 1: Install NCPA Using DEB Package</strong></h3>



<p>Since Pop!_OS is Ubuntu-based, the DEB package method is recommended:</p>



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



<p>Resolve dependency issues if encountered:</p>



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



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



<p>NCPA requires an authentication token (community string):</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: #D4D4D4">sudo nano /usr/local/ncpa/etc/ncpa.cfg</span></span></code></pre></div>



<p>Modify the line:</p>



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



<p>to a secure, unique token:</p>



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



<p>Save the file and exit (<code>Ctrl+O</code>, <code>Enter</code>, <code>Ctrl+X</code>).</p>



<h3 class="wp-block-heading"><strong>Step 3: Restart NCPA Service</strong></h3>



<p>Apply the new configuration:</p>



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



<p>Ensure the service shows as <code>active (running)</code>.</p>



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



<p>Allow NCPA communication on port 5693:</p>



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



<h3 class="wp-block-heading"><strong>Step 5: Test NCPA Interface</strong></h3>



<p>Open your browser and navigate to:</p>



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



<p>Accept SSL warnings (self-signed certificate). Login using your token (<code><strong>Str0ngT0k3n2025</strong></code>) to access the NCPA dashboard.</p>



<h3 class="wp-block-heading"><strong>Step 6: Integrate Pop!_OS Host into Nagios XI</strong></h3>



<ol class="wp-block-list">
<li>Log into Nagios XI.</li>



<li>Navigate to <strong>Configure &gt; Configuration Wizards</strong>.</li>



<li>Select <strong>NCPA</strong> from the wizard list.</li>



<li>Input the following details:
<ul class="wp-block-list">
<li><strong>Host IP:</strong> Your Pop!_OS machine&#8217;s IP</li>



<li><strong>Token:</strong> <code>Str0ngT0k3n2025</code></li>



<li><strong>Port:</strong> <code>5693</code></li>
</ul>
</li>



<li>Select desired metrics for monitoring (CPU, Memory, Disk, Processes).</li>



<li>Complete the wizard and apply the configuration.</li>
</ol>



<p>Verify the host addition by navigating to <strong>Monitoring &gt; Hosts</strong>.</p>



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



<ul class="wp-block-list">
<li><strong>NCPA not running:</strong></li>
</ul>



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



<ul class="wp-block-list">
<li><strong>Firewall Issues:</strong></li>
</ul>



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



<ul class="wp-block-list">
<li><strong>Token mismatch:</strong></li>
</ul>



<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: #D4D4D4">sudo nano /usr/local/ncpa/etc/ncpa.cfg</span></span></code></pre></div>



<p>Confirm your token matches the Nagios XI configuration.</p>



<ul class="wp-block-list">
<li><strong>Checking logs:</strong></li>
</ul>



<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>cat /usr/local/ncpa/var/log/ncpa.log</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">cat /usr/local/ncpa/var/log/ncpa.log</span></span></code></pre></div>



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



<p>You have successfully configured NCPA on Pop!_OS 24.04 LTS and integrated it with Nagios XI. This setup ensures proactive monitoring and quick troubleshooting of system performance and health issues. For more advanced capabilities, explore passive checks and custom plugins available through the Nagios Knowledgebase and the NCPA documentation.</p>



<p></p>
]]></content:encoded>
					
		
		
			</item>
		<item>
		<title>How to Integrate NCPA for Kali Linux with Nagios XI</title>
		<link>https://library.nagios.com/tutorials/integrate-ncpa-kali-linux-nagios-xi/</link>
		
		<dc:creator><![CDATA[Steven Phan]]></dc:creator>
		<pubDate>Fri, 28 Mar 2025 21:53:24 +0000</pubDate>
				<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[Monitoring]]></category>
		<category><![CDATA[Training]]></category>
		<category><![CDATA[Kali Linux]]></category>
		<category><![CDATA[NCPA]]></category>
		<guid isPermaLink="false">https://library.nagios.com/?p=53577</guid>

					<description><![CDATA[Integrating NCPA (Nagios Cross-Platform Agent) on Kali Linux with Nagios XI allows you to monitor critical system metrics like CPU usage, memory, disk space, and custom scripts. This setup ensures optimal performance and helps identify issues early. Follow this step-by-step guide to configure NCPA on your Kali Linux system for seamless monitoring with Nagios XI. [&#8230;]]]></description>
										<content:encoded><![CDATA[
<p>Integrating NCPA (Nagios Cross-Platform Agent) on Kali Linux with Nagios XI allows you to monitor critical system metrics like CPU usage, memory, disk space, and custom scripts. This setup ensures optimal performance and helps identify issues early. Follow this step-by-step guide to configure NCPA on your Kali Linux system for seamless monitoring with Nagios XI.</p>



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



<p>Key factors before beginning the guide:</p>



<ul class="wp-block-list">
<li>A system running Kali Linux</li>



<li>Nagios XI instance to access the web interface</li>



<li>Root or sudo access for advanced operations</li>



<li>Internet access to download packages</li>
</ul>



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



<p>First, you need to install the NCPA agent on your Kali Linux machine. You can download the NCPA package from the <a href="https://www.nagios.org/projects/ncpa/#download-ncpa-section" target="_blank" rel="noopener">Nagios website</a> and use the <strong>DEB </strong>file to download that is based on Debian.</p>



<figure class="wp-block-image aligncenter size-large"><a href="https://library.nagios.com/wp-content/uploads/2025/03/NCPA-Download-Page-Kali.png"><img loading="lazy" decoding="async" width="1024" height="619" src="https://library.nagios.com/wp-content/uploads/2025/03/NCPA-Download-Page-Kali-1024x619.png" alt="NCPA Download Page Kali" class="wp-image-53590" title="How to Integrate NCPA for Kali Linux with Nagios XI 13" srcset="https://library.nagios.com/wp-content/uploads/2025/03/NCPA-Download-Page-Kali-1024x619.png 1024w, https://library.nagios.com/wp-content/uploads/2025/03/NCPA-Download-Page-Kali-300x181.png 300w, https://library.nagios.com/wp-content/uploads/2025/03/NCPA-Download-Page-Kali-768x464.png 768w, https://library.nagios.com/wp-content/uploads/2025/03/NCPA-Download-Page-Kali-1536x928.png 1536w, https://library.nagios.com/wp-content/uploads/2025/03/NCPA-Download-Page-Kali.png 1718w" sizes="(max-width: 1024px) 100vw, 1024px" /></a><figcaption class="wp-element-caption">NCPA Download Page</figcaption></figure>



<p>Open your terminal and update your packages.</p>



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



<p>Use <strong>wget </strong>and <strong>curl </strong>to put the URL for the NCPA link that you downloaded from the Nagios website.</p>



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



<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>curl -LO https://assets.nagios.com/downloads/ncpa3/ncpa-latest-1.amd64.deb</textarea></pre><svg xmlns="http://www.w3.org/2000/svg" style="width:24px;height:24px" fill="none" viewBox="0 0 24 24" stroke="currentColor" stroke-width="2"><path class="with-check" stroke-linecap="round" stroke-linejoin="round" d="M4.5 12.75l6 6 9-13.5"></path><path class="without-check" stroke-linecap="round" stroke-linejoin="round" d="M16.5 8.25V6a2.25 2.25 0 00-2.25-2.25H6A2.25 2.25 0 003.75 6v8.25A2.25 2.25 0 006 16.5h2.25m8.25-8.25H18a2.25 2.25 0 012.25 2.25V18A2.25 2.25 0 0118 20.25h-7.5A2.25 2.25 0 018.25 18v-1.5m8.25-8.25h-6a2.25 2.25 0 00-2.25 2.25v6"></path></svg></span><pre class="shiki dark-plus" style="background-color: #1E1E1E" tabindex="0"><code><span class="line"><span style="color: #9CDCFE">curl</span><span style="color: #D4D4D4"> -</span><span style="color: #4FC1FF">LO</span><span style="color: #D4D4D4"> </span><span style="color: #C8C8C8">https</span><span style="color: #D4D4D4">:</span><span style="color: #6A9955">//assets.nagios.com/downloads/ncpa3/ncpa-latest-1.amd64.deb</span></span></code></pre></div>



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



<p>Use the <strong>dpkg </strong>command to install the package of the downloaded <strong>DEB </strong>package.</p>



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



<p>If you encounter dependency issues, you might need to run this command.</p>



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



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



<p>After installation, configure the NCPA agent by editing the <strong>ncpa.cfg</strong> file, typically located in <strong>/usr/local/ncpa/etc/</strong>. Set the necessary parameters, such as the token for authentication.</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>Find the line that says <strong>community_string</strong> and set it to a secure token by changing <strong>mytoken</strong> to your unique token under the <strong>[listener]</strong> section.</p>



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



<figure class="wp-block-image aligncenter size-large"><a href="https://library.nagios.com/wp-content/uploads/2025/03/NCPA-File-Editor-Kali.png"><img loading="lazy" decoding="async" width="1024" height="618" src="https://library.nagios.com/wp-content/uploads/2025/03/NCPA-File-Editor-Kali-1024x618.png" alt="NCPA File Editor Kali" class="wp-image-53616" title="How to Integrate NCPA for Kali Linux with Nagios XI 14" srcset="https://library.nagios.com/wp-content/uploads/2025/03/NCPA-File-Editor-Kali-1024x618.png 1024w, https://library.nagios.com/wp-content/uploads/2025/03/NCPA-File-Editor-Kali-300x181.png 300w, https://library.nagios.com/wp-content/uploads/2025/03/NCPA-File-Editor-Kali-768x463.png 768w, https://library.nagios.com/wp-content/uploads/2025/03/NCPA-File-Editor-Kali-1536x927.png 1536w, https://library.nagios.com/wp-content/uploads/2025/03/NCPA-File-Editor-Kali.png 1717w" sizes="(max-width: 1024px) 100vw, 1024px" /></a><figcaption class="wp-element-caption">ncpa.cfg Text Editor</figcaption></figure>



<p>After making this change, save and close the file.</p>



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



<p>Restart and enable the NCPA service to start automatically at boot.</p>



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



<h3 class="wp-block-heading">Step 5: Allow NCPA Port in Firewall</h3>



<p>If your firewall is enabled, you&#8217;ll need to allow traffic on port 5693 using <strong>ufw</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 ufw allow 5693/tcp
sudo ufw reload</textarea></pre><svg xmlns="http://www.w3.org/2000/svg" style="width:24px;height:24px" fill="none" viewBox="0 0 24 24" stroke="currentColor" stroke-width="2"><path class="with-check" stroke-linecap="round" stroke-linejoin="round" d="M4.5 12.75l6 6 9-13.5"></path><path class="without-check" stroke-linecap="round" stroke-linejoin="round" d="M16.5 8.25V6a2.25 2.25 0 00-2.25-2.25H6A2.25 2.25 0 003.75 6v8.25A2.25 2.25 0 006 16.5h2.25m8.25-8.25H18a2.25 2.25 0 012.25 2.25V18A2.25 2.25 0 0118 20.25h-7.5A2.25 2.25 0 018.25 18v-1.5m8.25-8.25h-6a2.25 2.25 0 00-2.25 2.25v6"></path></svg></span><pre class="shiki dark-plus" style="background-color: #1E1E1E" tabindex="0"><code><span class="line"><span style="color: #9CDCFE">sudo</span><span style="color: #D4D4D4"> </span><span style="color: #9CDCFE">ufw</span><span style="color: #D4D4D4"> </span><span style="color: #9CDCFE">allow</span><span style="color: #D4D4D4"> </span><span style="color: #B5CEA8">5693</span><span style="color: #D4D4D4">/</span><span style="color: #9CDCFE">tcp</span></span>
<span class="line"><span style="color: #9CDCFE">sudo</span><span style="color: #D4D4D4"> </span><span style="color: #9CDCFE">ufw</span><span style="color: #D4D4D4"> </span><span style="color: #9CDCFE">reload</span></span></code></pre></div>



<h3 class="wp-block-heading">Step 6: Test NCPA on the Web Interface</h3>



<p>Test the NCPA functionally by visiting the NCPA web interface via a browser to see if it is working. Enter the URL from the address bar and change <strong>NCPA_IP_Address</strong> to your Kali Linux IP address or use <strong>0.0.0.0</strong>. Furthermore, 5693 is the default port number.</p>



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



<p>There will be a security popup when you&#8217;re trying to access the NCPA webpage; you can skip this by clicking <strong>Advanced </strong>and then clicking <strong>Accept the Risk and Continue</strong>.</p>



<figure class="wp-block-image aligncenter size-large"><a href="https://library.nagios.com/wp-content/uploads/2025/03/Warning-Message-Kali.png"><img loading="lazy" decoding="async" width="1024" height="619" src="https://library.nagios.com/wp-content/uploads/2025/03/Warning-Message-Kali-1024x619.png" alt="Warning Message Kali" class="wp-image-53609" title="How to Integrate NCPA for Kali Linux with Nagios XI 15" srcset="https://library.nagios.com/wp-content/uploads/2025/03/Warning-Message-Kali-1024x619.png 1024w, https://library.nagios.com/wp-content/uploads/2025/03/Warning-Message-Kali-300x181.png 300w, https://library.nagios.com/wp-content/uploads/2025/03/Warning-Message-Kali-768x464.png 768w, https://library.nagios.com/wp-content/uploads/2025/03/Warning-Message-Kali-1536x928.png 1536w, https://library.nagios.com/wp-content/uploads/2025/03/Warning-Message-Kali.png 1718w" sizes="(max-width: 1024px) 100vw, 1024px" /></a><figcaption class="wp-element-caption">Security Popup</figcaption></figure>



<p>Login to the NCPA web GUI by using your token you used for your community string.</p>



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



<p>Once you&#8217;ve logged in, you can use the NCPA web interface to check out the various functionalities for monitoring your Kali Linux system.</p>



<figure class="wp-block-image aligncenter size-large"><a href="https://library.nagios.com/wp-content/uploads/2025/03/NCPA-Dashboard-Kali.png"><img loading="lazy" decoding="async" width="1024" height="617" src="https://library.nagios.com/wp-content/uploads/2025/03/NCPA-Dashboard-Kali-1024x617.png" alt="NCPA Dashboard Kali" class="wp-image-53611" title="How to Integrate NCPA for Kali Linux with Nagios XI 17" srcset="https://library.nagios.com/wp-content/uploads/2025/03/NCPA-Dashboard-Kali-1024x617.png 1024w, https://library.nagios.com/wp-content/uploads/2025/03/NCPA-Dashboard-Kali-300x181.png 300w, https://library.nagios.com/wp-content/uploads/2025/03/NCPA-Dashboard-Kali-768x463.png 768w, https://library.nagios.com/wp-content/uploads/2025/03/NCPA-Dashboard-Kali-1536x926.png 1536w, https://library.nagios.com/wp-content/uploads/2025/03/NCPA-Dashboard-Kali.png 1715w" sizes="(max-width: 1024px) 100vw, 1024px" /></a><figcaption class="wp-element-caption">NCPA Dashboard</figcaption></figure>



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



<p>Use your Nagios XI server to log in to the web interface.</p>



<figure class="wp-block-image aligncenter size-large"><a href="https://library.nagios.com/wp-content/uploads/2025/03/Nagios-XI-Login-Kali.png"><img loading="lazy" decoding="async" width="1024" height="620" src="https://library.nagios.com/wp-content/uploads/2025/03/Nagios-XI-Login-Kali-1024x620.png" alt="Nagios XI Login Kali" class="wp-image-53612" title="How to Integrate NCPA for Kali Linux with Nagios XI 18" srcset="https://library.nagios.com/wp-content/uploads/2025/03/Nagios-XI-Login-Kali-1024x620.png 1024w, https://library.nagios.com/wp-content/uploads/2025/03/Nagios-XI-Login-Kali-300x182.png 300w, https://library.nagios.com/wp-content/uploads/2025/03/Nagios-XI-Login-Kali-768x465.png 768w, https://library.nagios.com/wp-content/uploads/2025/03/Nagios-XI-Login-Kali-1536x931.png 1536w, https://library.nagios.com/wp-content/uploads/2025/03/Nagios-XI-Login-Kali.png 1715w" sizes="(max-width: 1024px) 100vw, 1024px" /></a><figcaption class="wp-element-caption">Nagios XI Login</figcaption></figure>



<p>Navigate to the <strong>Configure </strong>tab from the gear icon to the<strong> Configuration Wizards</strong> page and look for <strong>Linux Server</strong> to incorporate the NCPA monitoring on Nagios XI.</p>



<figure class="wp-block-image aligncenter size-large"><a href="https://library.nagios.com/wp-content/uploads/2025/03/Wizard-List-XI-Kali.png"><img loading="lazy" decoding="async" width="1024" height="619" src="https://library.nagios.com/wp-content/uploads/2025/03/Wizard-List-XI-Kali-1024x619.png" alt="Wizard List XI Kali" class="wp-image-53613" title="How to Integrate NCPA for Kali Linux with Nagios XI 19" srcset="https://library.nagios.com/wp-content/uploads/2025/03/Wizard-List-XI-Kali-1024x619.png 1024w, https://library.nagios.com/wp-content/uploads/2025/03/Wizard-List-XI-Kali-300x181.png 300w, https://library.nagios.com/wp-content/uploads/2025/03/Wizard-List-XI-Kali-768x464.png 768w, https://library.nagios.com/wp-content/uploads/2025/03/Wizard-List-XI-Kali-1536x928.png 1536w, https://library.nagios.com/wp-content/uploads/2025/03/Wizard-List-XI-Kali.png 1718w" sizes="(max-width: 1024px) 100vw, 1024px" /></a><figcaption class="wp-element-caption">Wizard List</figcaption></figure>



<p>Configure your NCPA wizard by providing the IP address from your Kali Linux machine and the token for the authentication that you configured earlier.</p>



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



<p>Set up the rest of the configuration by selecting the specific checks you want to perform on your Kali Linux machine, such as CPU usage, memory usage, disk space, and more.</p>



<figure class="wp-block-image aligncenter size-large"><a href="https://library.nagios.com/wp-content/uploads/2025/03/More-Linux-NCPA-Wizard-XI-Kali.png"><img loading="lazy" decoding="async" width="1024" height="619" src="https://library.nagios.com/wp-content/uploads/2025/03/More-Linux-NCPA-Wizard-XI-Kali-1024x619.png" alt="More Linux NCPA Wizard XI Kali" class="wp-image-53632" title="How to Integrate NCPA for Kali Linux with Nagios XI 21" srcset="https://library.nagios.com/wp-content/uploads/2025/03/More-Linux-NCPA-Wizard-XI-Kali-1024x619.png 1024w, https://library.nagios.com/wp-content/uploads/2025/03/More-Linux-NCPA-Wizard-XI-Kali-300x181.png 300w, https://library.nagios.com/wp-content/uploads/2025/03/More-Linux-NCPA-Wizard-XI-Kali-768x465.png 768w, https://library.nagios.com/wp-content/uploads/2025/03/More-Linux-NCPA-Wizard-XI-Kali-1536x929.png 1536w, https://library.nagios.com/wp-content/uploads/2025/03/More-Linux-NCPA-Wizard-XI-Kali.png 1716w" sizes="(max-width: 1024px) 100vw, 1024px" /></a><figcaption class="wp-element-caption">More Linux Configurations</figcaption></figure>



<p>Finish the wizard by applying the configuration and saving the changes to start monitoring your Kali Linux device.</p>



<h3 class="wp-block-heading">Step 8: Verify your Status</h3>



<p>Verify the status of your NCPA monitoring by navigating to the status page on your home dashboard. This will allow you to check if the NCPA agent is running correctly on your Kali Linux machine within Nagios XI.</p>



<figure class="wp-block-image aligncenter size-large"><a href="https://library.nagios.com/wp-content/uploads/2025/03/NCPA-Status-XI-Kali.png"><img loading="lazy" decoding="async" width="1024" height="619" src="https://library.nagios.com/wp-content/uploads/2025/03/NCPA-Status-XI-Kali-1024x619.png" alt="NCPA Status XI Kali" class="wp-image-53631" title="How to Integrate NCPA for Kali Linux with Nagios XI 22" srcset="https://library.nagios.com/wp-content/uploads/2025/03/NCPA-Status-XI-Kali-1024x619.png 1024w, https://library.nagios.com/wp-content/uploads/2025/03/NCPA-Status-XI-Kali-300x181.png 300w, https://library.nagios.com/wp-content/uploads/2025/03/NCPA-Status-XI-Kali-768x465.png 768w, https://library.nagios.com/wp-content/uploads/2025/03/NCPA-Status-XI-Kali-1536x929.png 1536w, https://library.nagios.com/wp-content/uploads/2025/03/NCPA-Status-XI-Kali.png 1716w" sizes="(max-width: 1024px) 100vw, 1024px" /></a><figcaption class="wp-element-caption">Status Page</figcaption></figure>



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



<p>If you have any issues setting up NCPA for Kali Linux, here is a list of what to troubleshoot.</p>



<p><strong>Connection Issues</strong></p>



<ul class="wp-block-list">
<li>Verify that the NCPA service is running on the Kali Linux machine.</li>



<li>Check the firewall settings on both the Kali Linux machine and any network firewalls.</li>



<li>Ensure that the Nagios XI server can reach the Kali Linux machine on port 5693.</li>



<li>Test the connection from the Nagios XI server using telnet 5693.</li>
</ul>



<p><strong>Authentication Issues</strong></p>



<ul class="wp-block-list">
<li>Double-check the password you entered in the Nagios XI wizard.</li>



<li>Verify that the password in /etc/ncpa.cfg matches the password you entered in Nagios XI.</li>
</ul>



<p><strong>Check Errors</strong></p>



<ul class="wp-block-list">
<li>Check the NCPA logs on the Kali Linux machine for any errors (<strong>/var/log/ncpa_listener.log</strong>).</li>



<li>Run the NCPA checks manually on the Kali Linux machine to verify that they are working correctly.</li>



<li>Example:</li>
</ul>



<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>/usr/local/ncpa/plugins/check_ncpa.py -H 127.0.0.1 -t '' -M 'cpu/percent'</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">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">plugins</span><span style="color: #D4D4D4">/</span><span style="color: #9CDCFE">check_ncpa</span><span style="color: #D4D4D4">.</span><span style="color: #9CDCFE">py</span><span style="color: #D4D4D4"> -</span><span style="color: #4FC1FF">H</span><span style="color: #D4D4D4"> </span><span style="color: #B5CEA8">127.0</span><span style="color: #D4D4D4">.</span><span style="color: #B5CEA8">0.1</span><span style="color: #D4D4D4"> -</span><span style="color: #9CDCFE">t</span><span style="color: #D4D4D4"> </span><span style="color: #CE9178">&#39;&#39;</span><span style="color: #D4D4D4"> -</span><span style="color: #4FC1FF">M</span><span style="color: #D4D4D4"> </span><span style="color: #CE9178">&#39;cpu/percent&#39;</span></span></code></pre></div>



<p><strong>Plugin Permissions</strong></p>



<ul class="wp-block-list">
<li>Ensure that the Nagios user on the Nagios XI server has the correct permissions to execute the NCPA plugins.</li>
</ul>



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



<p>By following these instructions, you should be able to successfully integrate NCPA on Kali Linux with Nagios XI, enabling effective system monitoring. This setup will help you track vital metrics, ensure optimal performance, and address potential issues promptly. If you have additional questions or other support-related questions, please visit us at our <a href="https://support.nagios.com/forum/" data-type="link" data-id="https://support.nagios.com/forum/" target="_blank" rel="noopener">Nagios Support Forum</a>, <a href="https://support.nagios.com/kb/" data-type="link" data-id="https://support.nagios.com/kb/" target="_blank" rel="noopener">Nagios Knowledge Base</a>, or <a href="https://library.nagios.com/" target="_blank" data-type="link" data-id="https://library.nagios.com/" rel="noreferrer noopener">Nagios Library</a>.</p>
]]></content:encoded>
					
		
		
			</item>
		<item>
		<title>How to Monitor openSUSE 15 with NCPA in Nagios XI</title>
		<link>https://library.nagios.com/documentation/how-to-monitor-opensuse-15-with-ncpa-in-nagios-xi/</link>
		
		<dc:creator><![CDATA[Ayoub Louragli]]></dc:creator>
		<pubDate>Fri, 28 Mar 2025 19:34:44 +0000</pubDate>
				<category><![CDATA[Documentation]]></category>
		<category><![CDATA[Monitoring]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[NCPA]]></category>
		<category><![CDATA[openSUSE 15]]></category>
		<category><![CDATA[Operating System Monitoring]]></category>
		<guid isPermaLink="false">https://library.nagios.com/?p=53755</guid>

					<description><![CDATA[Monitoring openSUSE 15 with Nagios XI using the NCPA (Nagios Cross Platform Agent) is a simple and powerful method for collecting system metrics like CPU, memory, disk usage, and more. This guide walks through the installation and integration process using accurate instructions from the official NCPA documentation. Step 1: Install NCPA on openSUSE 15 Option [&#8230;]]]></description>
										<content:encoded><![CDATA[
<p>Monitoring openSUSE 15 with Nagios XI using the NCPA (Nagios Cross Platform Agent) is a simple and powerful method for collecting system metrics like CPU, memory, disk usage, and more. This guide walks through the installation and integration process using accurate instructions from the official NCPA documentation.</p>



<h3 class="wp-block-heading"><strong>Step 1: Install NCPA on openSUSE 15</strong></h3>



<h4 class="wp-block-heading"><strong>Option 1: Using Nagios Repository (Recommended)</strong></h4>



<ul class="wp-block-list">
<li>Add the Nagios repository for SUSE 15+ (available from <a href="https://repo.nagios.com/" target="_blank" rel="noreferrer noopener">https://repo.nagios.com</a>).</li>



<li>Run: </li>
</ul>



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



<h4 class="wp-block-heading"><strong>Option 2: Manual RPM Installation</strong></h4>



<ul class="wp-block-list">
<li>Run the following: </li>
</ul>



<div class="wp-block-kevinbatdorf-code-block-pro" data-code-block-pro-font-family="Code-Pro-Geist-Mono" style="font-size:.875rem;font-family:Code-Pro-Geist-Mono,ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace;line-height:1.5rem;--cbp-tab-width:2;tab-size:var(--cbp-tab-width, 2)"><span role="button" tabindex="0" style="color:#D4D4D4;display:none" aria-label="Copy" class="code-block-pro-copy-button"><pre class="code-block-pro-copy-button-pre" aria-hidden="true"><textarea class="code-block-pro-copy-button-textarea" tabindex="-1" aria-hidden="true" readonly>cd /tmp wget https://assets.nagios.com/downloads/ncpa3/ncpa-&lt;version>.rpm sudo rpm -ivh ncpa-&lt;version>.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">cd /tmp wget https://assets.nagios.com/downloads/ncpa3/ncpa-&lt;version&gt;.rpm sudo rpm -ivh ncpa-&lt;version&gt;.rpm</span></span></code></pre></div>



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



<p>1. Edit the configuration file:</p>



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



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



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



<p>3. Save and exit (<code>:wq</code>).</p>



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



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



<h3 class="wp-block-heading"><strong>Step 4: Allow NCPA Port Through the Firewall</strong></h3>



<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-port=5693/tcp
sudo firewall-cmd --zone=public --add-port=5693/tcp --permanent</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-port=5693/tcp</span></span>
<span class="line"><span style="color: #D4D4D4">sudo firewall-cmd --zone=public --add-port=5693/tcp --permanent</span></span></code></pre></div>



<h3 class="wp-block-heading"><strong>Step 5: Verify the NCPA Web Interface</strong></h3>



<p>1. Open a web browser and go to:</p>



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



<p>2. Accept any SSL warnings.</p>



<p>3. Log in using your configured token.</p>



<h3 class="wp-block-heading"><strong>Step 6: Add the Host in Nagios XI</strong></h3>



<ol class="wp-block-list">
<li>Log in to <strong>Nagios XI</strong>.</li>



<li>Navigate to <strong>Configure &gt; Monitoring Wizard &gt; NCPA</strong>.</li>



<li>Enter your openSUSE IP and token.</li>



<li>Select services (CPU, memory, etc.) to monitor.</li>



<li>Complete the wizard to apply monitoring.</li>
</ol>



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



<ul class="wp-block-list">
<li>NCPA listens on TCP port 5693.</li>



<li>Use a strong token to prevent unauthorized access.</li>



<li>The NCPA web interface includes built-in help and endpoint documentation.</li>
</ul>



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



<p>By following this guide, you can successfully monitor openSUSE 15 with Nagios XI using NCPA. This setup allows you to track essential system metrics efficiently and receive alerts on performance issues. Regularly check Nagios XI dashboards to ensure accurate data collection and troubleshoot any connectivity issues by reviewing firewall rules and service statuses.</p>
]]></content:encoded>
					
		
		
			</item>
		<item>
		<title>Monitoring Clear Linux with NCPA in Nagios XI: Comprehensive Setup and Configuration Guide</title>
		<link>https://library.nagios.com/tutorials/monitoring-clear-linux-with-ncpa-in-nagios-xi-a-step-by-step-guide/</link>
		
		<dc:creator><![CDATA[Ayub Huruse]]></dc:creator>
		<pubDate>Fri, 28 Mar 2025 19:15:59 +0000</pubDate>
				<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[Monitoring]]></category>
		<category><![CDATA[Clear Linux]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[NCPA]]></category>
		<category><![CDATA[Operating System Monitoring]]></category>
		<guid isPermaLink="false">https://library.nagios.com/?p=53569</guid>

					<description><![CDATA[Clear Linux, developed by Intel, is a lightweight, high-performance Linux distribution optimized for Intel architectures. Unlike RPM- or DEB-based systems, Clear Linux uses a stateless design and the swupd package manager, making it incompatible with standard Nagios Cross-Platform Agent (NCPA) repositories. However, you can manually install NCPA to monitor system metrics like CPU, memory, disk [&#8230;]]]></description>
										<content:encoded><![CDATA[
<p>Clear Linux, developed by Intel, is a lightweight, high-performance Linux distribution optimized for Intel architectures. Unlike RPM- or DEB-based systems, Clear Linux uses a stateless design and the <code>swupd</code> package manager, making it incompatible with standard Nagios Cross-Platform Agent (NCPA) repositories. However, you can manually install NCPA to monitor system metrics like CPU, memory, disk usage, and processes, integrating seamlessly with Nagios XI for centralized oversight.</p>



<p>This guide details how to install NCPA on Clear Linux and configure it for monitoring within Nagios XI, adapting to Clear Linux’s unique environment.</p>



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



<p>Ensure:</p>



<ul class="wp-block-list">
<li>A Clear Linux system (updated with <code>sudo swupd update</code>) with <code>sudo</code> access.</li>



<li>A running Nagios XI instance (latest version recommended).</li>



<li>Network connectivity between Clear Linux and Nagios XI (port 5693 open).</li>



<li>Basic utilities installed: <code>curl</code>, <code>rpm2cpio</code>, <code>cpio</code>, and <code>python3</code> (Clear Linux includes Python by default).</li>
</ul>



<h2 class="wp-block-heading">Step 1: Install Required Tools</h2>



<p>Clear Linux doesn’t include <code>rpm2cpio</code> or <code>cpio</code> by default. Install them:</p>



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



<p>Verify:</p>



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



<h2 class="wp-block-heading">Step 2: Download and Extract NCPA</h2>



<p>Since Clear Linux doesn’t support RPM packages natively, extract the NCPA RPM manually:</p>



<p>1. <strong>Create a Working Directory</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" data-code="mkdir -p ~/ncpa &amp;&amp; cd ~/ncpa" style="color:#D4D4D4;display:none" aria-label="Copy" class="code-block-pro-copy-button"><svg xmlns="http://www.w3.org/2000/svg" style="width:24px;height:24px" fill="none" viewBox="0 0 24 24" stroke="currentColor" stroke-width="2"><path class="with-check" stroke-linecap="round" stroke-linejoin="round" d="M4.5 12.75l6 6 9-13.5"></path><path class="without-check" stroke-linecap="round" stroke-linejoin="round" d="M16.5 8.25V6a2.25 2.25 0 00-2.25-2.25H6A2.25 2.25 0 003.75 6v8.25A2.25 2.25 0 006 16.5h2.25m8.25-8.25H18a2.25 2.25 0 012.25 2.25V18A2.25 2.25 0 0118 20.25h-7.5A2.25 2.25 0 018.25 18v-1.5m8.25-8.25h-6a2.25 2.25 0 00-2.25 2.25v6"></path></svg></span><pre class="shiki dark-plus" style="background-color: #1E1E1E" tabindex="0"><code><span class="line"><span style="color: #D4D4D4">mkdir -p ~/ncpa &amp;&amp; cd ~/ncpa</span></span></code></pre></div>



<p>2. <strong>Download the Latest-1 NCPA RPM</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" data-code="curl -O https://assets.nagios.com/downloads/ncpa3/latest-1/ncpa-latest.el9.x86_64.rpm" style="color:#D4D4D4;display:none" aria-label="Copy" class="code-block-pro-copy-button"><svg xmlns="http://www.w3.org/2000/svg" style="width:24px;height:24px" fill="none" viewBox="0 0 24 24" stroke="currentColor" stroke-width="2"><path class="with-check" stroke-linecap="round" stroke-linejoin="round" d="M4.5 12.75l6 6 9-13.5"></path><path class="without-check" stroke-linecap="round" stroke-linejoin="round" d="M16.5 8.25V6a2.25 2.25 0 00-2.25-2.25H6A2.25 2.25 0 003.75 6v8.25A2.25 2.25 0 006 16.5h2.25m8.25-8.25H18a2.25 2.25 0 012.25 2.25V18A2.25 2.25 0 0118 20.25h-7.5A2.25 2.25 0 018.25 18v-1.5m8.25-8.25h-6a2.25 2.25 0 00-2.25 2.25v6"></path></svg></span><pre class="shiki dark-plus" style="background-color: #1E1E1E" tabindex="0"><code><span class="line"><span style="color: #D4D4D4">curl -O https://assets.nagios.com/downloads/ncpa3/latest-1/ncpa-latest.el9.x86_64.rpm</span></span></code></pre></div>



<p>3. <strong>Extract the RPM</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" data-code="rpm2cpio ncpa-latest.el9.x86_64.rpm | cpio -idmv" style="color:#D4D4D4;display:none" aria-label="Copy" class="code-block-pro-copy-button"><svg xmlns="http://www.w3.org/2000/svg" style="width:24px;height:24px" fill="none" viewBox="0 0 24 24" stroke="currentColor" stroke-width="2"><path class="with-check" stroke-linecap="round" stroke-linejoin="round" d="M4.5 12.75l6 6 9-13.5"></path><path class="without-check" stroke-linecap="round" stroke-linejoin="round" d="M16.5 8.25V6a2.25 2.25 0 00-2.25-2.25H6A2.25 2.25 0 003.75 6v8.25A2.25 2.25 0 006 16.5h2.25m8.25-8.25H18a2.25 2.25 0 012.25 2.25V18A2.25 2.25 0 0118 20.25h-7.5A2.25 2.25 0 018.25 18v-1.5m8.25-8.25h-6a2.25 2.25 0 00-2.25 2.25v6"></path></svg></span><pre class="shiki dark-plus" style="background-color: #1E1E1E" tabindex="0"><code><span class="line"><span style="color: #D4D4D4">rpm2cpio ncpa-latest.el9.x86_64.rpm | cpio -idmv</span></span></code></pre></div>



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



<p>Move the extracted files to their appropriate system locations:</p>



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



<h2 class="wp-block-heading">Step 4: Configure the NCPA Token</h2>



<p>1. <strong>Edit the Config 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" data-code="sudo nano /usr/local/ncpa/etc/ncpa.cfg" style="color:#D4D4D4;display:none" aria-label="Copy" class="code-block-pro-copy-button"><svg xmlns="http://www.w3.org/2000/svg" style="width:24px;height:24px" fill="none" viewBox="0 0 24 24" stroke="currentColor" stroke-width="2"><path class="with-check" stroke-linecap="round" stroke-linejoin="round" d="M4.5 12.75l6 6 9-13.5"></path><path class="without-check" stroke-linecap="round" stroke-linejoin="round" d="M16.5 8.25V6a2.25 2.25 0 00-2.25-2.25H6A2.25 2.25 0 003.75 6v8.25A2.25 2.25 0 006 16.5h2.25m8.25-8.25H18a2.25 2.25 0 012.25 2.25V18A2.25 2.25 0 0118 20.25h-7.5A2.25 2.25 0 018.25 18v-1.5m8.25-8.25h-6a2.25 2.25 0 00-2.25 2.25v6"></path></svg></span><pre class="shiki dark-plus" style="background-color: #1E1E1E" tabindex="0"><code><span class="line"><span style="color: #D4D4D4">sudo nano /usr/local/ncpa/etc/ncpa.cfg</span></span></code></pre></div>



<p>2. <strong>Set a Secure Token</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" data-code="community_string = Str0ngT0k3n2025" style="color:#D4D4D4;display:none" aria-label="Copy" class="code-block-pro-copy-button"><svg xmlns="http://www.w3.org/2000/svg" style="width:24px;height:24px" fill="none" viewBox="0 0 24 24" stroke="currentColor" stroke-width="2"><path class="with-check" stroke-linecap="round" stroke-linejoin="round" d="M4.5 12.75l6 6 9-13.5"></path><path class="without-check" stroke-linecap="round" stroke-linejoin="round" d="M16.5 8.25V6a2.25 2.25 0 00-2.25-2.25H6A2.25 2.25 0 003.75 6v8.25A2.25 2.25 0 006 16.5h2.25m8.25-8.25H18a2.25 2.25 0 012.25 2.25V18A2.25 2.25 0 0118 20.25h-7.5A2.25 2.25 0 018.25 18v-1.5m8.25-8.25h-6a2.25 2.25 0 00-2.25 2.25v6"></path></svg></span><pre class="shiki dark-plus" style="background-color: #1E1E1E" tabindex="0"><code><span class="line"><span style="color: #D4D4D4">community_string = Str0ngT0k3n2025</span></span></code></pre></div>



<h2 class="wp-block-heading">Step 5: Start the NCPA Listener</h2>



<h3 class="wp-block-heading">Option 1: Manual Start</h3>



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



<h3 class="wp-block-heading">Option 2: Create a Systemd Service</h3>



<p>1. Create a service 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" data-code="sudo nano /etc/systemd/system/ncpa.service" style="color:#D4D4D4;display:none" aria-label="Copy" class="code-block-pro-copy-button"><svg xmlns="http://www.w3.org/2000/svg" style="width:24px;height:24px" fill="none" viewBox="0 0 24 24" stroke="currentColor" stroke-width="2"><path class="with-check" stroke-linecap="round" stroke-linejoin="round" d="M4.5 12.75l6 6 9-13.5"></path><path class="without-check" stroke-linecap="round" stroke-linejoin="round" d="M16.5 8.25V6a2.25 2.25 0 00-2.25-2.25H6A2.25 2.25 0 003.75 6v8.25A2.25 2.25 0 006 16.5h2.25m8.25-8.25H18a2.25 2.25 0 012.25 2.25V18A2.25 2.25 0 0118 20.25h-7.5A2.25 2.25 0 018.25 18v-1.5m8.25-8.25h-6a2.25 2.25 0 00-2.25 2.25v6"></path></svg></span><pre class="shiki dark-plus" style="background-color: #1E1E1E" tabindex="0"><code><span class="line"><span style="color: #D4D4D4">sudo nano /etc/systemd/system/ncpa.service</span></span></code></pre></div>



<p>2. Add:</p>



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

[Service]
Type=simple
ExecStart=/usr/local/ncpa/ncpa_listener
Restart=on-failure

[Install]
WantedBy=multi-user.target" style="color:#D4D4D4;display:none" aria-label="Copy" class="code-block-pro-copy-button"><svg xmlns="http://www.w3.org/2000/svg" style="width:24px;height:24px" fill="none" viewBox="0 0 24 24" stroke="currentColor" stroke-width="2"><path class="with-check" stroke-linecap="round" stroke-linejoin="round" d="M4.5 12.75l6 6 9-13.5"></path><path class="without-check" stroke-linecap="round" stroke-linejoin="round" d="M16.5 8.25V6a2.25 2.25 0 00-2.25-2.25H6A2.25 2.25 0 003.75 6v8.25A2.25 2.25 0 006 16.5h2.25m8.25-8.25H18a2.25 2.25 0 012.25 2.25V18A2.25 2.25 0 0118 20.25h-7.5A2.25 2.25 0 018.25 18v-1.5m8.25-8.25h-6a2.25 2.25 0 00-2.25 2.25v6"></path></svg></span><pre class="shiki dark-plus" style="background-color: #1E1E1E" tabindex="0"><code><span class="line"><span style="color: #D4D4D4">[Unit]</span></span>
<span class="line"><span style="color: #D4D4D4">Description=NCPA Listener Service</span></span>
<span class="line"><span style="color: #D4D4D4">After=network.target</span></span>
<span class="line"><span style="color: #D4D4D4"></span></span>
<span class="line"><span style="color: #D4D4D4">[Service]</span></span>
<span class="line"><span style="color: #D4D4D4">Type=simple</span></span>
<span class="line"><span style="color: #D4D4D4">ExecStart=/usr/local/ncpa/ncpa_listener</span></span>
<span class="line"><span style="color: #D4D4D4">Restart=on-failure</span></span>
<span class="line"><span style="color: #D4D4D4"></span></span>
<span class="line"><span style="color: #D4D4D4">[Install]</span></span>
<span class="line"><span style="color: #D4D4D4">WantedBy=multi-user.target</span></span></code></pre></div>



<p>3. Enable and start:</p>



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



<p>4. Verify:</p>



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



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



<p>1. <strong>Add Rule</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" data-code="sudo iptables -I INPUT -p tcp --dport 5693 -j ACCEPT" style="color:#D4D4D4;display:none" aria-label="Copy" class="code-block-pro-copy-button"><svg xmlns="http://www.w3.org/2000/svg" style="width:24px;height:24px" fill="none" viewBox="0 0 24 24" stroke="currentColor" stroke-width="2"><path class="with-check" stroke-linecap="round" stroke-linejoin="round" d="M4.5 12.75l6 6 9-13.5"></path><path class="without-check" stroke-linecap="round" stroke-linejoin="round" d="M16.5 8.25V6a2.25 2.25 0 00-2.25-2.25H6A2.25 2.25 0 003.75 6v8.25A2.25 2.25 0 006 16.5h2.25m8.25-8.25H18a2.25 2.25 0 012.25 2.25V18A2.25 2.25 0 0118 20.25h-7.5A2.25 2.25 0 018.25 18v-1.5m8.25-8.25h-6a2.25 2.25 0 00-2.25 2.25v6"></path></svg></span><pre class="shiki dark-plus" style="background-color: #1E1E1E" tabindex="0"><code><span class="line"><span style="color: #D4D4D4">sudo iptables -I INPUT -p tcp --dport 5693 -j ACCEPT</span></span></code></pre></div>



<p>2. <strong>Persist the Rule</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" data-code="sudo mkdir -p /etc/iptables sudo iptables-save &gt; /etc/iptables/rules.v4" style="color:#D4D4D4;display:none" aria-label="Copy" class="code-block-pro-copy-button"><svg xmlns="http://www.w3.org/2000/svg" style="width:24px;height:24px" fill="none" viewBox="0 0 24 24" stroke="currentColor" stroke-width="2"><path class="with-check" stroke-linecap="round" stroke-linejoin="round" d="M4.5 12.75l6 6 9-13.5"></path><path class="without-check" stroke-linecap="round" stroke-linejoin="round" d="M16.5 8.25V6a2.25 2.25 0 00-2.25-2.25H6A2.25 2.25 0 003.75 6v8.25A2.25 2.25 0 006 16.5h2.25m8.25-8.25H18a2.25 2.25 0 012.25 2.25V18A2.25 2.25 0 0118 20.25h-7.5A2.25 2.25 0 018.25 18v-1.5m8.25-8.25h-6a2.25 2.25 0 00-2.25 2.25v6"></path></svg></span><pre class="shiki dark-plus" style="background-color: #1E1E1E" tabindex="0"><code><span class="line"><span style="color: #D4D4D4">sudo mkdir -p /etc/iptables sudo iptables-save &gt; /etc/iptables/rules.v4</span></span></code></pre></div>



<p>3. <strong>Verify</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" data-code="sudo iptables -L -n | grep 5693" style="color:#D4D4D4;display:none" aria-label="Copy" class="code-block-pro-copy-button"><svg xmlns="http://www.w3.org/2000/svg" style="width:24px;height:24px" fill="none" viewBox="0 0 24 24" stroke="currentColor" stroke-width="2"><path class="with-check" stroke-linecap="round" stroke-linejoin="round" d="M4.5 12.75l6 6 9-13.5"></path><path class="without-check" stroke-linecap="round" stroke-linejoin="round" d="M16.5 8.25V6a2.25 2.25 0 00-2.25-2.25H6A2.25 2.25 0 003.75 6v8.25A2.25 2.25 0 006 16.5h2.25m8.25-8.25H18a2.25 2.25 0 012.25 2.25V18A2.25 2.25 0 0118 20.25h-7.5A2.25 2.25 0 018.25 18v-1.5m8.25-8.25h-6a2.25 2.25 0 00-2.25 2.25v6"></path></svg></span><pre class="shiki dark-plus" style="background-color: #1E1E1E" tabindex="0"><code><span class="line"><span style="color: #D4D4D4">sudo iptables -L -n | grep 5693</span></span></code></pre></div>



<h2 class="wp-block-heading">Step 7: Test NCPA Locally</h2>



<p>1. Access the NCPA Web Interface:</p>



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



<p>2. <strong>Accept Certificate</strong></p>



<p>3. <strong>Log In</strong>:</p>



<ul class="wp-block-list">
<li>Use the token (e.g., <code>Str0ngT0k3n2025</code>) to access the dashboard.</li>
</ul>



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



<ol class="wp-block-list">
<li><strong>Log into Nagios XI</strong></li>



<li><strong>Run the NCPA Wizard</strong></li>



<li><strong>Configure the Host</strong>:
<ul class="wp-block-list">
<li>IP Address: Clear Linux IP</li>



<li>Port: 5693</li>



<li>Token: Str0ngT0k3n2025</li>
</ul>
</li>



<li><strong>Apply Configuration</strong></li>



<li><strong>Verify Monitoring</strong></li>
</ol>



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



<ul class="wp-block-list">
<li><strong>NCPA Not Running</strong>: </li>
</ul>



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



<ul class="wp-block-list">
<li><strong>Port Blocked</strong>:</li>
</ul>



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



<ul class="wp-block-list">
<li><strong>Nagios XI Issues</strong>:
<ul class="wp-block-list">
<li>Verify token and IP</li>



<li>Check Nagios log: <code>/usr/local/nagiosxi/var/ncpa.log</code></li>
</ul>
</li>
</ul>



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



<p>You’ve manually installed NCPA on Clear Linux and integrated it with Nagios XI. While Clear Linux lacks official NCPA support, this workaround enables robust monitoring. For stability, maintain the systemd service and firewall persistence. Explore passive checks via NRDP or custom plugins.</p>



<p><strong>Resources:</strong></p>



<ul class="wp-block-list">
<li><a href="https://www.nagios.org/projects/ncpa/" target="_blank" rel="noopener">Nagios NCPA Project</a></li>



<li><a href="https://support.nagios.com/forum/" target="_blank" rel="noopener">Nagios Support Forum</a></li>



<li><a href="https://support.nagios.com/kb/" target="_blank" rel="noopener">Nagios Knowledgebase</a></li>
</ul>
]]></content:encoded>
					
		
		
			</item>
	</channel>
</rss>
