Installation
Requirements
- Linux (amd64 or arm64)
- Network access to api.moniqo.dev
Quick install
curl -s https://moniqo.sh/install | bash
Manual install
- Download the binary for your architecture from the Downloads page
- Place it in
/usr/local/bin/moniqo-agent - Create the config file at
/etc/moniqo/agent.conf:
api_endpoint=https://api.moniqo.dev
api_token=YOUR_TOKEN_HERE
- Start the agent:
/usr/local/bin/moniqo-agent --config /etc/moniqo/agent.conf
Systemd service
Create /etc/systemd/system/moniqo-agent.service:
[Unit]
Description=Moniqo Agent
After=network.target
[Service]
Type=simple
ExecStart=/usr/local/bin/moniqo-agent --config /etc/moniqo/agent.conf
Restart=always
RestartSec=30
[Install]
WantedBy=multi-user.target
Then enable and start:
systemctl enable moniqo-agent
systemctl start moniqo-agent