Copyright © Cloud Software Group, Inc. All Rights Reserved
Copyright © Cloud Software Group, Inc. All Rights Reserved


Chapter 3 Using the XML Interface : Agents URL

Agents URL
Invoking this relative URL generates an XML instance document listing all agents in all of the TIBCO Hawk domains listed in web.xml.
Figure 3 Agents URL Sample Output
Optional Parameters
Optional parameters for the Agents URL are:
Style   A specific XSLT/XPATH stylesheet. If the stylesheet takes parameters, you can include them in the relative URL. If Style is not included, the server uses the default stylesheet, Ident.xsl.
If you specify an optional parameter that does not exist, such as a stylesheet that is not in the <HAWK_HOME>/webconsole/tomcat/webapps/http/xsl directory, the server returns an error.
Examples
The following relative URL retrieves all agent information from all Hawk domains configured in the web.xml file:
   http://localhost:8081/http/Agents
The following relative URL retrieves the same information as above but applies the stylesheet named HighAlert.xsl:
   http://localhost:8081/http/Agents?Style=HighAlert.xsl

Copyright © Cloud Software Group, Inc. All Rights Reserved
Copyright © Cloud Software Group, Inc. All Rights Reserved