# Vérification de MAJ de la distribution # # Sous Debian, ajouter la ligne : # APT::Periodic::Update-Package-Lists "1"; # si possible dans un fichier nommé /etc/apt/apt.conf.d/02periodic command[check_updates]=/usr/lib/nagios/plugins/check_apt # Sous CentOS, pour l'instant simple ajout de la ligne de /etc/crontab : # 13 4,13,21 * * * root /usr/bin/yum -q -e 0 check-update #command[check_updates]=/usr/lib64/nagios/plugins/check_updates -t 270 -w 3 -c 20 -a "--cacheonly"