1.2 KiB
1.2 KiB
Pegasus Monitor 1.2.1 (Build 4) — Server uptime
- Display Linux server uptime beneath each server's health count in the menu-bar server list.
- Show an Uptime row in the selected-server overview.
- Use compact days, hours and minutes; for example
12d 4h 8m. - Include
uptimeSecondsin JSON from bothserver/remote-health-jsonandserver/pegasus-health-json, obtained from/proc/uptimewithout elevated privileges. - Remain compatible with older monitoring agents: uptime shows Not available until the agent is updated.
- Preserve 1.2.0 service discovery, required service rules, configuration, signing and notarization scripts.
Deploy the updated agent
For ordinary Ubuntu/Debian servers:
scp server/remote-health-json USER@HOST:/tmp/pegasus-monitor-health-json
ssh USER@HOST 'sudo install -m 755 /tmp/pegasus-monitor-health-json /usr/local/bin/pegasus-monitor-health-json'
For Pegasus's specialised agent:
scp server/pegasus-health-json mag@192.168.1.2:/tmp/pegasus-health-json
ssh mag@192.168.1.2 'sudo install -m 755 /tmp/pegasus-health-json /usr/local/bin/pegasus-health-json'
Keep the original SSH command configuration for each server. Refresh the Mac application after agent updates.