[Pkg-nagios-devel] Bug#688911: icinga-common: check_apt for localhost

Elrond elrond+bugs.debian.org at samba-tng.org
Wed Sep 26 20:27:28 UTC 2012


Package: icinga-common
Version: 1.7.1-3~bpo60+1
Severity: wishlist

Hi,

I think, it would be a nice idea to have check_apt in the
default shipped localhost_icinga.cfg. It's quite a simple
test for a machine. People can still disable it anyway.

ckeck_apt is in nagios-plugins-basic, which is installed
anyway. So no extra dependency either.

I would suggest the following entry, because there is no
point in running check_apt every 5 minutes:

define service{
        use                     generic-service
        host_name               localhost
        service_description     Updates Available
        check_command           check_apt
        check_interval          720   # 12 hours
        max_check_attempts      2     # Retry once
        retry_interval          60    # an hour later
        }


Cheers

Elrond

p.s.: Thanks for the backport package!



More information about the Pkg-nagios-devel mailing list