netenglabs / suzieq

Using network observability to operate and design healthier networks
https://www.stardustsystems.net/
Apache License 2.0
791 stars 105 forks source link

[Bug]: Cisco device parsing fails if hashes are in the login banner #915

Open cdean00 opened 1 year ago

cdean00 commented 1 year ago

Suzieq version

0.22.0rc1

Install Type

hand deployed python

Python version

3.8

Impacted component

sq-poller

Steps to Reproduce

  1. Create a login banner that includes hashes on a Cisco device. Example:
    ###################################################
    # this is a login banner #
    ###################################################

Expected Behavior

Device is properly parsed and marked alive.

Observed Behavior

Following logs: [WORKER 0]: 2023-08-11 14:26:38,348 - suzieq.poller.worker.nodes.node - ERROR - Cannot parse uptime from :22 [WORKER 0]: 2023-08-11 14:26:38,348 - suzieq.poller.worker.nodes.node - WARNING - Cannot parse version from :22

Device does not show up in device list.

Screenshots

Additional Context