Github user anandsubbu commented on a diff in the pull request:
https://github.com/apache/metron/pull/894#discussion_r161185471
--- Diff:
metron-deployment/packaging/ambari/metron-mpack/src/main/resources/common-services/KIBANA/5.6.2/package/scripts/kibana_master.py
---
@@ -93,7 +96,26 @@ def status(self, env):
Logger.info("Status of the Master")
- Execute("service kibana status")
+ # return codes defined by LSB
+ #
http://refspecs.linuxbase.org/LSB_3.0.0/LSB-PDA/LSB-PDA/iniscrptact.html
+ cmd = ('service', 'kibana', 'status')
+ rc, out = shell.call(cmd, sudo=True, quiet=False)
+
+ if rc == 3:
--- End diff --
Same comment as Kibana
---