🐧 Linux Agent Setup
Step-by-step guide to install the Monitron Server Agent on a Linux server.
📋 Prerequis
- Any Linux distribution (Ubuntu, Debian, CentOS, etc.)
curlinstalled (almost always pre-installed)bcinstalled (for math calculations)- Outbound HTTPS access to your Monitron instance
📥 Step 1: Download the Agent
# Create a directory for the agent
sudo mkdir -p /opt/monitron
# Copy the agent script (from your Monitron installation's agent/ folder)
sudo cp /path/to/monitron/agent/monitron-agent.sh /opt/monitron/
# Make it executable
sudo chmod +x /opt/monitron/monitron-agent.sh
Or download directly:
sudo curl -o /opt/monitron/monitron-agent.sh https://your-monitron.com/agent/monitron-agent.sh
sudo chmod +x /opt/monitron/monitron-agent.sh