<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://osm.etsi.org/wikipub/index.php?action=history&amp;feed=atom&amp;title=OSM_MON_Usage_Guide_%28Release_THREE%29</id>
	<title>OSM MON Usage Guide (Release THREE) - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://osm.etsi.org/wikipub/index.php?action=history&amp;feed=atom&amp;title=OSM_MON_Usage_Guide_%28Release_THREE%29"/>
	<link rel="alternate" type="text/html" href="https://osm.etsi.org/wikipub/index.php?title=OSM_MON_Usage_Guide_(Release_THREE)&amp;action=history"/>
	<updated>2026-05-07T23:48:01Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.39.1</generator>
	<entry>
		<id>https://osm.etsi.org/wikipub/index.php?title=OSM_MON_Usage_Guide_(Release_THREE)&amp;diff=1822&amp;oldid=prev</id>
		<title>Prithiv: /* Sending Messages */</title>
		<link rel="alternate" type="text/html" href="https://osm.etsi.org/wikipub/index.php?title=OSM_MON_Usage_Guide_(Release_THREE)&amp;diff=1822&amp;oldid=prev"/>
		<updated>2017-10-19T10:10:09Z</updated>

		<summary type="html">&lt;p&gt;&lt;span dir=&quot;auto&quot;&gt;&lt;span class=&quot;autocomment&quot;&gt;Sending Messages&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Revision as of 10:10, 19 October 2017&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l24&quot;&gt;Line 24:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 24:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;To send a valid message to the MON module for use by one of the plugins, your message must match the json schema for that request type.&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;To send a valid message to the MON module for use by one of the plugins, your message must match the json schema for that request type.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Once you have created a valid json object with your message you can send it on the message bus with the required topic and key. The vim_type parameter must be specified to ensure that the correct plugin receives the message.&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Once you have created a valid json object with your message you can send it on the message bus with the required topic and key. The vim_type parameter must be specified to ensure that the correct plugin receives the message.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;The &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;SO &lt;/del&gt;support for sending and receiving messages are not implemented yet. It &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;will &lt;/del&gt;be added &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;in &lt;/del&gt;the point release.&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;==Future Extensions==&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;The &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;northbound &lt;/ins&gt;support for sending and receiving messages are not implemented yet. It &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;is expected to &lt;/ins&gt;be added &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;to &lt;/ins&gt;the point release.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Prithiv</name></author>
	</entry>
	<entry>
		<id>https://osm.etsi.org/wikipub/index.php?title=OSM_MON_Usage_Guide_(Release_THREE)&amp;diff=1821&amp;oldid=prev</id>
		<title>Prithiv: Created page with &quot;==OSM MON Usage Guide== This is a guide on how to use the MON module and its three plugins. The SO sends a request to the OSM MON module through Apache Kafka message bus. The...&quot;</title>
		<link rel="alternate" type="text/html" href="https://osm.etsi.org/wikipub/index.php?title=OSM_MON_Usage_Guide_(Release_THREE)&amp;diff=1821&amp;oldid=prev"/>
		<updated>2017-10-19T09:48:01Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;quot;==OSM MON Usage Guide== This is a guide on how to use the MON module and its three plugins. The SO sends a request to the OSM MON module through Apache Kafka message bus. The...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;==OSM MON Usage Guide==&lt;br /&gt;
This is a guide on how to use the MON module and its three plugins. The SO sends a request to the OSM MON module through Apache Kafka message bus. The plugin consumers reads the messages and talks to appropriate VIM monitoring tools. The alarms and metrics has a dedicated topics in the message bus. Currently each message is sent on the message bus in json format, along with a unique request key and its topic.&lt;br /&gt;
&lt;br /&gt;
The plugin sends the response back to the message bus and the responses are logged in to MON module at the moment.&lt;br /&gt;
==Request/Response Unique Key==&lt;br /&gt;
Each type of requests has its own unique key.&lt;br /&gt;
*create_alarm_request&lt;br /&gt;
*create_metric_request&lt;br /&gt;
*list_alarm_request&lt;br /&gt;
*list_metric_request&lt;br /&gt;
*delete_alarm_request&lt;br /&gt;
*delete_metric_request&lt;br /&gt;
*update_alarm_request&lt;br /&gt;
*update_metric_request&lt;br /&gt;
*acknowledge_alarm_request&lt;br /&gt;
*read_metric_data_request&lt;br /&gt;
Each requests has its response counterparts.&lt;br /&gt;
&lt;br /&gt;
==Producers and Consumers==&lt;br /&gt;
The kafka producer reads the request messages from the SO and puts it into the message bus. The topic could be alarm_request or metric_request based on the type of the message received from the SO. The Kafka consumer on the plugin side reads the messages from the message bus, pass it onto the plugin drivers.&lt;br /&gt;
==Sending Messages==&lt;br /&gt;
For each of the request message that can be sent there is a json schema defined in the models directory of the MON repo:&lt;br /&gt;
 &amp;lt;/MON/core/models/&amp;gt;&lt;br /&gt;
To send a valid message to the MON module for use by one of the plugins, your message must match the json schema for that request type.&lt;br /&gt;
Once you have created a valid json object with your message you can send it on the message bus with the required topic and key. The vim_type parameter must be specified to ensure that the correct plugin receives the message.&lt;br /&gt;
The SO support for sending and receiving messages are not implemented yet. It will be added in the point release.&lt;/div&gt;</summary>
		<author><name>Prithiv</name></author>
	</entry>
</feed>