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 OpManager Nexus 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, execute the following command:
    fetch https://staticdownloads.site24x7.com/server/Site24x7FullStackAgent_LinuxIns.sh
    bash Site24x7FullStackAgent_LinuxIns.sh -i -automation=true -key=<device key>

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

fetch https://staticdownloads.site24x7.com/server/Site24x7FullStackAgent_CrossPlatform.install
bash Site24x7FullStackAgent_CrossPlatform.install -i -automation=true -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

Related Articles

Shortlink has been copied!