Last Modified: Oct 04, 2024
Affected Product(s):
BIG-IP TMOS
Known Affected Versions:
14.0.0, 14.0.0.1, 14.0.0.2, 14.0.0.3, 14.0.0.4, 14.0.0.5, 14.0.1, 14.0.1.1, 14.1.0, 14.1.0.1, 14.1.0.2, 14.1.0.3, 14.1.0.5, 14.1.0.6, 14.1.2, 14.1.2.1, 14.1.2.2, 14.1.2.3, 14.1.2.4, 14.1.2.5, 14.1.2.6, 14.1.2.7, 14.1.2.8, 14.1.3, 14.1.3.1, 14.1.4, 14.1.4.1, 14.1.4.2, 14.1.4.3, 14.1.4.4, 14.1.4.5, 14.1.4.6, 14.1.5, 14.1.5.1, 14.1.5.2, 14.1.5.3, 14.1.5.4, 14.1.5.6, 15.0.0, 15.0.1, 15.0.1.1, 15.0.1.2, 15.0.1.3, 15.0.1.4, 15.1.10, 15.1.10.2, 15.1.10.3, 15.1.10.4, 15.1.10.5, 16.1.4, 16.1.4.1, 16.1.4.2, 16.1.4.3, 16.1.5, 16.1.5.1, 17.1.1, 17.1.1.1, 17.1.1.2, 17.1.1.3, 17.1.1.4
Opened: Mar 30, 2018 Severity: 2-Critical
It is not possible to query a monitor status through iControl REST if the monitor is in a non-default partition. If the monitor is in the /Common partition it is possible to obtain the monitor status with following command: [root@TEST_UNIT:Active:Disconnected] config # restcurl -u admin:admin /mgmt/tm/ltm/monitor/http/~Common~myHttpMonitor/stats { "kind": "tm:ltm:monitor:http:httpstats", "generation": 0, "selfLink": "https://<localhost path>", "apiRawValues": { "apiAnonymous": "------------------------------------\n LTM::Monitor /Common/myHttpMonitor \n------------------------------------\n Destination: <IP address:port>\n State time: down for 113hrs:38mins:54sec\n | Last error: No successful responses received before deadline. @2023.09.21 22:56:54\n\n" } } If the monitor is in a non-default partition, the iContol REST interface returns a "404 - Object not found" error: [root@TEST_UNIT:Active:Disconnected] config # restcurl -u admin:admin /mgmt/tm/ltm/monitor/http/~p1~myHttpMonitor/stats { "code": 404, "message": "Object not found - /p1/myHttpMonitor", "errorStack": [], "apiError": 1 }
It is not possible to query a monitor status through iControl REST if the monitor is in a non-default partition.
- A monitor is configured in a non-default partition - Querying the status of the monitor in non-default partition using iControl REST
Use tmsh to query the status of the monitor. Following is an example: root@(TEST_UNIT)(cfg-sync Disconnected)(Active)(/Common)(tmos)# cd /p1 root@(TEST_UNIT)(cfg-sync Disconnected)(Active)(/p1)(tmos)# show ltm monitor http myHttpMonitor ---------------------------------- LTM::Monitor /p1/myHttpMonitor ---------------------------------- Destination: <IP address:port> State time: down for 1hr:20mins:5sec | Last error: No successful responses received before deadline. @2023.09.26 15:21:17
None