Hello,
To monitor Adobe Publish and Author instance, we would like to have a command that can tell us if those instances are up and running. We don't want to use CURL because we don't want to be impacted by Apache.
Reading the documentation, I have found this :
You can also stop and start AEM from the command line. Assuming you have already installed the instance for the first time, the command-line scripts are located here:
<aem-install>/crx-quickstart/bin/
This folder contains the following Unix bash shell scripts:
- start: Starts the instance
- stop: Stops the instance
- status: Reports the Status of the instance
- quickstart: Used to configure start information, if necessary.
So we tried it :
sudo -u aemadm ./status
and we get the following output :
06.01.2016 10:25:51.195 *INFO * [main] Setting sling.home=. (command line)
06.01.2016 10:25:51.318 *INFO * [main] Sent 'status' to /127.0.0.1:44422: OK
What are the values for the status ?
what do we have if something went wrong ? ERROR, KO, FATAL ?
thanks a lot