Add a macOS Monitor
Monitor and view critical performance metrics of macOS servers including CPU, memory, disk utilization, processes, and network traffic from a single console.
Prerequisite
- Python version 3 or above.
Add a MacOS Monitor
- Log in to Site24x7 and go to Server > Server Monitors > Servers (+) > OS X.
- Use the toggle button to install the agent as root or non root and set proxy.
For eg: To install the agent as a root user with proxy enabled, execute the following command:
bash -c "$(curl -sL https://staticdownloads.site24x7.com/server/Site24x7InstallScript.sh)" readlink -i -key=<device key> -proxy=user:password@proxyhost:proxyport
Having trouble installing the agent? Try with an alternative method. Execute the following command:
Restart the Agent
If you are restarting the agent as a root user, execute the below command:
/opt/site24x7/monagent/bin/monagent restart
For a non root user, execute the below command:
<home_dir_of_user_who_installed_the_agent>/site24x7/monagent/bin/monagent restart
Start/Stop the Agent
To start the agent,
- As a root user
/opt/site24x7/monagent/bin/monagent start - As a non root user
<home_dir_of_user_who_installed_the_agent>/site24x7/monagent/bin/monagent start
To stop the agent,
- As a root user
/opt/site24x7/monagent/bin/monagent stop - As a non root user
<home_dir_of_user_who_installed_the_agent>/site24x7/monagent/bin/monagent stop
Uninstall the Agent
To uninstall the OS X agent,
- as a root user
/opt/site24x7/monagent/bin/uninstall - as a non root user
<home_dir_of_user_who_installed_the_agent>/site24x7/monagent/bin/uninstall
Related Articles
- Server monitoring agent architecture
- Other OS platforms supported: Windows | Linux | FreeBSD
- Server performance metrics