Thursday, June 7, 2012

Monitoring informix with nagios and infx

infx contains a status monitor, that will provide the real time state of an instance. It doesn't record any history, or send any notifications.

If, for example, you want to be notified when there is a problem, you need to use a third party monitoring tool. infx provides the status information about informix, and the monitoring tool records the history and sends notifications etc.

The purpose of this post is to describe the process of integrating the infx status monitor with another monitoring tool, in this case nagios.

overview

  1. set up infx server with nagios user and plug in
  2. create the check_infx command to output the host status
  3. set up nagios sudo permissions for check_infx command
  4. define the infx service check in nagios
  5. restart the nagios service