Created
November 10, 2015 02:27
-
-
Save homelaber/b85faf2a0c5907ce6c33 to your computer and use it in GitHub Desktop.
This file contains 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
apt-get install snmp snmpd lm-sensors snmp-mibs-downloader snmptrapd | |
mv /etc/snmp/snmpd.conf /etc/snmp/snmpd.conf.ori | |
echo "view all included .1" >> /etc/snmp/snmpd.conf | |
echo "rocommunity homelab #nome da community" >> /etc/snmp/snmpd.conf | |
echo "sysLocation homelab #local do equipamento" >> /etc/snmp/snmpd.conf | |
echo "sysContact admin@homelab.srv.br #email de contato do equipamento" >> /etc/snmp/snmpd.conf | |
service snmpd restart | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment