Agent+Sub-Agent
Feroz <[email protected]> Fri, 3 Sep 2021 13:12:12 +0530
| Newsgroups | gmane.network.net-snmp.devel,gmane.network.net-snmp.user |
|---|---|
| Message-ID | <CA+ZN1ccAX5Y0UYxUqGf9JcSxLdS8u431nBB7FixPE5vooCTD5A@mail.gmail.com> |
Hi, I have an agent/sub-agent model. I have moved the implementation of System-MIB to a sub-agent. While the sub-agent is still connecting to agent, if someone queries for " SNMPv2-MIB::sysObjectID.0", agent is responding with "*No Such Object available on this agent at this OID*" e.g: snmpget -v2c -c public 10.10.116.16 1.3.6.1.2.1.1.2.0 *SNMPv2-MIB::sysObjectID.0 = No Such Object available on this agent at this OID* Whereas once the sub-agent connects to the agent, it returns proper OID. e.g: snmpget -v2c -c public 10.10.116.16 1.3.6.1.2.1.1.2.0 SNMPv2-MIB::sysObjectID.0 = OID: SNMPv2-SMI::enterprises.xxxx.4.1.1.1.100 My question is, is there a way to block an agent from responding to queries ( by timeout), till time the sub-agent connects to the agent. -- Regards, Feroz Ahmed _______________________________________________ Net-snmp-coders mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/net-snmp-coders