icinga2gitlab

Icinga2gitlab

Send notifications from your icinga2 monitoring server to Gitlab alerts.

Dependencies

  • icinga2
  • python ≥ 3.6

Install

  1. Add an HTTP endpoint for Gitlab alerts at https://\/\/\/-/settings/operations
  2. Put gitlab-host-notification.py and gitlab-service-notification.py under /etc/icinga2/scripts
  3. Put GitlabNotificationCommands.conf under /etc/icinga2/conf.d
  4. Define notifications for gitlab (see Notification.example.conf) using configuration from step 1.
  5. Restart icinga2

License

This prototype is licensed under GPLv3 terms.