Re: Delayed notification when using IP-MIB::ipAddressTable instead of IP-MIB::ipAddressTable

Niels Baggesen <[email protected]> Tue, 16 Jan 2024 00:40:39 +0100
Newsgroups gmane.network.net-snmp.devel
Message-ID <[email protected]>
Den 11-01-2024 kl. 14:25 skrev Christophe Leroy via Net-snmp-coders:
> When using IP-MIB::ipAddrTable the manager is notified immediately but
> when using IP-MIB::ipAddressTable the notification is delayed several
> seconds and after investigation it looks like it is because the content
> of IP-MIB::ipAddressTable is cached for 30 seconds.
>
> What should be done in order to restore the same behaviour as with
> IP-MIB::ipAddrTable and get an immediate notification ?

You can check the cache timeout by checking:

snmpget host nsCacheTimeout.1.3.6.1.2.1.4.34

and, if you have write access to the agent, change it by snmpset:

snmpset host nsCacheTimeout.1.3.6.1.2.1.4.34 = 1

(dont set it to 0, then it will default to 5)

/Niels

-- 
Niels Baggesen -- @home -- Ã…rhus -- Denmark -- [email protected]
The purpose of computing is insight, not numbers  --  R W Hamming



_______________________________________________
Net-snmp-coders mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/net-snmp-coders