Runbook
Use this runbook for day-to-day collector operations.
Start the Collector
Section titled “Start the Collector”ms-teams-agent run --config /path/to/config.yamlContinuous mode runs one collection cycle every collection_config.interval_collection_minutes.
Recommended Operation Flow
Section titled “Recommended Operation Flow”- Validate configuration:
ms-teams-agent validate --config ./config.yaml- Test authentication and backend connectivity:
ms-teams-agent test-connection --config ./config.yaml- Start collection:
ms-teams-agent run --config ./config.yamlLinux Service Operations
Section titled “Linux Service Operations”sudo ms-teams-agent service status --instance defaultsudo ms-teams-agent service restart --instance defaultsudo journalctl -u ms-teams-observability-agent@default.service -fSee Service Management for setup and upgrade flow.
Common Errors and Fixes
Section titled “Common Errors and Fixes”| Error / symptom | Most likely cause | What to do |
|---|---|---|
Configuration file not found | Wrong config path | Verify path and file permissions |
Configuration validation failed | Invalid or missing YAML values | Compare with your template and re-run validate |
License validation failed | Missing, invalid, or expired license | Replace with a valid license file |
No exporters enabled! | All outputs disabled | Enable at least one output backend |
| No data in dashboards | Connectivity or auth issue | Re-run test-connection and check backend setup |
| Service setup fails | Missing Linux/systemd/root requirements | Use supported host and run with sudo |
Quick Health Checks
Section titled “Quick Health Checks”- Collector log file:
tail -f logs/agent.log- Service logs:
journalctl -u ms-teams-observability-agent@default.service -f- Collection state:
ms-teams-agent state showOperational Notes
Section titled “Operational Notes”- Use
--dry-runonly for testing because it does not export data. - If data seems delayed, wait at least one full collection interval.
- Keep license and credentials at stable system paths with restricted permissions.