You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Mar 7, 2018. It is now read-only.
Pull environment from any fixed form factor arista and you will see several sensors missing
Pull environment from any arista and you will see only userspace cpu usage being reported
Pulll environment from any arista and total memory will be reported as available memory
Error Traceback
(Paste the complete traceback of the exception between quotes below)
The text was updated successfully, but these errors were encountered:
Description of Issue/Question
get_environment() returns wrong data in the following cases
except: pass
Cpu usage was only reported for userspace due to the following regex
m = re.search('(\d+.\d+)\%', cpu_output.splitlines()[2])
Total memory was reported instead of available memory due to the following regex
`m = re.search('(\d+)k\W+total\W+(\d+)k\W+used\W+(\d+)k\W+free', cpu_output.splitlines()[3])
environment_counters['memory'] = {
'available_ram': int(m.group(1)),
'used_ram': int(m.group(2))
}`
Setup
napalm-eos version
(Paste verbatim output from
pip freeze | grep napalm-eos
between quotes below)eOS version
(Paste verbatim output from
show version | json
between quotes below)Steps to Reproduce the Issue
Pull environment from any fixed form factor arista and you will see several sensors missing
Pull environment from any arista and you will see only userspace cpu usage being reported
Pulll environment from any arista and total memory will be reported as available memory
Error Traceback
(Paste the complete traceback of the exception between quotes below)
The text was updated successfully, but these errors were encountered: