How To Test Nagios Remote NRPE Commands

Author: , September 27th, 2018

There are many things to configure in Nagios, especially when using custom check commands. Recently I needed to configure all of the Continuent Clustering Nagios checks. Once setup on the database side, I wanted to confirm that everything was working. Basics: Run a Remote NRPE Check To test a remote NRPE client command from a […]

How To Check for Infected Files Using Nagios Plugins

Author: , January 25th, 2016

This example shows how to look for infection patterns inside all .php files in a directory tree using find and grep called from a Nagios NRPE plugin written in PERL. You can adjust the behavior by modifying the script, described at the bottom of this post in the Advanced section. On the host to be […]

How To Reset Nagios State

Author: , November 5th, 2015

Every once in a while there is a hiccup in my internet service and every host that Nagios monitors shows DOWN. In those situations, I do not need the hundreds of the emails and text messages generated by Nagios. Here is the procedure for resetting Nagios v3.5.0 running on MacOSX 10.6.8 via a MacPorts install: […]

How To Check Amazon RDS MySQL Servers in Nagios Without Ping

Author: , August 13th, 2015

Amazon Web Services (AWS) offers MySQL Server via the Relational Database Service (RDS) offering. Unfortunately, AWS doesn’t allow ICMP Ping to reach the nodes, so as configured by default, Nagios will fail on the host check. The solution is to submit a Passive Check for that host. Login to the Nagios web console Click on […]

How To Install Nagios/NRPE on AWS

Author: , August 1st, 2011

1 2 3 4 5 yum install nrpe yum install nrpe-plugins yum install nrpe-plugins-all vim /etc/nagios/nrpe.cfg – comment out "allowed_hosts=127.0.0.1" service nrpe start yum install nrpe yum install nrpe-plugins yum install nrpe-plugins-all vim /etc/nagios/nrpe.cfg – comment out “allowed_hosts=127.0.0.1″ service nrpe start

Protected: Denial of Service Attack Records

Author: , December 30th, 2010

There is no excerpt because this is a protected post.

How To Check Memory Utilization With Nagios And NRPE

Author: , December 30th, 2010

Proper Credit for this script is due to “jlightner”, user “MensaWater” on linuxquestions.org – reposted without permission (no contact info available). Original link: http://www.linuxquestions.org/questions/linux-software-2/nagios-check-ram-usage-on-remote-server-747531/ Create the script /usr/local/nagios/libexec/check_mem.sh as shown below (make sure you set execute perms):

How To Fix NRPE “Could not complete SSL handshake” Error

Author: , December 13th, 2010

If you get this obnoxious error fron Nagios/NRPE: “CHECK_NRPE: Error – Could not complete SSL handshake” Make sure to comment out the following line in /etc/nagios/nrpe.cfg: #allowed_hosts=127.0.0.1 Use this to test on MacOSX: /opt/local/libexec/nagios/check_nrpe -H {IP}

How to Control NRPE on MacOSX

Author: , April 4th, 2010

I installed NRPE via the MacPorts command-line tool as root. As a result, I am able to start and stop NRPE with the following commands: * To Start NRPE: /opt/local/share/nrpe/init-script start * To Stop NRPE: /opt/local/share/nrpe/init-script stop

Whew!

Author: , October 30th, 2009

Busy day! Have swapped the laundry into the dryer and fed the feline. Took a little white to tweak the WP post for the Nagios service groups to look just the way I wanted. Finally getting back to the PainMinderâ„¢ med unit label bug in the Show Tab.