Skip to content

Store Snmp walk output while in emulation mode ( integration tests mode ) #60

Description

@MedMaalej

Specification

We want to be able to store the output of the snmp walk CLI command in Emulation mode (Integration tests mode).

Command example
snmpcli 10.0.24.53 --walk 1.3.6.1.4.1.30065.4.1.1.7.1 --version v2c

Output

Hostname 10.0.24.53 - Executing SNMP walk query:
OID: 1.3.6.1.4.1.30065.4.1.1.7.1
Result:
1.3.6.1.4.1.30065.4.1.1.7.1.1.24029.1.40.98.117.116.32.111.120.101.110.32.122.111.109.98.105.101.115.32.97.99.116.101.100.32.102.111.114.119.97.114.100.32.74.97.100.101.100.32.98.117.116	COUNTER	829600972
1.3.6.1.4.1.30065.4.1.1.7.1.1.25778.4.21.116.104.101.105.114.32.102.111.114.119.97.114.100.32.122.111.109.98.105.101.115	COUNTER	4187786411
1.3.6.1.4.1.30065.4.1.1.7.1.2.24029.1.40.98.117.116.32.111.120.101.110.32.122.111.109.98.105.101.115.32.97.99.116.101.100.32.102.111.114.119.97.114.100.32.74.97.100.101.100.32.98.117.116	COUNTER	1515533887
1.3.6.1.4.1.30065.4.1.1.7.1.2.25778.4.21.116.104.101.105.114.32.102.111.114.119.97.114.100.32.122.111.109.98.105.101.115	COUNTER	681708375
1.3.6.1.4.1.30065.4.1.1.7.1.3.24029.1.40.98.117.116.32.111.120.101.110.32.122.111.109.98.105.101.115.32.97.99.116.101.100.32.102.111.114.119.97.114.100.32.74.97.100.101.100.32.98.117.116	COUNTER	2497454959
1.3.6.1.4.1.30065.4.1.1.7.1.3.25778.4.21.116.104.101.105.114.32.102.111.114.119.97.114.100.32.122.111.109.98.105.101.115	COUNTER	767384757
1.3.6.1.4.1.30065.4.1.1.7.1.4.24029.1.40.98.117.116.32.111.120.101.110.32.122.111.109.98.105.101.115.32.97.99.116.101.100.32.102.111.114.119.97.114.100.32.74.97.100.101.100.32.98.117.116	COUNTER	89868984
1.3.6.1.4.1.30065.4.1.1.7.1.4.25778.4.21.116.104.101.105.114.32.102.111.114.119.97.114.100.32.122.111.109.98.105.101.115	COUNTER	1020106112
1.3.6.1.4.1.30065.4.1.1.7.1.5.24029.1.40.98.117.116.32.111.120.101.110.32.122.111.109.98.105.101.115.32.97.99.116.101.100.32.102.111.114.119.97.114.100.32.74.97.100.101.100.32.98.117.116	COUNTER	1298331011
1.3.6.1.4.1.30065.4.1.1.7.1.5.25778.4.21.116.104.101.105.114.32.102.111.114.119.97.114.100.32.122.111.109.98.105.101.115	COUNTER	3061272827

Based on the method to execute in the SnmpClient (get, getNext or table), we retrieve the OIDs from the output file then we execute the action accordingly.

Activity

  1. self-assigned this
    on Jul 23, 2025
  2. changed the title [-]Store Snmp walk output[/-] [+]Store Snmp walk output while in emulation mode ( integration tests mode )[/+] on Jul 23, 2025
  3. added a commit that references this issue on Aug 27, 2025
  4. added 3 commits that reference this issue on Sep 4, 2025
  5. added a commit that references this issue on Sep 15, 2025
  6. added a commit that references this issue on Oct 3, 2025
  7. added a commit that references this issue on Oct 6, 2025
  8. added a commit that references this issue on Oct 6, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions