Tag Archive for 'linux'

Monitoring a Linux Machine with Nagios XI & NCPA

Last week we discussed monitoring a Windows machine with NCPA and Nagios XI to make sure that the server was functioning properly.  In order to showcase the cross-platform capabilities of NCPA (Nagios Cross-Platform Agent) we decided it would be a good idea to show how to monitor a Linux machine as well.  In this article I will show you how easy it is to monitor a Linux box using the same exact agent that we used to monitor the Windows box last week.  Here’s how you do it.

1. Installing and configuring NCPA on the remote box

Instructions on installing NCPA can be found here: NCPA Installations Instructions. For more info on acquiring the correct RPM packages for your Linux distro, please check our documentation here: Finding the Right RPM

Run the following commands from the command line as root:

Note: For my example, I used CentOS 6.5, 64-bit, so I ran:

Next, you will have to edit the “community_string” in the NCPA config file. The “community_string” is the token that you will use to log into the agent and also allows the Nagios XI server to communicate with the NCPA agent. This process is comparable to entering a token in the GUI installer when monitoring a Windows machine. Continue reading ‘Monitoring a Linux Machine with Nagios XI & NCPA’

NRPE 2.15 Released – Now with IPv6 Support

NRPE 2.15 was released earlier today. The primary update in this version of NRPE is full support for IPv6.

The NRPE daemon now has the ability to listen on IPv4 and/or IPv6 addresses. In addition, the check_nrpe plugin now accepts switches that specify whether an IPv4 or IPv6 connection should be made to the NRPE daemon. The NRPE daemon has always had the ability to perform checks using IPv6, assuming the plugin it runs supports it. Thanks to Leo Baltus for the patch that made this possible.

IPv6 communication has been tested on Linux (RHEL/CentOS) and is known to work there. It also known to compile on other Unices that we have access to: Solaris 10, AIX 5.3 and 6.1 and HP-UX 11i v1. Feedback on these and other platforms is welcome. Bugs or enhancements (preferably with patches) can be submitted to http://tracker.nagios.org. Other discussion/questions can be sent to the mailing lists or http://support.nagios.com/forum.

Bash and Python NRDP Clients for Nagios

Now available 2 new clients to send passive check results to Nagios Remote Data Processor (NRDP) server.

We have just released:
send_nrdp.sh Bash NRDP Client
send_nrdp.py Python NRDP Client

You no longer need to install PHP or Perl on your client machines to run passive checks with NRDP.  Both of these implementations can accept result piped from STDIN and you can change the delimiters to whatever you like.

STDIN results should be in the following order, for HOST checks:

for SERVICE checks

Additionally, the bash version can take an XML file of check results formatted like so: