Howto install and Configure a Regional MonaLisa Collector
Installing and Configuring a Regional MonaLisa Collector
Useful links: MonaLisa Cluster Monitoring by Costin Grigoras [1]
Adding additional information to the MonaLisa Collector
To add additional information which can be monitored by MonaLisa first that information must be collected
by the site's collector. The file which configures what data will be collected can be found in the
sites MonaLisa directory tree (~/MonaLisa/Service/myFarm). The file is called ml.properties. This file
configures many features of the local collector including what data will be collected. To collect information
that is not supported by an existing package (class) an External Script can be used. The command to be added
to the lm.properties files is
*ExternalScripts{monStatusCmd, localhost, "/path/to/the/command.sh"}%60
ExternalScripts is the existing class where this collected data is kept in.
monStatusCmd is the "Command/filter" which decodes the <tab> separated file of information.
localhost is the host name of the host where the data is located only experts should use
something other than localhost.
/path/to/the/command.sh is the shell script to be executed to collect and configure the data.
Its output should be in the form Property_Class<tab>Property_name_0<tab>Value_0 [...<tab>property_name_1<tab>Value_1]