diff options
author | Harry Huang <huangxiangyu5@huawei.com> | 2017-11-17 14:53:44 +0800 |
---|---|---|
committer | Harry Huang <huangxiangyu5@huawei.com> | 2017-12-21 16:36:30 +0800 |
commit | 8646b8d62cf4ca7b6bccae537a0c9e72ba45eab3 (patch) | |
tree | 73a9a983e0dd1423e9df928a78a5023a09d5a7f9 /compass-tasks-base/hdsdiscovery/SNMP_CONFIG.md | |
parent | 6234176ae292a75dcda5520324cb7857d6105988 (diff) |
Merge compass-tasks-osa and compass-tasks-k8s
JIRA: COMPASS-568
rename compass-tasks to compass-tasks-base.
add both osa and k8s support in compass-tasks
Change-Id: I438f5b17e509d4cb751ced0ffe640ec70899882f
Signed-off-by: Harry Huang <huangxiangyu5@huawei.com>
Diffstat (limited to 'compass-tasks-base/hdsdiscovery/SNMP_CONFIG.md')
-rw-r--r-- | compass-tasks-base/hdsdiscovery/SNMP_CONFIG.md | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/compass-tasks-base/hdsdiscovery/SNMP_CONFIG.md b/compass-tasks-base/hdsdiscovery/SNMP_CONFIG.md new file mode 100644 index 0000000..337b542 --- /dev/null +++ b/compass-tasks-base/hdsdiscovery/SNMP_CONFIG.md @@ -0,0 +1,33 @@ +Install & Config Prerequisite Packages: + +1. Net-Snmp: + a. #apt-get install -y snmpd snmp libsnmp-python + b. #apt-get install -y snmp-mibs-downloader + For Centos: + # yum install net-snmp net-snmp-utils + + c. create vendor's mibs directory(for example): + - #mkdir -p /root/.snmp/mibs/huawei + - #vim /etc/snmp/snmp.conf (if not exists, create snmp.conf file) + * add vendor;s mibs directory: + mibdirs +/root/.snmp/mibs/huawei + * comment the line: + #mibs: + d. copy vendor's mibs to that directory + e. #vim /etc/default/snmpd + * modify the directive from + TRAPDRUN=no --> TRAPDRUN=yes + For Centos: + # vim /etc/sysconfig/snmpd + * modify into or add the directive + TRAPDRUN=yes + + f. #vim /etc/snmp/snmpd.conf + * add the following line, where $ip is the ip address of manager machine: + com2sec mynetwork $ip/24 public + g. #service snmpd restart + + Note: net-snmp-config is used to see default configuration + +2. paramiko: + #apt-get install python-paramiko |