Skip to content

Commit

Permalink
Merge pull request #11 from koelle25/readme-example-output
Browse files Browse the repository at this point in the history
doc: Align examples check output with PR #9
  • Loading branch information
nbuchwitz authored Feb 13, 2025
2 parents 225ee7a + 468683a commit 63d91f9
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -75,8 +75,11 @@ For further information have a look at the [opnsense documentation](https://docs
**Check for updates**
```shell
./check_opnsense.py -H <OPNSENSE_HOSTNAME> --api-key <API_KEY> --api-secret <API_SECRET> -m updates
CRITICAL - 42 pending updates. Subsequent reboot required.
CRITICAL - There are 43 updates available, total download size is 199.1MiB. This update requires a reboot.
./check_opnsense.py -H <OPNSENSE_HOSTNAME> --api-key <API_KEY> --api-secret <API_SECRET> -m updates
WARNING - 14 pending updates.
WARNING - There are 14 updates available, total download size is 64.8MiB.
./check_opnsense.py -H <OPNSENSE_HOSTNAME> --api-key <API_KEY> --api-secret <API_SECRET> -m updates
OK - System up to date
```

0 comments on commit 63d91f9

Please sign in to comment.