![]() ![]() ![]() |
Self-Monitoring enables the TL1 Agent to monitor the Agent details, such as the number of requests received, number of responses and autonomous messages sent, etc. The Agent details are automatically updated and monitored by the TL1 Agent and their values can be retrieved, whenever you require, by sending the appropriate input messages.
Parameters That Can Be Monitored
The Self Monitoring feature allows the TL1 Agent to monitor the following agent parameter details:
Input Request Received
Autonomous Messages Sent
Acknowledgment Messages Sent
Delayed Activation Messages
Output Responses
These parameters are automatically updated and monitored by the TL1 Agent and their values can be retrieved, whenever you require, by sending the appropriate input command messages.
Using Self-Monitoring Commands
Following are the commands that are available for Self-Monitoring of the TL1 Agent. These commands are available in the tl1builtincommands.tcs file.
|
Note: Please note that since the commands in the tl1builtincommands.tcs file has already been implemented, it should not be loaded in the TL1 Agent Simulator for simulating values. |
Before testing the examples for Self-Monitoring commands, make sure you do the following:
Run the simulated TL1 Agent at a specified Port.
Connect to the Agent using the TL1CraftInterface.
Load the TCS for which the Agent was created, tl1security.tcs, and tl1builtincommands.tcs in the TL1CraftInterface.
Expand the tl1security.tcs tree and select ACT-USER command.
Authenticate into the TL1 Agent by sending the Input command "ACT-USER::root:1::public;". Here, the user is the "root" ( the administrator) and the password is "public". Please refer to Testing the TL1 Agent for more information on Authentication.
After executing the above command successfully, you can start using the Self-Monitoring commands that are available in the tl1builtincommands.tcs as explained in the following sections.
1. Command for Getting Count of Input Requests Received
This Self-Monitoring command gets the count of the number of Input Request messages that were received by the Agent from the Clients.
The Syntax of the Input Command is as follows:
GET-SM-MSGIN:::<CTAG>::;
Example Request: GET-SM-MSGIN:::11::;
The Response Message for the above input command appears as shown below:
Message sent : GET-SM-MSGIN:::11::; AdvTL1Sim 2003-09-25 17:19:28 M 11 COMPLD "COUNT=27" ; |
2. Command for Getting the Count of Autonomous Messages Sent
This Self-Monitoring command gets the count of the number of Autonomous Messages sent by the Agent. The Syntax of the Input Command is as follows:
GET-SM-ALRMSENT:::<CTAG>::;
Example Request:
GET-SM-ALRMSENT:::12::;
The Response Message for the above input command appears as shown below:
Message sent : GET-SM-ALRMSENT:::12::; AdvTL1Sim 2003-09-25 17:21:01 M 12 COMPLD "COUNT=1" |
3. Acknowledgment Messages Sent
This Self-Monitoring command gets the count of the number of Acknowledgment Messages sent by the Agent for the request messages received from the Clients. The Syntax of the Input Command is as follows:
GET-SM-MSGACK:::<CTAG>::;
Example Request: GET-SM-MSGACK:::13::;
The Response Message for the above input command appears as shown below:
Message sent : GET-SM-MSGACK:::13::; AdvTL1Sim 2003-09-25 17:21:45 M 13 COMPLD "COUNT=2" |
4. Delayed Activation Messages
This Self-Monitoring command gets the number of pending input request messages (i.e., delayed activation messages) which require processing to send responses at a later stage. In other words, this Self-Monitoring command gets number of Delay activation messages that are to be processed and responded to the Client at a later stage.
The Syntax of the Input Command is as follows:
GET-SM-MSGDA:::<CTAG>::;
Example Request: GET-SM-MSGDA:::14::;
The Response Message for the above input command appears as shown below:
Message sent : GET-SM-MSGDA:::14::; AdvTL1Sim 2003-09-25 17:23:33 M 14 COMPLD "COUNT=7" |
5. Output Responses
This Self-Monitoring command gets the number of Output Response Messages that have been sent by the Agent. The Syntax of the Input Command for getting the value of this parameter is as follows:
GET-SM-MSGOUT::<CommandcompletionCode>:<CTAG>::;
Example Request: GET-SM-MSGOUT::COMPLD:15::;
The Response Message for the above input command appeara as shown below:
Message sent : GET-SM-MSGOUT::COMPLD:15::; AdvTL1Sim 2003-09-25 17:24:11 M 15 COMPLD "COUNT=13" ; |
The above input command gets and displays the number of Output Response Messages that were processed and sent successfully. The following is the syntax for the Input Command for getting and displaying the number of Output Messages for the input messages that were partially completed:
GET-SM-MSGOUT::PRTL:<CTAG>::;
Example Request: GET-SM-MSGOUT::PRTL:17::;
The Response Message for the above input command appears as shown below:
Message sent : GET-SM-MSGOUT::PRTL:17::; AdvTL1Sim 2003-09-25 17:24:54 M 17 COMPLD "COUNT=8" |
The following is the syntax for the Input Command for getting and displaying the number of Input Messages that were denied successful execution:
GET-SM-MSGOUT::DENY:<CTAG>::;
Example Request: GET-SM-MSGOUT::DENY:17::;
The Response Message for the above input command appears as shown below:
Message sent : GET-SM-MSGOUT::DENY:17::; AdvTL1Sim 2003-09-25 17:25:31 M 17 COMPLD "COUNT=17" ; |
The following is the syntax for the Input Command for getting and displaying the number of Output Messages that were sent for the input retrieve commands that were sent to retrieve from the NE:
GET-SM-MSGOUT::RTRV:<CTAG>::;
Example Request: GET-SM-MSGOUT::RTRV:20::;
The Response Message for the above input command appears as shown below:
Message sent : GET-SM-MSGOUT::RTRV:20::; AdvTL1Sim 2003-09-25 17:26:21 M 20 COMPLD "COUNT=5" |
The following is the syntax for the Input Command for getting and displaying the number of Output Messages that were delayed processing and queued up in the processing queue:
GET-SM-MSGOUT::DELAY:<CTAG>::;
Example Request: GET-SM-MSGOUT::DELAY:11::;
The Response Message for the above input command appears as shown below:
Message sent : GET-SM-MSGOUT::DELAY:13::; AdvTL1Sim 2003-09-25 17:27:11 M 13 COMPLD "COUNT=12" ; |
![]() ![]() ![]() |