Centos5.4下修改snmpd监听端口

十一月 7th, 2009 Posted in cacti, Centos | 阅读次数: 450 次

Author:gaojinbo
Time:2009-11-07
Blog:http://www.gaojinbo.com

Centos5.4下修改snmpd监听端口

1.修改配置文件
vi /etc/rc.d/init.d/snmpd
OPTIONS="127.0.0.1:161 -Lsd -Lf /dev/null -p /var/run/snmpd.pid -a"

 

2.重启服务
service snmpd restart

 

3.检查是否监听
netstat -antup|grep snmp
tcp        0      0 127.0.0.1:199               0.0.0.0:*                   LISTEN      12304/snmpd        
udp        0      0 127.0.0.1:161               0.0.0.0:*                               12304/snmpd 

 

完成!

相关日志:

Tags: ,

7 Responses to “Centos5.4下修改snmpd监听端口”

  1. Resources Says:

    Interesting Posts…

    [...]some other related resources on the web that are worth viewing on this subject include[...]…


  2. Related Resources Says:

    Interesting Article…

    [...]some interesting sites worth visitng. We recommend all our readers go and check these out[...]……


  3. Oakley Sunglasses Says:

    很简单。


  4. home remedies for yeast infections Says:

    My Recommended Websites…

    [...]some new websites on the web we love, even if they are not related to ours. Check them out[...]…


  5. Free Games Says:

    You should check this out……

    [...] Wonderful story, reckoned we could combine a few unrelated data, nevertheless really worth taking a look, whoa did one learn about Mid East has got more problerms as well [...]………


  6. air max 90 Says:

    . would you mind updating your blog with more information? It is extremely helpful for me.Keep it up.


  7. Serotonin brain Says:

    Websites you should visit…

    [...]below you’ll find the link to some sites that we think you should visit[...]……


留下您的脚印