Step-by-Step: Monitoring Rackspace Cloud VMs with Nagios XI Using NCPA

Picture of Ayub Huruse
Ayub Huruse

Your cloud infrastructure is only as strong as its weakest link. Rackspace Cloud VMs provide scalability and reliability, but without continuous monitoring, performance hiccups, security threats, and downtime can creep in unnoticed.

Enter Nagios XI—a powerful monitoring solution that keeps a watchful eye on your Rackspace Cloud VMs, ensuring they run at peak performance. By leveraging the Nagios Cross-Platform Agent (NCPA) and the Rackspace Cloud Configuration Wizard, you can seamlessly track CPU usage, memory consumption, network activity, and potential failures in real time.

This guide will take you through a step-by-step process to integrate Rackspace Cloud VMs with Nagios XI, giving you the proactive insights needed to stay ahead of issues before they impact your business.

Why Monitor Rackspace Cloud VMs?

Monitoring your Rackspace Cloud VMs is essential to ensure smooth operations and prevent unexpected downtime. With Nagios XI, you gain:

  • Real-time insights into CPU, memory, disk usage, and network performance.
  • Proactive alerting to prevent outages and service disruptions.
  • Centralized monitoring to simplify cloud infrastructure management.

By the end of this guide, you’ll have a fully configured monitoring setup for your Rackspace Cloud VMs in Nagios XI.

Prerequisites

Before getting started, ensure you have:

  • A Rackspace Technology account with access to the Cloud Control Panel.
  • A deployed Rackspace Cloud VM running one of the following operating systems:
    • Windows Server
    • RHEL / CentOS
    • Ubuntu / Debian
    • SUSE Linux Enterprise Server (SLES)
  • Nagios XI installed and ready for configuration.
  • NCPA installed on your target VM. Refer to the NCPA Installation Guide for OS-specific installation instructions.

Step 1: Deploy a Rackspace Cloud VM

If you have not yet deployed a Rackspace Cloud VM, follow these steps:

  1. Log in to the Rackspace Technology Cloud Control Panel at my.rackspace.com.
  2. Navigate to ServersCreate Server and configure the VM:
    • Select an operating system (Windows, Linux, or another supported OS).
    • Set CPU, memory, and storage based on your requirements.
  3. Enable network access for NCPA:
    • Open port 5693 (TCP) in the security group settings to allow communication between NCPA and Nagios XI.
  4. Deploy the VM and note its public/private IP address.

Step 2: Install and Configure NCPA on the Rackspace Cloud VM

To allow Nagios XI to monitor your VM, install NCPA, a lightweight, cross-platform monitoring agent.

Installing NCPA:

  1. Download and install NCPA based on your VM’s operating system. Follow the steps in the NCPA Installation Guide.
  2. Start the NCPA Listener service.
  3. Configure an API Token—this enables secure communication between Nagios XI and your VM.

Verifying Installation:

To confirm that NCPA is running, open a web browser and visit:

https://<rackspace-cloud-vm-ip>:5693/api

If the page loads successfully, NCPA is properly set up.

Step 3: Add the Rackspace Cloud VM to Nagios XI Using the Configuration Wizard

Nagios XI includes a Rackspace Cloud Configuration Wizard that simplifies the process of adding and monitoring Rackspace Cloud VMs.

Using the Rackspace Cloud Wizard:

  1. Log in to the Nagios XI Web Interface.
  2. Navigate to ConfigureConfiguration Wizards.
  3. Select Rackspace Cloud Wizard.
  4. Enter the required details:
    • Host Address/FQDN – Enter the public/private IP or Fully Qualified Domain Name (FQDN) of your VM.
    • Port Number – If you changed the default 5693, specify the correct port.
    • API Token – Provide the NCPA token from Step 2.
  5. Click Next to proceed.

Example output:

Screenshot 2025 02 24 080605
Example output of Rackspace configuration step 1

Step 4: Configure Monitoring Options

At this stage, define the system metrics that Nagios XI should track:

  1. Enter a Host Name for your VM.
  2. Choose the key performance metrics to monitor:
    • CPU Usage – Detect excessive processing loads.
    • Memory Usage – Identify resource bottlenecks.
    • Disk Space – Prevent storage shortages.
    • Network Traffic – Monitor bandwidth usage.
  3. Set alert thresholds for warnings and critical levels.
  4. Click Next to finalize your settings.

Step 5: Finalizing the Configuration

  1. Review your monitoring settings in Steps 3-5 of the wizard.
  2. Click Finish to apply the configuration.
  3. Nagios XI will now create the host and services and begin monitoring your Rackspace Cloud VM.
  4. After setup, click “View status details for “ to verify the monitored services.

Step 6: Verify Monitoring in Nagios XI

Once Nagios XI starts monitoring your VM, verify that everything is functioning correctly:

  • Check the Host Status in Nagios XI.
  • Verify key metrics such as CPU, memory, disk, and network utilization.
  • Adjust alert thresholds and fine-tune notification settings as needed.

Conclusion

By following this guide, you’ve successfully integrated Rackspace Cloud VMs into Nagios XI, ensuring full visibility into your cloud infrastructure.

With NCPA and the Rackspace Cloud Configuration Wizard, you can:

  • Track performance metrics in real-time.
  • Receive alerts before issues impact operations.
  • Ensure high availability and security of your cloud services.

Proactive monitoring is essential to maintaining reliability, security, and performance in a cloud-based environment. By implementing Nagios XI monitoring, your IT team can prevent issues before they impact your business.

Troubleshooting Common Issues

  • NCPA agent not responding? Check firewall settings to ensure port 5693 is open.
  • Metrics not showing? Verify API token and ensure the NCPA listener is running.
  • Nagios XI not detecting the host? Ensure the VM’s external IP is correct and accessible

Next Steps

  • Need to monitor additional cloud instances? Repeat the setup for each VM.
  • Looking for custom monitoring? Configure NCPA to track additional system parameters.
  • Experiencing issues? Check Nagios XI logs or visit the Nagios Support Portal.
Share:

Table of Contents