<?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>DigitalOcean &#8211; Nagios Library</title>
	<atom:link href="https://library.nagios.com/tag/digitalocean/feed/" rel="self" type="application/rss+xml" />
	<link>https://library.nagios.com</link>
	<description>Complete Nagios monitoring resources and documentation</description>
	<lastBuildDate>Mon, 23 Feb 2026 18:52:45 +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>DigitalOcean &#8211; Nagios Library</title>
	<link>https://library.nagios.com</link>
	<width>32</width>
	<height>32</height>
</image> 
	<item>
		<title>How to Monitor DigitalOcean Droplets with Nagios XI Using NCPA</title>
		<link>https://library.nagios.com/tutorials/how-to-monitor-digitalocean-droplets-with-nagios-xi-using-ncpa/</link>
		
		<dc:creator><![CDATA[Ayub Huruse]]></dc:creator>
		<pubDate>Wed, 26 Feb 2025 15:03:56 +0000</pubDate>
				<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[Cloud Computing]]></category>
		<category><![CDATA[DigitalOcean]]></category>
		<category><![CDATA[NCPA]]></category>
		<guid isPermaLink="false">https://library.nagios.com/?p=50516</guid>

					<description><![CDATA[DigitalOcean Droplets offer a flexible and scalable platform for hosting cloud-based applications. However, without proper monitoring, performance bottlenecks, security risks, or unexpected outages can go unnoticed. By combining Nagios XI—a powerful monitoring solution—with the Nagios Cross-Platform Agent (NCPA), you can proactively track critical metrics like CPU, memory, disk usage, and network activity to maintain system [&#8230;]]]></description>
										<content:encoded><![CDATA[
<p>DigitalOcean Droplets offer a flexible and scalable platform for hosting cloud-based applications. However, without proper monitoring, performance bottlenecks, security risks, or unexpected outages can go unnoticed. By combining Nagios XI—a powerful monitoring solution—with the Nagios Cross-Platform Agent (NCPA), you can proactively track critical metrics like CPU, memory, disk usage, and network activity to maintain system health and reliability.</p>



<p>This guide provides a step-by-step process for setting up Nagios XI and NCPA to monitor your DigitalOcean Droplets, empowering you with real-time insights and centralized control.</p>



<h2 class="wp-block-heading">Why Monitor DigitalOcean Droplets?</h2>



<p>Monitoring is essential for ensuring the performance, security, and availability of your cloud infrastructure. With Nagios XI and NCPA, you can:</p>



<ul class="wp-block-list">
<li>Gain real-time visibility into system resources and network performance.</li>



<li>Receive automated alerts to address issues before they impact users.</li>



<li>Simplify management with a centralized, user-friendly dashboard.</li>
</ul>



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



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



<ul class="wp-block-list">
<li>A DigitalOcean account with access to the Control Panel.</li>



<li>A deployed Droplet running a compatible operating system:<br>
<ul class="wp-block-list">
<li>Windows Server</li>



<li>Red Hat Enterprise Linux (RHEL) or CentOS</li>



<li>Ubuntu or Debian</li>



<li>SUSE Linux Enterprise Server (SLES)</li>
</ul>
</li>



<li>A functioning Nagios XI instance (installed on a separate server or VM).</li>



<li>The NCPA agent installed on your target Droplet (see the <a href="https://www.nagios.org/projects/ncpa/#docs" target="_blank" rel="noopener">NCPA Installation Guide</a> for details).</li>



<li>Basic familiarity with firewall configuration and SSH access.</li>
</ul>



<h2 class="wp-block-heading">Step 1: Deploy a DigitalOcean Droplet</h2>



<p>If you don’t already have a Droplet, create one as follows:</p>



<ol class="wp-block-list">
<li>Log in to the <a href="https://cloud.digitalocean.com" target="_blank" rel="noreferrer noopener">DigitalOcean Control Panel</a>.</li>



<li>Click <strong>Create → Droplets</strong> and configure your instance:<br>
<ul class="wp-block-list">
<li>Select an operating system from the supported list.</li>



<li>Choose a plan (CPU, memory, and storage) based on your needs.</li>



<li>Add a firewall rule to allow TCP port <strong>5693</strong> for NCPA communication.</li>
</ul>
</li>



<li>Deploy the Droplet and note its public IP address.</li>
</ol>



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



<p>The NCPA agent enables Nagios XI to collect system metrics from your Droplet securely.</p>



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



<ol class="wp-block-list">
<li>Refer to the <a href="https://www.nagios.org/projects/ncpa/#docs" target="_blank" rel="noreferrer noopener">NCPA Installation Guide</a> to download and install NCPA on your Droplet.</li>



<li>Start the NCPA Listener service:
<ul class="wp-block-list">
<li>On Linux: sudo systemctl start ncpa_listener</li>



<li>On Windows: Use the Services management tool.</li>
</ul>
</li>



<li>Edit the NCPA configuration file (/usr/local/ncpa/etc/ncpa.cfg on Linux or equivalent on Windows) to set a secure <strong>API token</strong>.</li>
</ol>



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



<p>Test NCPA connectivity by accessing:</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;droplet-ip>:5693/api</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;droplet-ip&gt;:5693/api</span></span></code></pre></div>



<p>If the page loads successfully and prompts for the API token, NCPA is running correctly.</p>



<h2 class="wp-block-heading">Step 3: Add the Droplet to Nagios XI</h2>



<p>Use the <strong>NCPA Configuration Wizard</strong> in Nagios XI to integrate the Droplet.</p>



<p>1. Log in to the <strong>Nagios XI Web Interface</strong>.</p>



<p>2. Navigate to <strong>Configure → Configuration Wizards</strong>.</p>



<figure class="wp-block-image size-large"><a href="https://library.nagios.com/wp-content/uploads/2025/02/Screenshot-2025-02-25-142759.png"><img fetchpriority="high" decoding="async" width="1024" height="434" src="https://library.nagios.com/wp-content/uploads/2025/02/Screenshot-2025-02-25-142759-1024x434.png" alt="Screenshot 2025 02 25 142759" class="wp-image-50551" title="How to Monitor DigitalOcean Droplets with Nagios XI Using NCPA 1" srcset="https://library.nagios.com/wp-content/uploads/2025/02/Screenshot-2025-02-25-142759-1024x434.png 1024w, https://library.nagios.com/wp-content/uploads/2025/02/Screenshot-2025-02-25-142759-300x127.png 300w, https://library.nagios.com/wp-content/uploads/2025/02/Screenshot-2025-02-25-142759-768x325.png 768w, https://library.nagios.com/wp-content/uploads/2025/02/Screenshot-2025-02-25-142759-1536x650.png 1536w, https://library.nagios.com/wp-content/uploads/2025/02/Screenshot-2025-02-25-142759.png 1592w" sizes="(max-width: 1024px) 100vw, 1024px" /></a><figcaption class="wp-element-caption">Example output of DigitalOcean Wizard</figcaption></figure>



<p>3. Select <strong>DigitalOcean Wizard</strong> and Enter the following details:</p>



<ul class="wp-block-list">
<li><strong>Host Address/FQDN</strong>: Droplet IP or domain name.</li>



<li><strong>Port Number</strong>: <code>5693</code> (default).</li>



<li><strong>API Token</strong>: Use the token created in Step 2.</li>
</ul>



<p>4. Click <strong>Next</strong> to proceed.</p>



<figure class="wp-block-image size-large"><a href="https://library.nagios.com/wp-content/uploads/2025/02/Screenshot-2025-02-25-142657.png"><img decoding="async" width="1024" height="618" src="https://library.nagios.com/wp-content/uploads/2025/02/Screenshot-2025-02-25-142657-1024x618.png" alt="Screenshot 2025 02 25 142657" class="wp-image-50550" title="How to Monitor DigitalOcean Droplets with Nagios XI Using NCPA 2" srcset="https://library.nagios.com/wp-content/uploads/2025/02/Screenshot-2025-02-25-142657-1024x618.png 1024w, https://library.nagios.com/wp-content/uploads/2025/02/Screenshot-2025-02-25-142657-300x181.png 300w, https://library.nagios.com/wp-content/uploads/2025/02/Screenshot-2025-02-25-142657-768x463.png 768w, https://library.nagios.com/wp-content/uploads/2025/02/Screenshot-2025-02-25-142657.png 1306w" sizes="(max-width: 1024px) 100vw, 1024px" /></a><figcaption class="wp-element-caption">Example output of DigitalOcean Wizard configuration step 1</figcaption></figure>



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



<p>Define which metrics Nagios XI will monitor and set alert thresholds:</p>



<ol class="wp-block-list">
<li>Assign a descriptive <strong>Host Name</strong> (e.g., “WebServer01”).</li>



<li>Select key metrics to track:<br>
<ul class="wp-block-list">
<li>CPU Usage (%)</li>



<li>Memory Usage (available/free)</li>



<li>Disk Space (used/free)</li>



<li>Network Traffic (inbound/outbound)</li>
</ul>
</li>



<li>Specify <strong>warning</strong> and <strong>critical</strong> thresholds (e.g., 80% and 90% for CPU).</li>



<li>Click <strong>Next</strong> to continue.</li>
</ol>



<h2 class="wp-block-heading">Step 5: Finalize the Configuration</h2>



<ol class="wp-block-list">
<li>Review your settings for accuracy.</li>



<li>Click <strong>Finish</strong> to save and apply the configuration.</li>



<li>Nagios XI will begin monitoring the Droplet.</li>



<li>Verify the setup by navigating to <strong>Hosts → View Status Details</strong> for your Droplet.</li>
</ol>



<h2 class="wp-block-heading">Step 6: Confirm Monitoring</h2>



<p>Ensure the system is functioning as expected:</p>



<ul class="wp-block-list">
<li>Check the <strong>Host Status</strong> in Nagios XI.</li>



<li>Review metrics for CPU, memory, disk, and network performance.</li>



<li>Adjust thresholds or notifications if necessary.</li>
</ul>



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



<p>If problems arise, try these solutions:</p>



<ul class="wp-block-list">
<li><strong>NCPA not responding?</strong> Verify that port <strong>5693</strong> is open in the Droplet’s firewall and that the NCPA Listener service is active.</li>



<li><strong>No metrics in Nagios XI?</strong> Ensure the API token matches and the NCPA service is running.</li>



<li><strong>Host unreachable?</strong> Confirm the Droplet’s IP is correct and accessible from the Nagios XI server.</li>
</ul>



<h2 class="wp-block-heading">Next Steps</h2>



<ul class="wp-block-list">
<li>Add additional Droplets by repeating this process.</li>



<li>Customize NCPA for advanced monitoring needs.</li>



<li>Consult the <strong>Nagios XI logs</strong> or <a href="https://support.nagios.com/" target="_blank" rel="noopener">Nagios Support Portal</a> for further assistance.</li>
</ul>



<p>With Nagios XI and NCPA in place, you now have a robust monitoring framework for DigitalOcean Droplets, ensuring optimal performance, security, and uptime.</p>
]]></content:encoded>
					
		
		
			</item>
	</channel>
</rss>
