Skip to content

issue from cisco device for 'print(snmp_client.cpu_usage())' 'print(snmp_client.mem_usage())' #3

@threehanxll

Description

@threehanxll

Hello,

it will be a issue while i was running the code as 'print(snmp_client.cpu_usage())' 'print(snmp_client.mem_usage())', other commands are ok for me, could you please help to check why it was happening below the issue, thank you

Traceback (most recent call last):
File "C:/coding/DevNet.py", line 6, in
print(snmp_client.mem_usage())
File "C:\coding\venv\lib\site-packages\qyt_devnet\qyt_cisco_snmp.py", line 29, in mem_usage
return int(snmpv2_get(self.ip, self.ro, "1.3.6.1.4.1.9.9.109.1.1.1.1.12.7", port=self.port)[1])
ValueError: invalid literal for int() with base 10: 'No Such Object currently exists at this OID'

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions