Help Docs

Add a FreeBSD Monitor

Install the FreeBSD monitoring agent to monitor the performance and usage of your FreeBSD servers. Monitor and view critical performance metrics including CPU, memory, disk utilization, processes and network traffic in a single dashboard.

Supported FreeBSD versions: 9 or above

Prerequisite

  • Python version 3 or above 

Add a FreeBSD Monitor

  1. Log in to Site24x7 and go to Server > Server Monitors > Servers (+) > FreeBSD.
  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:
    fetch https://staticdownloads.site24x7.com/server/Site24x7InstallScript.sh && sh Site24x7InstallScript.sh -i -key=<device key> -proxy=user:password@proxyhost:proxyport

Having trouble installing the agent? Try with an alternative method. Execute the following command:

fetch https://staticdownloads.site24x7.com/server/Site24x7MonitoringAgent.install
sh 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 

Uninstall the agent

Execute the below command if you are uninstalling the agent as a root user:

/opt/site24x7/monagent/bin/uninstall

For a non root user, execute the below command: 

<home_dir_of_user_who_installed_the_agent>/site24x7/monagent/bin/uninstall

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

Check the agent status

For a root user:

/opt/site24x7/monagent/bin/monagent status

For a non root user:

<home_dir_of_user_who_installed_the_agent>/site24x7/monagent/bin/monagent status

Resource Check Profile

Resource Check Profiles can be used to monitor resources including URL, ports, and syslogs. The resources to be monitored are added as checks to a resource check profile and this profile can be associated with any number of server monitors.  

Note

A profile that is associated with a server monitor cannot be deleted, it can only be edited. Being an irreversible action, caution must be taken before deleting the profile.

Related Articles

Was this document helpful?

Would you like to help us improve our documents? Tell us what you think we could do better.


We're sorry to hear that you're not satisfied with the document. We'd love to learn what we could do to improve the experience.


Thanks for taking the time to share your feedback. We'll use your feedback to improve our online help resources.

Shortlink has been copied!