updates
This commit is contained in:
@@ -0,0 +1,26 @@
|
||||
# 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 `uptimeSeconds` in JSON from both `server/remote-health-json` and `server/pegasus-health-json`, obtained from `/proc/uptime` without 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:
|
||||
|
||||
```sh
|
||||
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:
|
||||
|
||||
```sh
|
||||
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.
|
||||
Reference in New Issue
Block a user