About Nagios Planet

Nagios Planet is an aggregation of news feeds from around the Nagios world. This site is maintained in cooperation with OpenXtra. Learn more...

Planet Feed

Nagios Planet Feed

Welcome To Nagios Planet

planet-worldlogoWelcome to Nagios Planet!  Nagios Planet is an aggregation of various Nagios news feeds. Want a quick and easy way to catch up on the latest Nagios news from the entire collective? It's easy - just subscribe to the Nagios Planet feed.

Have a blog or news feed about Nagios that you'd like to see included here? Email planet@nagios.org

Nagios Planet Latest News

  • Monitoring Apache Cassandra Database Nodes with Nagios XI 21 Aug 2014 | 12:50 pm Nagios Planet - Feed Archives

    As cloud services grow in popularity, so do the networks that provide those cloud services.  Few webserver-based distributed databases are as easy to install and configure as Apache Cassandra.  Apache Cassandra is an open source distributed database management system designed to handle large amounts of data across many commodity servers, providing high availability with no single point of failure. Cassandra offers robust support for clusters spanning multiple data centers, with asynchronous master-less replication allowing low latency operations for all clients.

    Cassandra relies on the Java platform, and as those of you who have tried to configure Java app monitoring most likely know, the experience can be painful.  There are a handful of plugins on the Nagios Exchange that attempt to simplify the configuration.  As these plugins rely on the Apache Cassandra utility “nodetool”, you either need to install Cassandra on the Nagios server (which is not suggested) or use an agent (like NRPE) to run the plugin script directly from the Cassandra server (which should have the nodetool utility).

    The Cluster Node Check is designed to verify whether the number of live nodes is less than a specified number, and if so trigger a warning or critical alert within Nagios.

    1. Download and install the NRPE agent on the Cassandra server.  Follow our linux-agent installation document below:
    http://assets.nagios.com/downloads/nagiosxi/docs/Installing_The_XI_Linux_Agent.pdf

    If you experience issues with the NRPE install, refer to the following troubleshooting document:
    http://assets.nagios.com/downloads/nagiosxi/docs/NRPE_Troubleshooting_and_Common_Solutions.pdf

    If you are not running CentOS or RHEL on the Cassandra server, you may need to compile NRPE from source:
    http://assets.nagios.com/downloads/nagiosxi/docs/Source_Based_NRPE_Installation_and_XI.pdf

    2. Download the Plugin:

    Once NRPE is installed, you will need to run the following commands from your Cassandra server command line to download the check_cassandra_cluster.sh script.

    cd /usr/local/nagios/libexec wget https://raw.github.com/hashnao/nagios-plugins/master/check_cassandra_cluster.sh chmod +x check_cassandra_cluster.sh chown nagios:nagios check_cassandra_cluster.sh

    3. Verify check from Cassandra Server Command Line:

    It is a good idea to run the plugin locally to verify that it works, before moving on to test it from the Nagios Server.  To do so execute the following command from the command line on the Cassandra server.

    /usr/local/nagios/libexec/check_cassandra_cluster.sh -H localhost -P 7199 -w 1 -c 0

    You should see output similar to:

    OK - Live Node:2 - 127.0.0.1:Normal,70.97,KB100.00%,940153922094527000 | Load_127.0.0.1=KB100.00% Owns_127.0.0.1=940153922094527000

    4. Configuring the check in nrpe.cfg:

    In order for Nagios to execute a command on a remote server, you need to add the plugin to the nrpe.cfg on the Cassandra server.  Edit the /usr/local/nagios/etc/nrpe.cfg file with your favorite text editor by adding the following line at the bottom of the file.

    command[check_cassandra_cluster]=/usr/local/nagios/libexec/check_cassandra_cluster.sh $ARG1$

    Verify that “dont_blame_nrpe=1” is configured in the nrpe.cfg on the Cassandra sever as we are passing arguments to the server.

    Restart xinetd on the Cassandra Server (or the nrpe service if you compiled from source) by running the following command.

    service xinetd restart

    Test the check from the XI server command line.  Make sure to replace <Cassandra server ip> with the IP address of your Cassandra server and also replace <ip of Cassandra node to check> with the same IP address or a different IP address of another Cassandra server.

    /usr/local/nagios/libexec/check_nrpe -H <Cassandra server ip> -c check_cassandra_cluster -a '-H <ip of Cassandra node to check> -P 7199 -w 1 -c 0'

    You should see output similar to:

    OK - Live Node:2 – 127.0.0.1:Normal,71.54,KB100.00%,-9165324447555808428 127.0.0.1:Normal,71.54,KB100.00%

    5. Add the check_cassandra_cluster command to XI:

    In XI, go to  Configure -> Core Config Manager -> Commands.  Click “Add New“.

    Enter “check_cassandra_cluster” for the Command Name.

    For the Command Line enter:

    $USER1$/check_nrpe -H $HOSTNAME$ -c check_cassandra_cluster -a '-H $ARG1$ -P $ARG2$ -w $ARG3$ -c $ARG4$'

    Save changes and “apply configuration“.

    6. Create a Host in XI for your Cassandra Server:

    You will need to set up the Cassandra server as a Host in Nagios XI if you have not done so already.  To do so, use the following steps.

    In XI, go to Configure -> Run the Monitoring Wizard.

    Select a Linux Server and enter the IP address of your Cassandra server and distribution.  Select Next.

    Select any services you wish to monitor and select Next.  (Note: you do not need to download the agent as that has already been done in step 2 above.)

    Set your Monitoring settings and click Finished.

    7. Create a service check in XI:

    In XI, go to Configure -> Core Config Manager -> Services and click “Add New“.

    Enter a name for the check and select Check_Cassandra_Cluster from the check Command Drop Down.

    Configure the arguments:

    $ARG1$:  The IP address of the Cassandra node to check
    $ARG2$:  The Port that the Cassandra node is listening on (default is 7199)
    $ARG3$:  Warning threshold – Integer for number of nodes or less report WARNING
    $ARG4$:  Critical threshold – Integer for the number of nodes or less to report CRITICAL (must be less than $ARG3$)

    Add the Cassandra sever to the check through the “Manage Hosts” button.

    Continue configuring the service object as you normally would using templates, check and alert settings, etc.

    Save and Apply Configuration.

    The check should now be active and working.

    The full documentation can be found below

    Monitoring Apache Cassandra Databases with Nagios XI

     

    If you are unfamiliar with Nagios XI, you can download the fully functional Free 60 Day Trial.

    Also, Nagios World Conference takes place October 13-16, 2014. Use discount code LABS100 and save $100 on your conference pass - register today!

    Read more: http://labs.nagios.com/2014/08/21/monitoring-apache-cassandra-database-nodes/

  • NCPA 1.7.1 Released 19 Aug 2014 | 6:27 pm Nagios Planet - Feed Archives

    NCPA 1.7.1 has been released and is available for download. NCPA, Nagios Cross Platform Agent, was designed to simplify the monitoring of devices with a wide variety of operating systems. NCPA can be used as a passive or active agent and monitors a multitude of different metrics right out of the box.

    Notable features in this release include:
    Backwards compatibility with api/service calls to ensure legacy check plugins work properly Enhancements to the web UI, including a link to a top processes dashboard Improvements to logging and log rotation

    Along with the new features, there were numerous bug fixes and compatibility improvements. A full list of changes can be viewed in the changelog on GitHub.

    Read more: http://www.nagios.org/news/77-news-announcements/383-ncpa-171-released

  • Nagios Cloud Monitoring Now Available in Sydney Australia 14 Aug 2014 | 1:14 pm Nagios Planet - Feed Archives

    TheAmazon Web Services (AWS) latest Nagios XI – Amazon EC2 cloud images have been pushed out to the following additional location:

    Australia (Sydney)

    The Nagios XI cloud images are an excellent opportunity to try Nagios XI without having the upfront expense of dedicated hardware and can be upgraded with virtually zero downtime.

    Documentation on using the Amazon cloud images for your Nagios XI deployment may be found on the Exchange.

    Using Nagios XI In Amazon EC2 Cloud

    This document describes how to launch a new pre-installed Nagios XI server in the Amazon EC2 cloud and is intended for Nagios XI Administrators who would like to bring up new Nagios XI instances in the Amazon Elastic Compute Cloud (EC2), as well as those who are moving existing installations to the cloud.

    Start a trial copy of Nagios XI in the cloud today!

    Come see me present at Nagios World Conference in October! Use discount code LABS100 and save $100 on your conference pass – register here!

    Nagios World Conference

    Read more: http://labs.nagios.com/2014/08/14/nagios-cloud-monitoring-sydney-australia/

  • Nagios Core 4.0.8 Released 12 Aug 2014 | 1:34 pm Nagios Planet - Feed Archives

    Nagios Core 4.0.8 has been released and is available for download. This release incorporates many improvements, notably:

    JSON API output has been better aligned with the standard, and output size limits have been lifted Check scheduling has been modified to prevent bunching checks at the start of their timeperiod Auto-rescheduling of checks has been reimplemented. This can be enabled by setting auto_reschedule_checks=1 in nagios.cfg, and adjusted by setting auto_rescheduling_interval and auto_rescheduling_window as described in the Core 4 Documentation. Auto-rescheduling smoothes the check schedule as it changes over time, and together with the previous improvements, helps to give a more uniform system load. Core workers handle variable assignments at the start of simple commands that otherwise don't require a subshell, eliminating the need for most uses of env
    A list of all enhancements and fixes included in this release is available in the changelog.

    Thanks to all of the community members who reported bugs, contributed patches, and helped in testing the new release!

    Read more: http://www.nagios.org/news/77-news-announcements/382-nagios-core-408-released

  • xMatters Integration 12 Aug 2014 | 6:46 am Nagios Planet - Feed Archives

    This integration allows xMatters users to integrate with Nagios Core and XI to allow for the initiation of communication events triggered by an email alert. Version 2 has been updated to use the xMatters On-Demand REST API, removing any dependencies on your mail servers to ensure notifications are sent to the right people at the right time - in the event that Nagios detects any issues in your infrastructure.

    Read more: http://exchange.nagios.org/directory/Addons/Components/xMatters-Integration/details

  • How to Monitor Domain Expiration with Nagios XI 2014 8 Aug 2014 | 12:31 pm Nagios Planet - Feed Archives

    Nagios XI - Domain Expiration WizardAnyone who rents or owns a domain knows that its registration will expire unless it is renewed. An expired domain can cause loads of issues for groups who rely on the accessibility of said domain whether they are large or small. One major issue that can stem from an expired domain in which you may have forgotten to renew is that a “squatter” could potentially register that domain under their own name and grab your valuable traffic for themselves. With the new Domain Expiration Wizard you can monitor down to the day of when your domain will expire. This is done by checking against the registrar to determine the time remaining so that you can renew your registration before it becomes too late. This is only one of the new wizards included in our latest release of Nagios XI 2014.

    The Domain Expiration wizard can be ran in a few easy steps:

    First, Enter the address of your domain:

    Nagios XI - Domain Expiration Wizard

    Next, you will need to give it two thresholds. In this example, we want Nagios XI to warn us if the domain is going to expire in 30 days, and then we want a critical alert when the expiration is within 10 days:

    Nagios XI - Domain Expiration Wizard

     Finally, you will set up your basic check and notification settings as you would with any other wizard. That’s it, a very simple wizard to set up for the valuable information you will reap!

    Nagios XI - Domain Expiration Wizard

    This wizard comes prepackaged with Nagios XI 2014. If you would like to try out the Domain Expiration Wizard and see the latest version of Nagios XI 2014 in action you can download a fully functional Free 60 Day Trial.

    Don’t forget, Nagios World Conference 2014 is fast approaching! Register today and save $100 on your conference pass!

    Come See Sam Lansing Present at Nagios World Conference 2014

    Read more: http://labs.nagios.com/2014/08/08/how-to-monitor-domain-expiration-with-nagios-xi-2014/

  • check_cnc 8 Aug 2014 | 4:59 am Nagios Planet - Feed Archives

    ControlNCloud Nagios plugin for hybrid monitoring. Get result of the monitoring of your website from the ControlNCloud supervision in Nagios.

    Read more: http://exchange.nagios.org/directory/Plugins/Web-Servers/check_cnc/details

  • Nagios Agent Installation 8 Aug 2014 | 4:59 am Nagios Planet - Feed Archives

    This script will add a remote nagios agent ( centos/rhel/ubuntu/debian/fedora) autometically with basic checks.

    Read more: http://exchange.nagios.org/directory/Distributions/Packaged-Distributions/Nagios-Agent-Installation/details

  • Nagios XI Downtime Framework 7 Aug 2014 | 7:49 am Nagios Planet - Feed Archives

    As we have multiple internal and external employees without a Nagios user, that can do maintenance on a server, there was a general need for a way to put a host and it's services in downtime from a Windows desktop. The script for Windows 2003 or higher launches a window where you can choose to put the host where the script is launched and / or other dependant hosts in Nagios downtime for a defined period of time, with a comment.

    Read more: http://exchange.nagios.org/directory/Plugins/Operating-Systems/Windows/Nagios-XI-Downtime-Framework/details

  • unattended_upgrades reboot required (Ubuntu/Debian) 6 Aug 2014 | 6:47 pm Nagios Planet - Feed Archives

    Displays a critical problem if unattended_upgrades is installed or configured incorrectly. Displays a warning if the server needs rebooting.

    Read more: http://exchange.nagios.org/directory/Plugins/%2A-Plugin-Packages/unattended_upgrades-reboot-required-%28Ubuntu-2FDebian%29/details