OML Infrastructure Overview - A Comprehensive Guide for Monitoring Systems
Understand OML basics, filters, measurement points, and database usage in detail. Learn about OML.MDIP, its components, and customization options for effective monitoring and data collection.
OML Infrastructure Overview - A Comprehensive Guide for Monitoring Systems
E N D
Presentation Transcript
OML – Infrastructure overview Igor Leonardo Eloy Macedo
Agenda • OML • Thebasics • Filters • TheMeasurementpoints • The Database • OML MDIP
OML – TheBasics (1) • Firstdeveloped as a componentof OMF • Today is a stande-aloneproject (indepedent) • Collectsanytypeofmeasurementofanytypeofapp • Composedbythreeitems (executionpointofview) • Measurementpoints • MeasurementStreams • OML’sFilteringMechanisms
OML – Filters • It is theresultof some pre-processingon a measurementstream • The big advantageofthis is reducetheamountof data collected • Definidedbythe OML ClientLibrary • It is possible to custumizethen, butthere some default filters: • http://mytestbed.net/projects/oml/repository/revisions/master/show/lib/client/filter • How to creteyourownfilter: • http://omf.mytestbed.net/projects/oml/wiki/Developing_Filters
OML – MeasurementPoints (MP) (2) • “It is the input port for recordingmeasurements” • A MP is a tuplethatindicates a measurement • A measurement is notjust a number • Canbe a groupof itens • In todays version, a measurementcanberepresented as a string | integer | double • App “inject” measurementsinto a MP • ClientLibrary • Registerthe MP • Appliesfilters to them • Sendsthe MP to na output stream | file
OML – MeasurementPoints (MP) (2) OmlMPDefmp_def [] = { { "source", OML_LONG_VALUE }, { "destination", OML_LONG_VALUE }, { "length", OML_LONG_VALUE }, { "protocol", OML_STRING_VALUE }, { NULL, (OmlValueT)0 } }; OmlMP* mp = omlc_add_mp ("packet_info", mp_def); if (mp == NULL) { fprintf (stderr, "Error: couldnotregisterMeasurementPoint \"packet_info\"");; exit (1); }
OML Server • Allowsusers to recordtheirmeasurementsinside a remote database • It works like a daemonprogram for OML arquitecture • Receivesthemeasurementscollectedfromclients • Creates a database namedby “oml-exp-id” (a parameter for configuration, requiredbytheomlc_initfunction • “The oml2-server proposes an abstraction for developers to change the back-end database. Currently, only the sqlite3 backend is fully” • Export database to a txt file (on NICTA testbed) • wget "http://ServerAddress:5053/result/dumpDatabase?expID=Experiment_ID" -O arquivoDump
References • http://oml.mytestbed.net/projects/oml/wiki/Documentation • http://omf.mytestbed.net/projects/omf/wiki/BasicTutorialStage4-5-3 • http://oml.mytestbed.net/projects/oml/wiki/Server • http://oml.mytestbed.net/projects/oml/wiki/Configuring_OML_Client_Applications • http://omf.mytestbed.net/projects/oml/wiki/Client_Programming