Update 'agent.sh'

This commit is contained in:
virtubox 2017-08-19 03:50:50 +00:00
parent 1297e6f92d
commit ca5281048a
1 changed files with 2 additions and 1 deletions

View File

@ -3,7 +3,8 @@ apt-get update && apt-get upgrade -y &>/dev/null
apt install snmpd snmp git -y &>/dev/null
curl -o /usr/bin/distro https://raw.githubusercontent.com/librenms/librenms-agent/master/snmp/distro
chmod +x /usr/bin/distro
cd /opt/ && git clone https://github.com/librenms/librenms-agent.git
cd /opt/
git clone https://github.com/librenms/librenms-agent.git
cd librenms-agent
cp check_mk_agent /usr/bin/check_mk_agent
chmod +x /usr/bin/check_mk_agent