Search Exchange
Search All Sites
Nagios Live Webinars
Let our experts show you how Nagios can help your organization.Login
Directory Tree
opsgenie_heartbeat_checker
2014-09-12
- Nagios 1.x
- Nagios 2.x
- Nagios 3.x
- Nagios 4.x
- Nagios XI
Apache
18966
Meet The New Nagios Core Services Platform
Built on over 25 years of monitoring experience, the Nagios Core Services Platform provides insightful monitoring dashboards, time-saving monitoring wizards, and unmatched ease of use. Use it for free indefinitely.
Monitoring Made Magically Better
- Nagios Core on Overdrive
- Powerful Monitoring Dashboards
- Time-Saving Configuration Wizards
- Open Source Powered Monitoring On Steroids
- And So Much More!
The plugin is a golang executable with no dependencies and sends heartbeat messages to OpsGenie via HTTPS. The plugin requires OpsGenie subscription (http://www.opsgenie.com, free subscription plan available).
The plugin takes the required OpsGenie API key and heartbeat name (configured in OpsGenie) as program arguments.
Usage Instructions:
1- Please create an OpsGenie account if you haven't done already.
2- Add a heartbeat in OpsGenie Heartbeats page.
3- Create a OpsGenie Heartbeat integration from Integrations page and copy its Api key.
4- Download the binary file, heartbeat (provided in https://github.com/opsgenie/opsgenie-heartbeat/releases/tag/v1.0), into your Nagios libexec directory.
5- In Nagios, define a command like so:
define command{
command_name opsgenie_heartbeat
command_line /usr/local/nagios/libexec/heartbeat -apiKey $ARG1$ -name $ARG2$
}
6- Define a service that will run the command like so:
define service {
service_description OpsGenie Heartbeat
host_name localhost
check_interval 10
check_period 24x7
max_check_attempts 60
retry_interval 1
notification_interval 60
check_command opsgenie_heartbeat!API_KEY!HEARTBEAT_NAME
}
where API_KEY is the api key you acquired from OpsGenie integration, and HEARTBEAT_NAME is the name of the heartbeat you added.
1- Please create an OpsGenie account if you haven't done already.
2- Add a heartbeat in OpsGenie Heartbeats page.
3- Create a OpsGenie Heartbeat integration from Integrations page and copy its Api key.
4- Download the binary file, heartbeat (provided in https://github.com/opsgenie/opsgenie-heartbeat/releases/tag/v1.0), into your Nagios libexec directory.
5- In Nagios, define a command like so:
define command{
command_name opsgenie_heartbeat
command_line /usr/local/nagios/libexec/heartbeat -apiKey $ARG1$ -name $ARG2$
}
6- Define a service that will run the command like so:
define service {
service_description OpsGenie Heartbeat
host_name localhost
check_interval 10
check_period 24x7
max_check_attempts 60
retry_interval 1
notification_interval 60
check_command opsgenie_heartbeat!API_KEY!HEARTBEAT_NAME
}
where API_KEY is the api key you acquired from OpsGenie integration, and HEARTBEAT_NAME is the name of the heartbeat you added.
Reviews (0)
Be the first to review this listing!