Agents Administration - Tests
 

Default Parameters for TibEMSTopicTest

Topics is a distribution mechanism for publishing messages that are delivered to multiple subscribers. Topics's properties are set when the destination is created. The administration interfaces allow you to create and manage administered object of Topics, and this test shows the messaging model of current topics.

The publisher generally address messages to a topic. Many publisher can publish to same topic, and a message from single publisher can be received by many subscribers. Subscribers subcribe to topics and all messages published to the topic are received by all subscribers to the topic.This includes dynamic, static and temp topics.

This test provides the information of the topics such as its status, number of messages that are pending, number of durable subscribers and current subscribers pertaining to the topics.

The default parameters associated with this test are as follows:

  • The TEST PERIOD list box helps the user to decide how often this test needs to be executed. 

  • Prior to monitoring the Tibco EMS server, you will have to build a .bat or .sh file (depending upon the operating system on which Tibco EMS is functioning) bundled with the commands that the eG agent needs to execute on the Tibco EMS server for collecting the required metrics. The commands to be invoked by the the .bat or .sh file are as follows:

    tcp://{IPAddressorHostName_of_TibcoEMS}:{PortNumber_of_TibcoEMS} show server

    tcp://{IPAddressorHostName_of_TibcoEMS}:{PortNumber_of_TibcoEMS} show durables

    tcp://{IPAddressorHostName_of_TibcoEMS}:{PortNumber_of_TibcoEMS} show queues

    tcp://{IPAddressorHostName_of_TibcoEMS}:{PortNumber_of_TibcoEMS} show topics

    tcp://{IPAddressorHostName_of_TibcoEMS}:{PortNumber_of_TibcoEMS} show connections

    For instance, if the IP address of your Tibco EMS server is 192.168.10.28 and its port is say, 9090, then a sample command in the .bat or .sh file would be:

    tcp://192.168.10.28:9090 show server

    The .bat/.sh file so created can be saved to any location on the Tibco EMS host. Then, while configuring this test, make sure you provide the full path to this .bat or .sh file in the COMMANDPATH text box so that, the agent can execute the file, invoke the commands bundled into it, and extract the desired metrics from the server.

  • Specify the topic names that is not required for monitoring in the IGNORE TOPICS text box. Topics can be listed in a comma seperated form. The topic names can be provided in the following format (*Topics *, *Topic , Topic*.) For an example to ignore the topics starting with sys from being monitored specify as * sys in the IGNORE TOPICS text box. Also you can specify the complete topic name to prevent from being monitored.  

  • Once the above value is provided, click on the Update button to register the changes made.