Auth Server should only alert when enabled

Description

Currently the monitoring of Auth Server checks the listening port. However, if security.enabled = false, Auth Server process will run but not listen on a port. The Ambari monitoring configuration should be dynamic to check only the process in that case.

Release Notes

CDAP Ambari service updated to use scripts for Auth Server/Router alerts in Ambari due to Ambari not supporting CDAP's /status endpoint with WEB check.

Activity

Show:
Chris Gianelloni
December 6, 2016, 10:19 PM

Ambari doesn't support that sort of monitoring.

PORT - simple TCP to port only
WEB - simple HTTP to port only (not URI)
SCRIPT - custom-written Python script (contained in execute def)

We could handle the port checks in the script, but that may not work, as configuration isn't always available. For now, I am going to switch this to a process check, using a script, like CDAP Master. I am also going to change Router, since it gets a 404 using WEB (won't go to /status) and PORT doesn't support the different listening ports whether SSL is enabled or not like WEB does.

Chris Gianelloni
December 6, 2016, 10:35 PM
Chris Gianelloni
December 13, 2016, 11:23 PM
Chris Gianelloni
December 13, 2016, 11:30 PM

Marking this as resolved for 4.0, but this will also be merged into the other branches, once approved.

Fixed

Assignee

Chris Gianelloni

Reporter

Derek Wood

Labels

None

Docs Impact

None

UX Impact

None

Components

Fix versions

Affects versions

Priority

Major