suzieq
suzieq copied to clipboard
[Bug]: Device status dead if Cisco IOS exec-timeout configured with lower value than SuzieQ polling period
Suzieq version
0.21.0
Install Type
hand deployed python
Python version
3.8
Impacted component
sq-poller
Steps to Reproduce
- Simulate a Cisco IOS network switch with exec-timeout enabled (default value is 10 minutes)
- Onboard the Cisco IOS device in the inventory
- Configure the poller period parameter inside suzieq-cfg.yml with a value that is higher (30 minutes) than the
exec-timeoutconfigured in Cisco IOS switch.
Expected Behavior
Device status should be alive in continuous polling mode.
Observed Behavior
Device status is dead after subsequent polling.
Screenshots
Additional Context
As SuzieQ poller is creating a persistent SSH connectivity to the IOS switch, it was observed that this connection is being disconnected by the Cisco IOS switch due to the exec-timeout expiry which happens prior the next schedule of polling.