博主呓语:

redhat系列linux下重启snmp服务

Posted by 破冰 on 2012-4-15 15:26 Sunday

重启snmpd服务:
# service snmpd restart


Stopping snmpd:                                            [FAILED]
Starting snmpd:                                            [  OK  ]

 

设置snmpd每次开机时自动启动:
# chkconfig snmpd on


该命令执行完成后不会返回任何结果

检查snmpd服务是否已在运行:
# netstat -nlup | grep ":161"
udp        0      0 0.0.0.0:161                 0.0.0.0:*                               16986/snmpd

发表评论: