apt-upgradable - Yet another munin plugin to monitor pending upgrades using apt
Linux servers using the apt package manager with aptitude installed (Ubuntu and Debian derivatives mostly)
Comparison to the other default munin plugins `apt` and `apt_all`. First, both use plain apt to determine the upgrades whereas this plugin uses aptitude. The reason to use aptitude was because of it's useful search syntax, which simplified the plugin.
apt
This plugin does not generate a graph. It's only used to generate warnings.
apt_all
This plugin graphs pending upgrades separated by section.
apt-upgradablegroups them by importance. Currently only the groups "essential" and "normal" and "important" are available.
NOTE: You may need to schedule updates of apt (apt update) to get the proper values. On Ubuntu systems this is enabled by default!
No configuration is required by default. All parameters are optional.
The plugin assumes that aptitude is available under /usr/bin/aptitude. If it's not available in that location, you can override it with the config variable aptitude_path.
You can change the colors if you want using essential_color and upgrades_color.
Additionally, it's possible to manually specify a list of packages which are considered important for this system. The variables for this are: important and important_color. This is a simple space separated list of package names.
Having non-zero important packages is considered a warning!
Here is a full config example:
[apt-upgradable]
env.aptitude_path /usr/local/sbin/aptitude
env.essential_color 0000ff
env.upgrades_color ffff00
env.important postgresql apache2
env.important_color 000000The graph shows packages that can be upgraded on your system. In general you would want all your packages at the newest version, as this value is increasing, you would want to plan an upgrade procedure.
#%# family=auto
#%# capabilities=autoconfNone known.
Michel Albert <michel % albert.lu>
GPLv2