write down,forget
adidas eqt support ultra primeknit vintage white coming soon adidas eqt support ultra boost primeknit adidas eqt support ultra pk vintage white available now adidas eqt support ultra primeknit vintage white sz adidas eqt support ultra boost primeknit adidas eqt adv support primeknit adidas eqt support ultra boost turbo red white adidas eqt support ultra boost turbo red white adidas eqt support ultra boost turbo red adidas eqt support ultra whiteturbo adidas eqt support ultra boost off white more images adidas eqt support ultra boost white tactile green adidas eqt support ultra boost beige adidas eqt support ultra boost beige adidas eqt support refined camo drop adidas eqt support refined camo drop adidas eqt support refined running whitecamo adidas eqt support 93 primeknit og colorway ba7506 adidas eqt running support 93 adidas eqt support 93
标签 Tag : fastcgi

Centos中安装snmp用监控宝监测VPS

<Category: Linux> Comments Off on Centos中安装snmp用监控宝监测VPS

首先安装snmp
yum install -y net-snmp net-snmp-utils

v3c的验证方式,添加一个只读帐号,如下:rouser jiankongbao auth
上面添加帐号的意思是:在v3c中,“rouser”用于表示只读帐号类型,随后的“jiankongbao”是指定的用户名,后边的“auth”指明需要验证。
接下来需要创建 jiankongbao这个用户,我们需要这个文件:/var/net-snmp/snmpd.conf,这个文件会在snmpd启动的时候被自动调用,由于此时我们还没有运行snmp,所以手动创建这个文件
mkdir /var/net-snmp
touch /var/net-snmp/snmpd.conf
vim /var/net-snmp/snmpd.conf

输入以下文字
createUser jiankongbao MD5 mypassword
这行配置的意思是创建一个名为“jiankongbao”的用户,密码为“mypassword”,并且用MD5进行加密传输。这里要提醒的是,密码至少要有8个字节,这是SNMP协议的规定,如果小于8个字节,通信将无法进行

运行snmp

service snmpd start
设置成开机自动运行
chkconfig snmpd on

完了就可以在监控宝后台添加服务器监控了

本文来自: Centos中安装snmp用监控宝监测VPS