interface: Expected state lost when SNMP agent not responding

Started by geck, June 09, 2025, 06:49:27 PM

Previous topic - Next topic

geck

Hi all,

I noticed that the expected interface state is lost when a nodes snmp agent does not respond, because the interfaces get deleted and when the agent comes back on, they are newly created.

Is there a way to change this behaviour in the config?

Thank You,
KR 

Filipp Sudanov

Does this behavior (deletion of interface) happen during scheduled configuration poll, manually called configuration poll or manually called Full configuration poll?

geck

Hi Filipp,

It happens as soon as the agent is available again, I do not trigger a config or full config .

KR

Filipp Sudanov

What do you have in Index column in Interfaces tab on the node? Is the index the same or it gets changed? We use the index to identify interfaces on the system, so if a an interface appears with a new index we think that it's a new interface. 

There's a global setting for default expected state - Objects.Interfaces.DefaultExpectedState
Or it can be changed from script - e.g. in configuration poll hook script or interface creation hook script. 

geck

Thanks for the input - I will check on it asap and feedback here.