
Monitoring Support Objects (ICM/WP3/NTUA/0097)
==================================================================

Short Description
=================
The classes that have been implemented are:

 + MSscanner (just slightly different from the monmet scanner MOC)
 + probabilityEstimator
 + monitoringSupport
 + monitoringSupportMode1 (takes lists as input)
 + monitoringSupportMode2 (uses scope-filtering)

Also some internal classes have been implemented:

observed_attr :	manipulates the observed attributes. It gets the observed value
		and starts the sumstat class for the statistics.

sumstats      :	handls the statistics of the Monitoring Support objects.

buffered      : handls the buffering needs of the probabilityEstimator MOC.

The two Makefiles produce the following files :

Makefile (make):
libmonsupmib.a 	: library for the Monitoring Support Object

Makefile.agent (agent):
Gsmo	       	: A test agent for the Generic Monitoring Support
		  Objects.

Examples
========

There are also some examples in the following script files :

CR1.sh 		: Creation and basic attributes settings for a monitoringSupportMode2
		  MO wich monitors the nUsers attribute of all the MOs that pass the 
		  filter checking in the agent Gsmo. (That means only the UxObj1 object)

DL1.1.sh	: Deletion of the created MO

CR2.sh 		: Same as the previous but monitores the derivedResult attribute

DL2.2.sh	: Deletion of the created MO

CR3.sh 		: Creation and basic attributes settings for a monitoringSupportMode1
		  MO wich monitors the nUsers attribute of the UxObj1 MO and the 
		  derivedResult attribute in itself in the Gsmo agent two times 
		  and executes a mean algorithm above the derived result value.

DL3.3.sh	: Deletion of the created MO

CR4.sh 		: Creation and basic attributes settings for a monitoringSupportMode1
                  MO wich monitors the nUsers attribute of the UxObj1 MO in the Gsmo
                  agent two times and executes a summation algorithm above its value.

DL4.4.sh	: Deletion of the created MO

CR5.sh 		: Creation and basic attributes settings for a probabilityEstimator
                  MO wich monitors the nUsers attribute of the UxObj1 MO in the Gsmo
                  agent and bufferes the observed attribute value. This object reports 
		  every reportingPeriod (30 secs) while it observes every 
		  granularityPeriod (1 secs). So it bufferes 30 times the observed 
		  attribute value.
		  The buffered attribute values are used as a sample upon which
		  the probability will be measured according to the result of the 
		  comparison 
			A > T,
		  where A is the observed attribute and T is the given threshold.
		  If the comparison is true for a values and all the values are b
		  then the probability is a/b.

Contacts
=========
Please send comments/bug fixes to 

George Mykoniatis
NTUA
Phone : +30 1 7757401 int.133,185,190
Fax   : +30 1 7757501
Email : mykoniat@ektor.ntua.gr.
