ops: add auth activity and session views
This commit is contained in:
@@ -33,11 +33,13 @@ The Debian deployment installs:
|
||||
`metinctl` is a lightweight operational CLI for:
|
||||
|
||||
- showing an operational summary
|
||||
- showing recent auth success/failure activity
|
||||
- viewing inventory
|
||||
- listing managed units
|
||||
- checking service status
|
||||
- listing declared ports
|
||||
- listing recent auth failures
|
||||
- listing recent login sessions
|
||||
- restarting the whole stack or specific channels/instances
|
||||
- viewing logs
|
||||
- listing core files in the runtime tree
|
||||
@@ -77,12 +79,36 @@ Show recent real auth failures and skip smoke-test logins:
|
||||
metinctl auth-failures
|
||||
```
|
||||
|
||||
Show recent auth success/failure flow:
|
||||
|
||||
```bash
|
||||
metinctl auth-activity
|
||||
```
|
||||
|
||||
Show only recent auth failures including smoke tests:
|
||||
|
||||
```bash
|
||||
metinctl auth-activity --status failure --include-smoke
|
||||
```
|
||||
|
||||
Include smoke-test failures too:
|
||||
|
||||
```bash
|
||||
metinctl auth-failures --include-smoke
|
||||
```
|
||||
|
||||
Show recent login sessions from `log.loginlog2`:
|
||||
|
||||
```bash
|
||||
metinctl sessions
|
||||
```
|
||||
|
||||
Show only sessions that still have no recorded logout:
|
||||
|
||||
```bash
|
||||
metinctl sessions --active-only
|
||||
```
|
||||
|
||||
Restart only channel 1 cores:
|
||||
|
||||
```bash
|
||||
|
||||
Reference in New Issue
Block a user