WebLogic Server RESTful Management Services provides representational state transfer (REST) resources that enable you to monitor WebLogic Server outside of the Oracle Public Cloud Management Console. REST clients can embed fine-grained monitoring information in flexible, customized consoles that can monitor a domain’s servers, clusters, applications, and data sources while they are running behind firewalls in the Oracle Public PaaS WebLogic Service. The monitoring resources are hosted by an internal Web application.
Only users that belong to the Administrators group or the Monitors group are allowed access to the RESTful Management Services.
RESTful management services consist of two sets of resources. tenant-monitoring resources and ‘wls’ resources. The first is more flexible in response format (JSON, XML, HTML) and more suitable for monitoring
RESTful interfaces are interesting because they …
– can be used from any language (UNIX curl, Python, Java, you name it …)
– are leight-weight. All you send is an URL using http (and possibly some JSON data)
– are leight-weight on the client side. No JVM is required, unlike let’s say JMX.
– can easily be used across firewalls because the underlying protocol is http.
What Can You Monitor With RESTful Management Services?
The following components of WebLogic Server can be monitored using the RESTful Management Services:
- Server– All server instances in a domain or a specified server instance.
- Clusters– All clusters in a domain or a specified cluster, including all server members of the cluster.
- Applications– All applications deployed in a domain or a specified application.
- Data sources– All data sources running in a domain or a specified data source.
What Clients Can Access RESTful Management Services?
You can access the WebLogic Server RESTful Management Services through client applications, such as:
- Web browsers
- GNU Wget
You can also use the WebLogic Server RESTful Services in clients that are developed in various programming languages, such as:
Supported Content Types in Requests to REST Resources
The WebLogic Server RESTful Services support the following representation formats:
Clients should specify the resource representation through the HTTP header. For example, if clients is using the cURL utility, then it should specify the type through the -H option, as follows:
- JSON – specify -H “Accept application/json”
- XML – specify -H “Accept application/xml”
- HTML – omit the -Hoption
REST URL Format to Monitor WebLogic
The format of the WebLogic Server monitoring resource URL is:
host – the host where WebLogic Server is running
port – the HTTP or HTTPS port
path – the relative path that identifies an individual resource. For example, the path to a server instance would be: servers/myserver.
Elasticity for Dynamic Clusters