fix installer

This commit is contained in:
Cyberes 2023-04-21 23:54:20 -06:00
parent ba347d60db
commit c6f9192d16
1 changed files with 3 additions and 3 deletions

View File

@ -56,11 +56,10 @@ if [[ ! -d /opt/linuxfabrik-monitoring-plugins ]]; then
python3 -m venv /opt/venvs/linuxfabrik
fi
/opt/venvs/linuxfabrik/bin/pip install psutil
cd /opt/linuxfabrik-monitoring-plugins
rm -rf lib
git clone https://github.com/Linuxfabrik/lib.git
/opt/venvs/linuxfabrik/bin/pip install -U pip wheel setuptools
/opt/venvs/linuxfabrik/bin/pip install bs4 psutil smbprotocol vici pymysql
fi
@ -73,3 +72,4 @@ ln_existing /opt/linuxfabrik-monitoring-plugins/check-plugins/disk-smart/disk-sm
setcap cap_net_raw+ep /usr/lib/nagios/plugins/check_icmp
setcap cap_net_raw+ep /usr/lib/nagios/plugins/check_ping
setcap 'cap_net_raw+ep' "$(which ping)"