Home Directory Plugins Operating Systems Linux check debian packages

Search Exchange

Search All Sites

Nagios Live Webinars

Let our experts show you how Nagios can help your organization.

Contact Us

Phone: 1-888-NAGIOS-1
Email: sales@nagios.com

Login

Remember Me

Directory Tree

check debian packages

Rating
2 votes
Favoured:
0
Hits
179335
Files:
FileDescription
check_debian_packagescheck_debian_packages
Nagios CSP

Meet The New Nagios Core Services Platform

Built on over 25 years of monitoring experience, the Nagios Core Services Platform provides insightful monitoring dashboards, time-saving monitoring wizards, and unmatched ease of use. Use it for free indefinitely.

Monitoring Made Magically Better

  • Nagios Core on Overdrive
  • Powerful Monitoring Dashboards
  • Time-Saving Configuration Wizards
  • Open Source Powered Monitoring On Steroids
  • And So Much More!
This plugin checks if there are debian updates available. If so, it issues a warning, if the packages are from security it raises a critical.
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
Reviews (2)
byBenjamin, December 14, 2011
thanks; dodok1
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";