feat: push-based monitoring with remote agent #35

Merged
rafaga21 merged 1 commits from feat/push-monitoring-agent into master 2026-06-11 18:31:48 -04:00
Owner
  • Add database migration 006 for agent_key, agent_installed, agent_install_path, agent_last_seen_at columns
  • Add Server model methods: findByAgentKey, generateAgentKey, regenerateAgentKey, updateAgentLastSeen, setAgentInstalled
  • Auto-generate agent_key on server creation
  • Create AgentService for SSH-based install/uninstall of remote agent
  • Create bin/agent.sh - bash agent script for remote servers
  • Create install/agent-install.sh and install/agent-uninstall.sh
  • Create install/servermanager-agent.service systemd unit
  • Add POST /api/metrics/push endpoint (auth via agent_key)
  • Add web routes for agent install/uninstall/regenerate-key
  • Add agent status section to server detail view with install/uninstall modals
  • Make MonitoringService::saveMetrics() public for reuse
- Add database migration 006 for agent_key, agent_installed, agent_install_path, agent_last_seen_at columns - Add Server model methods: findByAgentKey, generateAgentKey, regenerateAgentKey, updateAgentLastSeen, setAgentInstalled - Auto-generate agent_key on server creation - Create AgentService for SSH-based install/uninstall of remote agent - Create bin/agent.sh - bash agent script for remote servers - Create install/agent-install.sh and install/agent-uninstall.sh - Create install/servermanager-agent.service systemd unit - Add POST /api/metrics/push endpoint (auth via agent_key) - Add web routes for agent install/uninstall/regenerate-key - Add agent status section to server detail view with install/uninstall modals - Make MonitoringService::saveMetrics() public for reuse
rafaga21 added 1 commit 2026-06-11 18:30:15 -04:00
- Add database migration 006 for agent_key, agent_installed, agent_install_path, agent_last_seen_at columns
- Add Server model methods: findByAgentKey, generateAgentKey, regenerateAgentKey, updateAgentLastSeen, setAgentInstalled
- Auto-generate agent_key on server creation
- Create AgentService for SSH-based install/uninstall of remote agent
- Create bin/agent.sh - bash agent script for remote servers
- Create install/agent-install.sh and install/agent-uninstall.sh
- Create install/servermanager-agent.service systemd unit
- Add POST /api/metrics/push endpoint (auth via agent_key)
- Add web routes for agent install/uninstall/regenerate-key
- Add agent status section to server detail view with install/uninstall modals
- Make MonitoringService::saveMetrics() public for reuse
rafaga21 merged commit 16044445d4 into master 2026-06-11 18:31:48 -04:00
rafaga21 deleted branch feat/push-monitoring-agent 2026-06-11 18:31:49 -04:00
Sign in to join this conversation.
No Reviewers
No Label
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: devlab/server-manager#35