From 150170886b2b897e00ea406c2806e6d418299149 Mon Sep 17 00:00:00 2001 From: Tollef Fog Heen Date: Fri, 30 Mar 2012 21:19:58 +0200 Subject: [PATCH] dsa-update-apt-status: send the cron output to syslog rather than email --- dsa-nagios-checks/debian/changelog | 1 + dsa-nagios-checks/debian/cron.d | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/dsa-nagios-checks/debian/changelog b/dsa-nagios-checks/debian/changelog index 527920f..114e052 100644 --- a/dsa-nagios-checks/debian/changelog +++ b/dsa-nagios-checks/debian/changelog @@ -3,6 +3,7 @@ dsa-nagios-checks (9X) Xnstable; urgency=low [ Tollef Fog Heen ] * dsa-update-unowned-file-status: Use -fstype proc rather than hard coding /proc in order to match procfs in chroots too. + * dsa-update-apt-status: send the cron output to syslog rather than email [ Peter Palfrader ] * dsa-check-msa-eventlog: Add --verbose switch to show info level diff --git a/dsa-nagios-checks/debian/cron.d b/dsa-nagios-checks/debian/cron.d index 6e1f52b..a74723b 100644 --- a/dsa-nagios-checks/debian/cron.d +++ b/dsa-nagios-checks/debian/cron.d @@ -1,7 +1,7 @@ @reboot root sleep 10m && [ -x /usr/share/dsa/weak-ssh-keys-check ] && /usr/share/dsa/weak-ssh-keys-check -s /var/cache/dsa/nagios/weak-ssh-keys @daily root [ -x /usr/share/dsa/weak-ssh-keys-check ] && /usr/share/dsa/weak-ssh-keys-check -s /var/cache/dsa/nagios/weak-ssh-keys -@hourly root [ -x /usr/sbin/dsa-update-apt-status ] && /usr/sbin/dsa-update-apt-status +@hourly root [ -x /usr/sbin/dsa-update-apt-status ] && /usr/sbin/dsa-update-apt-status 2>&1 | logger -t dsa-update-apt-status 13 */4 * * * root [ -x /usr/sbin/dsa-update-samhain-status ] && /usr/sbin/dsa-update-samhain-status SHELL=/bin/bash -- 2.20.1