-
Notifications
You must be signed in to change notification settings - Fork 0
First Loop Test
This page is deprecated; check the new versions of Scout.
This pages summarizes how to install and try out a first prototype version of the watch component (Scout).
As soon as you deploy the application will add some initial data and use the files provided to simulate the user input. Afterwards it will start running and the central monitor will look for a c3po (collection profile) adaptor plugin and will load it (provided it is in the correct place) dynamically. We have provided a simple initial Async Request that checks if the size of a collection is over 10 000 000 bytes.
As soon as the adaptor is found the monitor will configure it and run it continuously. The c3po dummy adaptor provides some dummy properties and will simulate the collection profile querying. As soon as it returns the measured values the Async Request will be assessed and the collection profile monitor will trigger a notification if needed. Currently the notification is just a simple log message.
If you wait enough (a couple of runs of the adaptor) you should see it.
Download this zip file (~100MB) (md5: 58ec770eb648b34c87662959e1b11a7c). It consists of three parts
- A Jboss version with a scout deployment.
- A 'watch' folder that contains three different folder and has an adaptor plugin plus some configuration files in it.
- A '.watchconfig' file.
In order to run it, extract the zip in a location of your choice and edit the .watchconfig file. Please provide the path to the respective sub directory of the 'watch' directory where you unpacked the zip for each of the following properties in the config file:
- watch.kb.data_folder=
- watch.plugins.directory=
- watch.adaptors.folder=
Note, that under Windows you have to escape each backslash with another backslash.
As soon as you do this, copy the .watchconfig file to your home directory.
Navigate to the jboss directory in the location where you unpacked the zip and open up the bin directory. Inside there are start scripts. Depending on your OS choose the correct 'standalone' script and run it. This will start a local jboss instance and deploy the watch component.
As soon as the application was deployed, jboss will print the following: INFO org.jboss.as.server.controller (DeploymentScanner-threads - 2) Deployed "scout-web.war"
Wait a bit and look at the output log and see if the 'NOTIFICATION LOG' message is outputed. You may have to wait a couple of minutes but not more...
In order to get a first idea of what else would be possible open up a browser and navigate to localhost:8080/scout to see the documentation of the api and fire some example requests.