• Products
  • Get started
  • Documentation
  • Resources

Monitor Marid with a Heartbeat

To monitor Marid, you need to be able to use Opsgenie Heartbeat Monitoring functionality. To use
Opsgenie Heartbeat Monitoring, add a Heartbeat Integration and add heartbeats. To send heartbeats from Marid to Opsgenie, configure Marid as a web server and send heartbeats by using Marid's Script Proxy functionality. Marid should send heartbeats periodically, and the period should be shorter than the heartbeat's interval. You can get detailed information by referring following support documents.

Marid has a built-in script (SendHeartbeat.groovy). The script uses a special opsgenie variable to send heartbeat with the least lines of code.

Script File



1 2 logger.debug("sending heartbeat with params:${params}") opsgenie.heartbeat(params)

URL to be Called via CURL


1 curl -XPOST 'http://<marid_server>:<marid_port>/script/SendHeartbeat.groovy?name=maridheartbeat' -d 'content data'

Expected curl Output


1 {"success":true}


Last modified on Mar 30, 2021
Cached at 10:47 AM on Sep 20, 2021 |

Additional Help