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 -- ni...@baggesen.net
The purpose of computing is insight, not numbers  --  R W Hamming



_______________________________________________
Net-snmp-coders mailing list
Net-snmp-coders@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/net-snmp-coders

Reply via email to