我snmpwalk突然停止工作,这是工作较早,重新启动 snmp 后也没有工作,snmpwalk -v1 -c让我超时,它也适用于其他机器。
我尝试snmpconf使用社区字符串和 IP 地址重新创建,但仍然没有通过。
在签入消息时,我得到了这样的消息:
10 月 19 日 05:07:34 manilavoice rsyslogd-2177:由于速率限制,imuxsock 开始丢弃来自 pid 8448 的消息“进程 ID 与 snmpd 服务相关
当我这样跑时,我收到一条消息snmpwalk -d 10.30.2.58:
[root@manilavoice gopal]# snmpwalk -d 10.30.2.58
No log handling enabled - turning on stderr logging
Sending 64 bytes to UDP: [10.30.2.58]:161->[0.0.0.0]
0000: 30 3E 02 01 03 30 11 02 04 53 BF 41 80 02 03 00 0>...0...S.A....
0016: FF E3 04 01 04 02 01 03 04 10 30 0E 04 00 02 01 ..........0.....
0032: 00 02 01 00 04 00 04 00 04 00 30 14 04 00 04 00 ..........0.....
0048: A0 0E 02 04 68 CA 67 C6 02 01 00 02 01 00 30 00 ....h.g.......0.
Run Code Online (Sandbox Code Playgroud)
最后:
snmpwalk: Timeout
Run Code Online (Sandbox Code Playgroud)
任何意见将不胜感激。我的防火墙和 SElinux 也关闭了。此外,同一个snmpd.conf文件在不同的位置也能正常工作。
我试过这个,并得到以下结果:
[root@manilavoice spool]# mount -vvv 10.30.4.20:/volume2/Asterisk_Recordings
/var/spool/newnfs
mount: fstab path: "/etc/fstab"
mount: mtab path: "/etc/mtab"
mount: lock path: "/etc/mtab~"
mount: temp path: "/etc/mtab.tmp"
mount: UID: 0
mount: eUID: 0
mount: no type was given - I'll assume nfs because of the colon
mount: spec: "10.30.4.20:/volume2/Asterisk_Recordings"
mount: node: "/var/spool/newnfs"
mount: types: "nfs"
mount: opts: "(null)"
mount: external mount: argv[0] = "/sbin/mount.nfs"
mount: external mount: argv[1] = "10.30.4.20:/volume2/Asterisk_Recordings"
mount: external mount: argv[2] = "/var/spool/newnfs"
mount: external mount: argv[3] = "-v"
mount: external mount: argv[4] = "-o"
mount: external mount: argv[5] = "rw"
mount.nfs: timeout set for Sat Oct 19 14:23:33 2013
mount.nfs: trying text-based options 'vers=4,addr=10.30.4.20,clientaddr=10.30.4.48'
mount.nfs: mount(2): Connection timed out
mount.nfs: Connection timed out
Run Code Online (Sandbox Code Playgroud)
尝试打开调试看看发生了什么:
$ snmpwalk -D ALL
Run Code Online (Sandbox Code Playgroud)
手册页摘录
Debugging
-d dump input/output packets in hexadecimal
-D TOKEN[,...] turn on debugging output for the specified TOKENs
(ALL gives extremely verbose debugging output)
Run Code Online (Sandbox Code Playgroud)
| 归档时间: |
|
| 查看次数: |
11441 次 |
| 最近记录: |