NetXMS Support Forum

English Support => General Support => Topic started by: geck on June 09, 2025, 06:49:27 PM

Title: interface: Expected state lost when SNMP agent not responding
Post by: geck on June 09, 2025, 06:49:27 PM
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 
Title: Re: interface: Expected state lost when SNMP agent not responding
Post by: Filipp Sudanov on June 20, 2025, 03:39:35 PM
Does this behavior (deletion of interface) happen during scheduled configuration poll, manually called configuration poll or manually called Full configuration poll?
Title: Re: interface: Expected state lost when SNMP agent not responding
Post by: geck on June 22, 2025, 06:04:36 PM
Hi Filipp,

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

KR
Title: Re: interface: Expected state lost when SNMP agent not responding
Post by: Filipp Sudanov on June 23, 2025, 09:10:33 PM
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. 
Title: Re: interface: Expected state lost when SNMP agent not responding
Post by: geck on June 26, 2025, 03:19:42 PM
Thanks for the input - I will check on it asap and feedback here.