Use the following command to send a notification using APAgent:
APClient.bin --map-data HelloWorld HelloWorld companyadmin 3001 1
The “Hello World!” message should be sent to both the SMTP Email Device and the Text Pager Device. In this example, the email response was “Howdy”, and the pager response was “Good day”. The “HelloWorld-3.log” file should look like this:
2006-05-07 14:14:15,103 [processBroker.7] INFO - Processing notifications...
2006-05-07 14:14:30,197 [notificationResolutionEngine.10] INFO - Response script called with response event SUCCESSFUL_DELIVERY
2006-05-07 14:14:31,166 [notificationResolutionEngine.9] INFO - Response script called with response event SUCCESSFUL_DELIVERY
2006-05-07 14:14:48,432 [notificationResolutionEngine.9] INFO - Response script called with response event RECEIVED_RESPONSE
2006-05-07 14:14:48,463 [notificationResolutionEngine.9] INFO - Response from recipient companyadmin: Good day
2006-05-07 14:15:09,042 [notificationResolutionEngine.9] INFO - Response script called with response event RECEIVED_RESPONSE
2006-05-07 14:15:09,088 [notificationResolutionEngine.9] INFO - Response from recipient companyadmin: Howdy
Next topic: Annotated Example Part Four