apt_all - Plugin to monitor packages that should be installed on systems using apt-get (mostly Debian, but also RedHat).
The differences between this plugin and the apt plugins, is that this plugin separates each distro with its own plot, and actually draws graphs.
You can add some extra options to the apt call, in order to override your /etc/apt.conf defaults.
[apt_all] env.options -o Debug::pkgDepCache::AutoInstall=false -o APT::Get::Show-Versions=false env.releases stable experimental
"options" is empty by default. "releases" is a space separated list of release names. It defaults to the empty string. This default triggers the automatic detection of available distributions from the URLs of all configured repositories.
Note that apt is called with no extra options by default, so it fully honors your /etc/apt.conf defaults.
This plugin needs a cronjob that runs apt-get update every hour or so
/etc/cron.d/munin-plugin-apt 53 * * * * root apt-get update > /dev/null 2>&1 23 08 * * * root apt-get update > /dev/null
Remember to randomize when these cronjobs are run on your servers
This plugin can also be called with the argument "update", which will run apt-get update
update <maxinterval> <probability> Updates the APT database randomly, guaranteeing there won't be more than <maxinterval> seconds between each update. Otherwise, there is a a 1 in <probability> chance that an update will occur.
#%# family=manual #%# capabilities=autoconf