Monitoring MTU via the API (or other means)

Started by bubbagump, January 21, 2022, 01:22:31 AM

Previous topic - Next topic
I have an odd problem where my WAN MTU gets set to weird values like 596 even though the interface is hard coded to 1500. While I try to track down what the root cause is I want to monitor the interface's MTU. The API seems very limited in this regard or I am not understanding something fundamental. I know the API works as I use it to enable/disable aliases and some other firewall rules. Any hints or better ways to get this value out of the box?

curl -k -u "user":"key" 'https://someip/api/interfaces/vxlan_settings/get'   

As well as /loopback_settings/get and getItem give me 401s. I figure I need to query and find a UUID to then use the UUID to get current state parameters as I do with other items. Any thoughts?

January 21, 2022, 10:00:32 AM #1 Last Edit: January 21, 2022, 10:03:03 AM by Fright
/api/diagnostics/interface/getInterfacestatistics ?

imho getInterfaceConfig call is added to 22.1