From 998e1f9ef43f8fd6e2a7a3722bfd4f3f734c450d Mon Sep 17 00:00:00 2001 From: Ramesh Nachimuthu Date: Thu, 13 Mar 2014 19:26:00 +0530 Subject: Notification: Notification handler for ovirt notification Added a new notification handler to notify nagios events to ovirt. A new contact ovirt is added with the handler which can sent events/alerts to ovirt engine using Rest API. By default all gluster related configuration entities like host, volume, gluster, bricks will have this contact. By default contact ovirt will have some default values for ovirt engie rest api and user fields. User has to fill the right values in ovirt contact defined in gluster-contacts.cfg file. Ovirt password has to be configured as a user variable $USER3$ in file /etc/nagios/private/resource.cfg. User variable $USER3$ used in command to pass the password to the handler. Change-Id: I19074af6ae1ee4a8c16d8821b10a1c3a345f321a Signed-off-by: Ramesh Nachimuthu Reviewed-on: https://cuckoo.blr.redhat.com:8443/8 Reviewed-by: Timothy Asir Reviewed-by: Sahina Bose --- config/Makefile.am | 1 + 1 file changed, 1 insertion(+) (limited to 'config/Makefile.am') diff --git a/config/Makefile.am b/config/Makefile.am index 7c3c8be..7e19136 100644 --- a/config/Makefile.am +++ b/config/Makefile.am @@ -4,6 +4,7 @@ glusternagiosconf_DATA = \ gluster-host-groups.cfg \ gluster-host-services.cfg \ gluster-templates.cfg \ + gluster-contacts.cfg \ $(NULL) glusternagiosdefaultconfdir = $(sysconfdir)/nagios/gluster/default -- cgit