Search Exchange
Search All Sites
Nagios Live Webinars
Let our experts show you how Nagios can help your organization.Login
Directory Tree
check debian packages
This plugin doesn\'t update the apt database, you\'re supposed to have a cron line that already does an apt-get update.
It also needs sudo, add something like this to /etc/sudoers:
nagios servername=NOPASSWD:/usr/lib/nagios/plugins/check_debian_packages
It also needs sudo, add something like this to /etc/sudoers:
nagios servername=NOPASSWD:/usr/lib/nagios/plugins/check_debian_packages
Reviews (2)
bydodok1, March 31, 2011
there should be apt-get replaced with aptitude and you don't need sudo anymore (and held packages are ignored).
This is the change
my $CMD_APT = "/usr/bin/aptitude -v -s -y safe-upgrade";
This is the change
my $CMD_APT = "/usr/bin/aptitude -v -s -y safe-upgrade";