2023-06-07 14:31:09 -06:00
|
|
|
#!/usr/bin/env bash
|
2023-04-21 23:54:20 -06:00
|
|
|
|
|
|
|
apt-get install snmpd sudo perl libconfig-general-perl libdata-dumper-simple-perl libsort-naturally-perl libexception-class-perl libencode-perl make
|
|
|
|
|
|
|
|
TMP=$(mktemp -d)
|
|
|
|
git clone https://github.com/Tontonitch/interfacetable_v3t.git "$TMP"
|
|
|
|
|
|
|
|
cd "$TMP"
|
|
|
|
chmod a+x ./configure
|
|
|
|
./configure --prefix=/usr/local/interfacetable_v3t --with-nagios-user=nagios --with-nagios-group=nagios
|
|
|
|
make install
|
|
|
|
|
|
|
|
rm -rf "$TMP"
|