Hello. I am trying to make a curl request using a python script and get the metrics and other common data from a IX10 router. The documentation only shows ow to do this but with the configuration options of the device, web-API like. I need something like this.
but using a python that uses curls, much like this.
Device_health=requests.get(‘https://user:password@IP/cgi-bin/config.cgi/value/monitoring/devicehealth’,verify=False)
print(Device_health.status_code)
Device_health_f=json.dumps(Device_health.json(), indent=4)
print(Device_health_f)
I have been able to get the config parameters of device health, I need to do something similar with the network, but not the conf parameters, the Rx, TX, data.
Any Advise? thanks!
Any advice?