Wir nutzen Cookies, um Ihnen eine optimale Nutzung dieser Webseite zu ermöglichen. Mehr Informationen finden Sie im Datenschutzhinweis. Wir nehmen an, dass Sie damit einverstanden sind, falls Sie diese Webseite weiter besuchen.

Ihre Cookie-Einstellungen
Ihre Einstellungen wurden aktualisiert.
Damit die Änderungen wirksam werden, löschen Sie bitte Ihre Browser-Cookies und den Cache und laden dann die Seite neu.

Check manual page of apt

Checkmk Manual

Suche im Handbuch

Check for normal and security updates via APT

Distribution: official part of Check_MK
License: GPL
Supported Agents: Linux

This check checks for available normal and security updates by trying apt-get update or apt-get dist-upgrade without actually installing packets. It works on Debian and Ubuntu. You need to deploy the plugin mk_apt in order for the check to work. It is recommended to install this plugin with asynchronous execution and at an interval with at least one hour.

The check gets CRIT if there are security updates available. It gets WARN, if there are other updates available. These two states can be overriden via a WATO rule.

If updates are performed on a host the WARN and CRIT state will remain until the next check interval. To invalidate the cached data and to trigger the check execution immediately, you can run the command:

touch -t 197012081200 /var/lib/check_mk_agent/cache/*mk_apt.cache

If you don't want to invalidate the cache manually you can copy the apt hook under ~/share/doc/check_mk/treasures/mk_apt_hook to /etc/apt/apt.conf.d/98mk-apt.

Discovery

One service will be created for each system where the mk_apt plugin is being installed and the command apt-get is present.