10 lines
358 B
Bash
10 lines
358 B
Bash
|
#!/bin/bash
|
||
|
apt update
|
||
|
apt install -y python3-venv git sysstat
|
||
|
|
||
|
cd /opt || exit
|
||
|
|
||
|
git -C /opt/icinga2-checks pull || git clone https://git.dp15.us/dpanzer/icinga2-checks.git /opt/icinga2-checks
|
||
|
|
||
|
ln -s /opt/icinga2-checks/check_iowait.sh /usr/lib64/nagios/plugins/check_iowait
|
||
|
ln -s /opt/icinga2-checks/check_bandwidth /usr/lib64/nagios/plugins/check_bandwidth
|