Return-Path: X-Original-To: apmail-ambari-dev-archive@www.apache.org Delivered-To: apmail-ambari-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 686F810D4C for ; Mon, 8 Dec 2014 17:34:34 +0000 (UTC) Received: (qmail 41507 invoked by uid 500); 8 Dec 2014 17:34:34 -0000 Delivered-To: apmail-ambari-dev-archive@ambari.apache.org Received: (qmail 41473 invoked by uid 500); 8 Dec 2014 17:34:34 -0000 Mailing-List: contact dev-help@ambari.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@ambari.apache.org Delivered-To: mailing list dev@ambari.apache.org Received: (qmail 41451 invoked by uid 99); 8 Dec 2014 17:34:33 -0000 Received: from reviews-vm.apache.org (HELO reviews.apache.org) (140.211.11.40) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 08 Dec 2014 17:34:33 +0000 Received: from reviews.apache.org (localhost [127.0.0.1]) by reviews.apache.org (Postfix) with ESMTP id D0DB71D223C; Mon, 8 Dec 2014 17:34:30 +0000 (UTC) Content-Type: multipart/alternative; boundary="===============0758303431645028386==" MIME-Version: 1.0 Subject: Re: Review Request 28644: Alerts: Nagios Target for Notifications From: "Yurii Shylov" To: "Nate Cole" , "Jonathan Hurley" Cc: "Yurii Shylov" , "Ambari" Date: Mon, 08 Dec 2014 17:34:30 -0000 Message-ID: <20141208173430.26419.60221@reviews.apache.org> X-ReviewBoard-URL: https://reviews.apache.org Auto-Submitted: auto-generated Sender: "Yurii Shylov" X-ReviewGroup: Ambari X-ReviewRequest-URL: https://reviews.apache.org/r/28644/ X-Sender: "Yurii Shylov" References: <20141208160008.26419.42037@reviews.apache.org> In-Reply-To: <20141208160008.26419.42037@reviews.apache.org> Reply-To: "Yurii Shylov" X-ReviewRequest-Repository: ambari --===============0758303431645028386== MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 8bit ----------------------------------------------------------- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/28644/ ----------------------------------------------------------- (Updated Дек. 8, 2014, 5:34 п.п.) Review request for Ambari, Jonathan Hurley and Nate Cole. Changes ------- Fixed script locations Bugs: AMBARI-8165 https://issues.apache.org/jira/browse/AMBARI-8165 Repository: ambari Description ------- The Ambari Server will be responsible for scheduling the dispatching of alerts that have been received and not yet processed for outbound notification. On a schedule, Ambari will determine the alert targets that should be receiving some sort of notification and then it will gather all alert data for all alerts that are destined for that alert target. Nagios is a required notification mechanism. The Nagios server will surface the current state of each alert defined in the system. In order to accomplish this there are two possible methods for implementation: 1) Write a python script that Nagios will execute on its own schedule which can then retrieve the current alerts from Ambari's REST APIs. The script will take a combination of parameters (host, security, certificate, etc) in order to make the requests. 2) Write a dispatcher that can handle pushing data to a Nagios server. There will no longer be an agent running on Nagios, so this method would need to work with Nagios' built-in mechanism, if any, for publishing data into Nagios. Diffs (updated) ----- contrib/addons/package/deb/create_nagios_addon_deb.sh a64e045 contrib/addons/package/rpm/create_nagios_addon_rpm.sh 42a2e28 contrib/nagios-alerts/plugins/ambari_alerts.py PRE-CREATION contrib/nagios-alerts/plugins/generate_nagios_objects.py PRE-CREATION Diff: https://reviews.apache.org/r/28644/diff/ Testing ------- Total run:674 Total errors:0 Total failures:0 OK Thanks, Yurii Shylov --===============0758303431645028386==--