Last active
May 2, 2017 15:20
-
-
Save MichaelF25/d433c98d5bb20fb53c72af7fa2eb66f6 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
sudo apt-get install -y xinetd | |
scp observium.ovh.cpg.de:/opt/observium/scripts/observium_agent_xinetd /tmp/ | |
sudo cp /tmp/observium_agent_xinetd /etc/xinetd.d/ | |
rm /tmp/observium_agent_xinetd | |
sudo vi /etc/xinetd.d/observium_agent_xinetd | |
scp observium.ovh.cpg.de:/opt/observium/scripts/observium_agent /tmp/ | |
sudo cp /tmp/observium_agent /usr/bin/ | |
rm /tmp/observium_agent | |
sudo mkdir -p /usr/lib/observium_agent/local | |
scp observium.ovh.cpg.de:/opt/observium/scripts/agent-local/vmwaretools /tmp/ | |
sudo cp /tmp/vmwaretools /usr/lib/observium_agent/local/ | |
rm /tmp/vmwaretools | |
/usr/lib/observium_agent/local/vmwaretools | |
scp observium.ovh.cpg.de:/opt/observium/scripts/distro /tmp/ | |
sudo cp /tmp/distro /usr/bin/ | |
rm /tmp/distro | |
sudo vi /etc/snmp/snmpd.conf | |
extend .1.3.6.1.4.1.2021.7890.1 distro /usr/bin/distro | |
sudo service snmpd restart |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment