https://github.com/bjoern-hempel/check_apt_2
https://github.com/bjoern-hempel/check_apt_2
Last synced: 2 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/bjoern-hempel/check_apt_2
- Owner: bjoern-hempel
- Created: 2020-05-24T21:13:28.000Z (almost 5 years ago)
- Default Branch: master
- Last Pushed: 2020-05-25T21:25:49.000Z (almost 5 years ago)
- Last Synced: 2024-12-27T03:13:20.650Z (4 months ago)
- Language: Shell
- Size: 5.86 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# check_apt_2
## Usage
```bash
user$ bin/check_apt_2 -h
This is a simple nagios check script for checking the apt status.Syntax: check_apt [[[-w warning ] [-c critical] [-d days]] | [-h] | [-v]]
options:
-w | --warning The number of updateable packages above which a warning is displayed (default: 10).
-c | --critical The number of updateable packages above which a critical warning is displayed (default: 20).
-d | --days The number of days before an update warning is displayed (default: 14).-h | --help Shows this help dialog.
-v | --version Shows the version of this script.
``````bash
user$ bin/check_apt_2
APT OK: 0 packages available for upgrade (0 critical updates).
```