How To Check Amazon RDS MySQL Servers in Nagios Without Ping

Published Date Author: , Posted August 13th, 2015 at 3:57:08pm

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 Hosts
  • Click on the desired host in the list
  • Click on “Disable active checks of this host” in the from the list of Host Commands on the right side of the window.
  • Click Commit, then Done
  • Click on “Submit passive check result for this host” in the from the list of Host Commands on the right side of the window.
  • Set “Check Result” to UP
  • Set “Check Output” to check_tcp -p 3306
  • You may leave “Performance Data” blank
  • Click Commit, then Done

This fix may be used in any situation where ICMP Ping does not work, but the service check does. For example, this is a passive check for a web server:
check_tcp -p 80

No comments as yet.

Leave Your Comment  Leave a comment

All fields marked with "*" are required.