From 409c14564b8189eec4161e8f557117aba000270e Mon Sep 17 00:00:00 2001 From: Terry Derks Date: Fri, 22 Dec 2023 11:57:37 -0500 Subject: [PATCH] no nginx or psutil --- icinga2/plugins.sls | 3 +++ top.sls | 1 - 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/icinga2/plugins.sls b/icinga2/plugins.sls index c090e4f..1b4128d 100644 --- a/icinga2/plugins.sls +++ b/icinga2/plugins.sls @@ -25,11 +25,14 @@ venv-ensurepip: - require: - cmd: /usr/local/lib/nagios/venv +{# venv-psutil: cmd.run: - name: /usr/local/lib/nagios/venv/bin/pip3 install psutil + - unless: /usr/local/lib/nagios/venv/bin/pip3 freeze | grep -q '^psutil=' - require: - cmd: venv-ensurepip +#} monitoring_packages: pkg.installed: diff --git a/top.sls b/top.sls index 326b8c7..55ccc61 100644 --- a/top.sls +++ b/top.sls @@ -18,6 +18,5 @@ - firewall - resolvers 'kpi.keiran.us': - - nginx - restic - samba