Update 'agent.sh'
This commit is contained in:
parent
1297e6f92d
commit
ca5281048a
3
agent.sh
3
agent.sh
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue