add check_apt_update

This commit is contained in:
Ludovic Cartier
2026-05-22 19:29:32 +02:00
parent 0ca06f7f32
commit affd0964f4
3 changed files with 28 additions and 0 deletions
+1
View File
@@ -2,6 +2,7 @@ nagios ALL=(ALL) NOPASSWD: /usr/lib/nagios/plugins/check_postfix_mailqueue -w {{
nagios ALL=(ALL) NOPASSWD: /usr/lib/nagios/plugins/check_exim_mailqueue -w {{ nrpe_mailq_warning }} -c {{ nrpe_mailq_critical }}
nagios ALL=(ALL) NOPASSWD: /usr/lib/nagios/plugins/check_raid
nagios ALL=(ALL) NOPASSWD: /usr/sbin/needrestart -b -l
nagios ALL=(ALL) NOPASSWD: /usr/bin/apt -o APT\:\:Update\:\:Error-On-NoReleaseUrls=true -q -y update
{% if nrpe_kubernetes_controlplane is defined %}
nagios ALL=(ALL) NOPASSWD: /usr/lib/nagios/plugins/check_cilium_health