Nagios is an extremely popular open source IT infrastructure monitoring tool, that offers monitoring and alerting for systems, network devices, applications, and services. Nagios is highly configurable, easily extensible, hence very pervasive. OpsGenie is an alert and notification management solution that is highly complementary to Nagios.
OpsGenie provides a two-way rich integration plugin for Nagios. Besides that, OpsGenie provides number of easy to use integration methods (email, API, command line tools, programming libraries, etc.) to ensure all monitoring tools can be easily integrated with OpsGenie. Nagios can be integrated with OpsGenie via the email interface, or by executing scripts in any language that use OpsGenie Web API. This document describes two supported integrations options.
1. Integration using OpsGenie Nagios Plugin
OpsGenie Nagios plugin supports bi-directional integration with Nagios. Integration leverages OpsGenie's nagios-specific executable and marid utility to automatically create rich alerts (status, alert histogram, trends, etc.) and synchronizes alert status between Nagios and OpsGenie. OpsGenie Nagios plugin is the recommended integration method as it enables Nagios to take advantage advanced capabilities provided by OpsGenie.
2. Integration via Email
Nagios can send alert notifications via email using an email utility such as sendmail. OpsGenie
"Email integration" supports processing emails sent by Nagios, parsing the relevant information
from the emails, and create & close alerts in OpsGenie.
Integration via email does not require any software components to be installed on the Nagios
server, and can be implemented by simply modifying the appopriate configuration files, therefore
it can be implemented very quickly.