check_apk

Check APK

Nagios/Icinga check plugin to monitor available upgrades on Alpine Linux and its APK packages manager.

Installation

From 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

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

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.