From: Paul Wise Date: Tue, 10 Nov 2015 03:47:07 +0000 (+0800) Subject: Check for unexpected apt sources.list files X-Git-Url: https://git.adam-barratt.org.uk/?a=commitdiff_plain;h=ee6410537fd46305f27837379ae91d66afc3884f;p=mirror%2Fdsa-nagios.git Check for unexpected apt sources.list files I discovered one on master and want to check for more. --- diff --git a/config/nagios-master.cfg b/config/nagios-master.cfg index fb9fc03..6e260d3 100644 --- a/config/nagios-master.cfg +++ b/config/nagios-master.cfg @@ -1668,6 +1668,11 @@ services: hostgroups: computers normal_check_interval: 60 retry_check_interval: 15 + - + name: unexpected file - apt sources.list + servicegroups: apt + nrpe: "/usr/lib/nagios/plugins/negate /usr/lib/nagios/plugins/dsa-check-file -f /etc/apt/sources.list" + hostgroups: computers - name: upgraded libraries servicegroups: security