�教snmpd的��~�是出�~~Timeout: No Response from localhost
(1/1)
owenchen:
小弟的系��FC6
安�的SNMP版本�
net-snmp-utils-5.3.1-14.fc6
net-snmp-devel-5.3.1-14.fc6
net-snmp-5.3.1-14.fc6
snmpd.conf�定��:
com2sec notConfigUser default public
com2sec local localhost mymrtg
com2sec mynetwork 192.168.1.0/24 mymrtg
group notConfigGroup v1 notConfigUser
group notConfigGroup v2c notConfigUser
group MyRWGroup v1 local
group MyROGroup v1 mynetwork
group MyRWGroup v2c local
view systemview included .1.3.6.1.2.1.1
view systemview included .1.3.6.1.2.1.2
view systemview included .1.3.6.1.2.1.25.1.1
view all included .1 80
access notConfigGroup "" any noauth exact systemview none none
access MyROGroup "" any noauth exact all none none
access MyRWGroup "" any noauth exact all all none
syslocation Unknown (edit /etc/snmp/snmpd.conf)
syscontact Root <root@localhost> (configure /etc/snmp/snmp.local.conf)
pass .1.3.6.1.4.1.4413.4.1 /usr/bin/ucd5820stat
�器Listsen的��如下:
[root@test snmp]# netstat -tulnp
Active Internet connections (only servers)
Proto Recv-Q Send-Q Local Address Foreign Address State PID/Program name
tcp 0 0 0.0.0.0:20000 0.0.0.0:* LISTEN 2351/perl
tcp 0 0 0.0.0.0:832 0.0.0.0:* LISTEN 1923/ypserv
tcp 0 0 0.0.0.0:389 0.0.0.0:* LISTEN 1953/slapd
tcp 0 0 127.0.0.1:199 0.0.0.0:* LISTEN 7399/snmpd
tcp 0 0 0.0.0.0:3306 0.0.0.0:* LISTEN 2071/mysqld
tcp 0 0 0.0.0.0:110 0.0.0.0:* LISTEN 2106/dovecot
tcp 0 0 0.0.0.0:111 0.0.0.0:* LISTEN 1902/portmap
tcp 0 0 0.0.0.0:10000 0.0.0.0:* LISTEN 2357/perl
tcp 0 0 192.168.1.12:53 0.0.0.0:* LISTEN 1876/named
tcp 0 0 192.168.1.11:53 0.0.0.0:* LISTEN 1876/named
tcp 0 0 127.0.0.1:53 0.0.0.0:* LISTEN 1876/named
tcp 0 0 0.0.0.0:25 0.0.0.0:* LISTEN 5328/master
tcp 0 0 127.0.0.1:953 0.0.0.0:* LISTEN 1876/named
tcp 0 0 :::389 :::* LISTEN 1953/slapd
tcp 0 0 :::80 :::* LISTEN 2229/httpd
tcp 0 0 :::22 :::* LISTEN 2002/sshd
tcp 0 0 :::443 :::* LISTEN 2229/httpd
udp 0 0 0.0.0.0:32768 0.0.0.0:* 1876/named
udp 0 0 0.0.0.0:10000 0.0.0.0:* 2357/perl
udp 0 0 0.0.0.0:20000 0.0.0.0:* 2351/perl
udp 0 0 0.0.0.0:161 0.0.0.0:* 7399/snmpd
udp 0 0 192.168.1.12:53 0.0.0.0:* 1876/named
udp 0 0 192.168.1.11:53 0.0.0.0:* 1876/named
udp 0 0 127.0.0.1:53 0.0.0.0:* 1876/named
udp 0 0 0.0.0.0:829 0.0.0.0:* 1923/ypserv
udp 0 0 0.0.0.0:602 0.0.0.0:* 2121/rpc.yppasswdd
udp 0 0 0.0.0.0:111 0.0.0.0:* 1902/portmap
udp 0 0 :::32769 :::* 1876/named
本���防火��置~~~~@@
�什�每次我下snmpwalk指令~~~都�有回�呢@@
[root@test snmp]# snmpwalk localhost -c mymrtg -v 1
Timeout: No Response from localhost
�教各位前�~~~真的不懂阿@@
��
[0] 文章列表
源文档 <http://phorum.study-area.org/index.php?topic=45287.0;wap2>
没有评论:
发表评论