Help Admin Adding a monitor Add a macOS Monitor

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

  1. Log in to Site24x7 and go to Server > Server Monitors > Servers (+) > OS X
  2. 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:

curl -LO https://staticdownloads.site24x7.com/server/Site24x7MonitoringAgent.install
bash Site24x7MonitoringAgent.install -i -key=<device_key>

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

Was this document helpful?
Thanks for taking the time to share your feedback. We’ll use your feedback to improve our online help resources.

Help Admin Adding a monitor Add a macOS Monitor