Retrieve statistics from monitered systems #1

Open
opened 2024-09-01 22:39:26 +00:00 by ezri · 0 comments
Owner

We must have a mechanism by which we can retrieve real-time performance statistics from a monitored system. This data must consist of, at minimum, the following:

  • CPU usage (load average is fine)
  • Memory and Swap usage
  • Disk usage for all physical mount points
    • Can exclude EFI partition for systems which use one
  • Uptime
  • Process count
  • Temperatures for physical computers
  • Network interface details
    • Name
    • MAC address (if applicable)
    • IP addresses
    • I/O rates

Some ideas of how to implement:

  • SSH-based polling
    • Pros:
      • No software required on systems
      • Easy to provision new systems
    • Cons:
      • Either constant reconnects (pollutes logs) or perpetual connections (security risk?)
      • Likely low polling rate
      • Server does all the work
  • Custom daemon on systems
    • Pros:
      • Easily extensible
      • Can perform all tasks required
      • Can vary report rate based on system load
    • Cons:
      • Requires software installed on systems
      • Extra load on individual systems
We must have a mechanism by which we can retrieve real-time performance statistics from a monitored system. This data must consist of, at minimum, the following: - [ ] CPU usage (load average is fine) - [ ] Memory and Swap usage - [ ] Disk usage for all physical mount points - Can exclude EFI partition for systems which use one - [ ] Uptime - [ ] Process count - [ ] Temperatures for physical computers - [ ] Network interface details - [ ] Name - [ ] MAC address (if applicable) - [ ] IP addresses - [ ] I/O rates Some ideas of how to implement: - SSH-based polling - Pros: - No software required on systems - Easy to provision new systems - Cons: - Either constant reconnects (pollutes logs) or perpetual connections (security risk?) - Likely low polling rate - Server does all the work - Custom daemon on systems - Pros: - Easily extensible - Can perform all tasks required - Can vary report rate based on system load - Cons: - Requires software installed on systems - Extra load on individual systems
ezri self-assigned this 2024-09-01 22:39:26 +00:00
ezri added this to the MVP project 2024-09-01 22:39:26 +00:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: ezri/dashboard#1
No description provided.