04 Oct 2022 11:05 PM - last edited on 05 Oct 2022 09:42 AM by MaciejNeumann
Hello - Is there a command to get the status of Dynatrace OneAgent on AIX servers?
Looking for the OneAgent service commands for AIX machines which can be used with configuration management tools like Puppet or Ansible to stop, start & get the status of OneAgent on AIX servers. Below commands are for Windows & Linux servers. Looking similar commands for AIX which can be used with the configuration management tools.
Windows [PowerShell Command]:
OneAgent Service Status - Get-Service "Dynatrace OneAgent" | select name, displayname, status
OneAgent Service Start - net start "Dynatrace OneAgent"
OneAgent Service Stop - net stop "Dynatrace OneAgent"
Linux:
OneAgent Service Status - systemctl status oneagent | service oneagent status
OneAgent Service Start - systemctl start oneagent | service oneagent start
OneAgent Service Stop - systemctl stop oneagent | service oneagent stop
Best Regards,
Jeffery
Solved! Go to Solution.
04 Oct 2022 11:23 PM - edited 04 Oct 2022 11:24 PM
Hi @JDS the oneagent service script for AIX is located in <INSTALL_PATH>/agent/initscripts/ I leave you the short link to the documentation.
https://www.dynatrace.com/support/help/shortlink/stop-restart-oneagent-aix
Hope it helps.
11 Oct 2022 03:14 PM
Thanks @DanielS. This was really helpful.