Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我写了一个snmp-agent,它可以在系统(rhel5)中运行。通过 snmp 客户端查询 oid,会得到 snmp 陷阱。但是我的问题是:如果有两台服务器(一台是备用系统,一台是活动系统),如果我通过浮动IP查询snmp陷阱,我将没有snmp陷阱。也就是说,我必须通过真实(活动)IP而不是浮动IP进行查询。
我的问题是:有没有办法通过浮动IP查询snmp陷阱?如何配置我的 snmp-agent?
谢谢!
将您的 snmp 代理绑定到 INADDR_ANY (0.0.0.0) 而不是实际的 IP 地址。