Hello,
I'm curious to know how I implement the following and setup a correct monitor, thanks for any and all input!
1. a script that runs the command 'ambari-server status' ( I have to use sudo ambari-server status manually)
2. Output of command is below of which the PID: 8938, but its labeled 'java' and I need a specific ambari-server status command.
Using Python /usr/bin/python
Ambari-server status
Ambari Server Running
Found Ambari Server PID: 8938 at: /var/run/ambari-server/ambari-server.pid