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.
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.
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.
Marking this as resolved for 4.0, but this will also be merged into the other branches, once approved.