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
Table of contents
- Prerequisite
- Add a FreeBSD monitor
- Restart the agent
- Uninstall the agent
- Start/stop the agent
- Check agent status
- Resource check profile
Prerequisite
- Python version 3 or above
Add a FreeBSD Monitor
- Log in to Site24x7 and go to Server > Server Monitors > Servers (+) > FreeBSD.
- 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.
Related Articles
- Server monitoring architecture
- Other OS platforms supported: Windows | Linux | OS X
- Server performance metrics