check_apk/README.md

37 lines
1.3 KiB
Markdown
Raw Permalink Normal View History

2024-02-21 23:48:38 +01:00
# Check APK
Nagios/Icinga check plugin to monitor available upgrades on Alpine Linux and its APK packages manager.
## Installation
### From Dockerfile
```dockerfile
# Install check_apk
ADD https://gitea.zionetrix.net/bn8/check_apk/raw/branch/master/check_apk /usr/lib/nagios/plugins/check_apk
RUN chmod 750 /usr/lib/nagios/plugins/check_apk
```
### Manual
2024-02-21 23:48:38 +01:00
```bash
apk add wget
mkdir -p /usr/lib/nagios/plugins
wget -O /usr/lib/nagios/plugins/check_apk \
https://gitea.zionetrix.net/bn8/check_apk/raw/branch/master/check_apk
chmod 750 /usr/lib/nagios/plugins/check_apk
```
## Copyright
Copyright (c) 2024 Benjamin Renard <brenard@zionetrix.net>
## License
This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License version 3 as published by the Free Software Foundation.
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.