Forum Discussion
Dan_Mather
Nimbostratus
May 19, 2018selfLink not work for sys/hardware
Hi,
I've been working with the iControl REST interface for several months. While researching the hardware information returned in the mgmt/tm/sys/hardware call, I found that I cannot use any of the ...
May 19, 2018
Despite the URL "; in the output, it does not seem to be directly accessible, even with v13.1.0. So you still need to get the whole output and use a tool to parse it. You must already have something to do the parsing. Nonetheless, here's a "simple" way I have tried to get this info:
curl -s -k -u admin:admin -X GET 'https://mgmt_IP_address/mgmt/tm/sys/hardware/' | jq '.entries."https://localhost/mgmt/tm/sys/hardware/chassis-power-supply-status-index" | tostring'
You will need jg v1.5 for this.
Help guide the future of your DevCentral Community!
What tools do you use to collaborate? (1min - anonymous)Recent Discussions
Related Content
DevCentral Quicklinks
* Getting Started on DevCentral
* Community Guidelines
* Community Terms of Use / EULA
* Community Ranking Explained
* Community Resources
* Contact the DevCentral Team
* Update MFA on account.f5.com
Discover DevCentral Connects
