27 Aug 2019 04:09 PM - last edited on 07 Mar 2024 08:54 AM by Michal_Gebacki
Hello.
I need to check the status of zremote agent and activegate agente.
Are someone provide the commands to check this information?
Solved! Go to Solution.
27 Aug 2019 04:21 PM
Accordng to this documentation:
https://www.dynatrace.com/support/help/shortlink/stop-restart-activegate
You can Check AG status on Linux by this command:
service dynatracegateway status
On Windows there no such command. But you will see only information about if AG is running or not. About monitoring Mainframe you will not have any information. You can use Dynatrace Environment API for checking metrics related to zRemote for looking issues there. I don’t know any specific command for such case.
Sebastian
15 Feb 2024 03:51 PM
By now there is also a CLI command to check the status of zRemote and restart it, see https://docs.dynatrace.com/docs/setup-and-configuration/dynatrace-oneagent/installation-and-operatio...
"You need root privileges to execute these commands.
To query the current status of the zRemote module:
service zremote status
To stop, start, or restart the zRemote module:
service zremote stop|start|restart|forcestop
The difference between stop and forcestop is that the stop command instructs the process to execute its controlled shutdown routine, while forcestop forces the process shutdown."