Bug#317763: [Pkg-nagios-devel] Bug#317763: Please add apt-get security check

sean finney sean finney <seanius@debian.org>, 317763@bugs.debian.org
Mon, 11 Jul 2005 19:22:09 -0400


--u3/rZRmxL6MmkK24
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

reassign 317763 nagios-plugins
thanks

hi,

On Mon, Jul 11, 2005 at 01:51:14PM +0200, Peter Palfrader wrote:
> Ganneff asked me to submit this script.
>=20
> It runs apt-get update and apt-get --simulate upgrade.  It will return
> critical if there are security updates, and ok if there are no or other
> upgrades available.

cool! a few comments on this script:

- it should be reported against nagios-plugins, not nagios (i fixed this)
- you should consider also posting this upstream at the sourceforge
  site (i'm on the upstream nagios-plugins team, so you can be sure
  to get a response).
- will your plugin work for security updates even against local security
  mirrors that don't have security in the url?
- it would be nice if the plugin could be configured via cmdline
  arguments to exit warning/critical for whether or not there are
  security updates available
- it would be nice if the plugin could be configured via cmdline
  arguments to exit warning/critical for whether or not there are
  normal updates available
- it would be nice if the plugin could be configured via cmdline
  arguments to not do the apt-get upgrade half of the check.


	sean

--=20

--u3/rZRmxL6MmkK24
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: Digital signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (GNU/Linux)

iD8DBQFC0v8hynjLPm522B0RAgekAJ0Sk4dmXP3VJVTMuLlvrPx6hDXZeQCggae3
PeD0F2QtZ0Bp59pYn+MrEF0=
=gd7O
-----END PGP SIGNATURE-----

--u3/rZRmxL6MmkK24--