Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Code Block
languagexml
titleMonitoring Service Response
linenumberstrue
<TqlNotification>
  <DeleteAll><Create>
    <K7KVSRMFAAAH6AAAAEKGOJ7B><K7KVTOVXAAAH6AAAAHMC7TXN>
      <Atomiton.MonitorService.ProjectMonitor.UsedMemoryprojectSysId Value="402,382,672OnChange" Version="1" Timestamp="14767531800371476753210039"/>
      <Atomiton.MonitorService.ProjectMonitor.NioServerSocketChannelAlarmLevel Value="10.0" Version="1" Timestamp="14767531800371476753210039"/>
      <Atomiton.MonitorService.ProjectMonitor.TotalMemoryAlarmCount Value="429,391,8720" Version="1" Timestamp="14767531800371476753210039"/>
      <Atomiton.MonitorService.ProjectMonitor.UserCountryProcessImportance Value="US0.0" Version="1" Timestamp="14767531800371476753210039"/>
      <Atomiton.MonitorService.ProjectMonitor.OS Value="Mac OS X 10.1 x86_64" Version="1" Timestamp="14767531800371476753210039"/>
      <Atomiton.MonitorService.ProjectMonitor.UserTimeZoneProcessors Value="America/Los_Angeles8" Version="1" Timestamp="14767531800371476753210039"/>
      <Atomiton.MonitorService.ProjectMonitor.JavaVersionMaxMemory Value="3,817,865,216" Version="1.8.0_91-b14" Timestamp="1476753210039"/>
      <Atomiton.MonitorService.ProjectMonitor.UsedMemory Value="387,791,880" Version="1" Timestamp="14767531800371476753210039"/>
      <Atomiton.MonitorService.ProjectMonitor.ServerIPFreeMemory Value="127.0.0.164,144,376" Version="1" Timestamp="14767531800371476753210039"/>
      <Atomiton.MonitorService.ProjectMonitor.AlarmCountTotalMemory Value="0451,936,256" Version="1" Timestamp="14767531800371476753210039"/>
      <Atomiton.MonitorService.ProjectMonitor.TCPserverInfoServerName Value="Total(connections/reads/writes): (1,172/1,190/5,788); Time(total/per read): (3,764/3.163) ms; read: 545,920 bytes; written: 7,059,745 bytes" Version="1" Timestamp="1476753180037"/>
      <Atomiton.MonitorService.ProjectMonitor.ProcessImportance Value="0.0bkhan" Version="1" Timestamp="1476753210039"/>
      <Atomiton.MonitorService.ProjectMonitor.ServerIP Value="127.0.0.1" Version="1" Timestamp="14767531800371476753210039"/>
      <Atomiton.MonitorService.ProjectMonitor.TCPclientInfoTCPserverInfo Value="Total(connections/reads/writes): (418/418/4171,173/1,191/5,789); Time(total/per read): (3713,770/03.888165) ms; read: 5546,366,349077 bytes; written: 1147,071,867973 bytes" Version="1" Timestamp="14767531800371476753210039"/>
      <Atomiton.MonitorService.ProjectMonitor.MaxMemoryTCPclientInfo Value="3,817,865,216" Version="1" Timestamp="1476753180037"/>
      Total(connections/reads/writes): (419/419/418); Time(total/per read): (372/0.888) ms; read: 5,378,577 bytes; written: 115,024 bytes" Version="1" Timestamp="1476753210039"/>
      <Atomiton.MonitorService.ProjectMonitor.NullChannelNioServerSocketChannel Value="21" Version="1" Timestamp="14767531800371476753210039"/>
      <Atomiton.MonitorService.ProjectMonitor.UserDirectoryNioAcceptedSocketChannel Value="/Users/baseerkhan/iot/atomiton/production/rel-1055" Version="1" Timestamp="14767531800371476753210039"/>
      <Atomiton.MonitorService.ProjectMonitor.JarsIncludedNullChannel Value="jar/OdaLib-2.0.0.jar,jar/com.atomiton.sff.api.jar,jar/com.atomiton.sff.dataflow.jar,jar/com.atomiton.sff.imp.base.jar"2" Version="1" Timestamp="1476753210039"/>
      <Atomiton.MonitorService.ProjectMonitor.FreeChannel Value="" Version="1" Timestamp="1476753210039"/>
      <Atomiton.MonitorService.ProjectMonitor.TotalChannels Value="9" Version="1" Timestamp="1476753210039"/>
      <Atomiton.MonitorService.ProjectMonitor.JavaVersion Value="1.8.0_91-b14" Version="1" Timestamp="1476753210039"/>
      <Atomiton.MonitorService.ProjectMonitor.JarsIncluded Value="jar/OdaLib-2.0.0.jar,jar/com.atomiton.sff.imp.facetapi.jar,jar/com.atomiton.sff.imp.nettydataflow.jar,jar/com.atomiton.sff.storageimp.mongobase.jar,jar/com.googleatomiton.guava-12sff.0imp.1facet.jar,jar/orgcom.apacheatomiton.commons.sff.imp.netty.jar,jar/com.atomiton.sff.storage.mongo.jar,jar/com.google.guava-12.0.1.jar,jar/org.apache.commons.jexl-2.1.1.jar,jar/org.apache.commons.lang-2.6.0.jar,jar/org.apache.felix.configadmin-1.8.10.jar,jar/org.apache.felix.log-1.0.1.jar,jar/org.apache.felix.metatype-1.1.2.jar,jar/org.apache.felix.scr-2.0.6.jar,jar/org.hsqldb.hsqldb-2.3.4.jar,jar/org.jboss.netty-3.10.6.jar,jar/org.ops4j.pax.logging.pax-logging-api-1.8.3.jar,jar/org.ops4j.pax.logging.pax-logging-service-1.8.3.jar" Version="1" Timestamp="14767531800371476753210039"/>
      <Atomiton.MonitorService.ProjectMonitor.ProcessorsUserCountry Value="8US" Version="1" Timestamp="14767531800371476753210039"/>
      <Atomiton.MonitorService.ProjectMonitor.NioAcceptedSocketChannelUserTimeZone Value="5America/Los_Angeles" Version="1" Timestamp="14767531800371476753210039"/>
      <Atomiton.MonitorService.ProjectMonitor.TotalChannelsUserLanguage Value="9en" Version="1" Timestamp="14767531800371476753210039"/>
      <Atomiton.MonitorService.ProjectMonitor.MaxQueueCheckUserDirectory Value="warning/Users/baseerkhan/iot/atomiton/production/rel-105" Version="1" Timestamp="14767531800371476753210039"/>
      <Atomiton.MonitorService.ProjectMonitor.FreeChannelMaxQueueSize Value="10000" Version="1" Timestamp="14767531800371476753210039"/>
      <Atomiton.MonitorService.ProjectMonitor.UserLanguageMaxQueueCheck Value="enwarning" Version="1" Timestamp="14767531800371476753210039"/>
    </K7KVTOVXAAAH6AAAAHMC7TXN>
 <Atomiton.MonitorService.ProjectMonitor.ServerName Value="bkhan" Version="1" Timestamp="1476753180037"/>
      <Atomiton.MonitorService.ProjectMonitor.AlarmLevel Value="0.0" Version="1" Timestamp="1476753180037"/>
      <Atomiton.MonitorService.ProjectMonitor.MaxQueueSize Value="10000" Version="1" Timestamp="1476753180037"/>
      <Atomiton.MonitorService.ProjectMonitor.projectSysId Value="OnChange" Version="1" Timestamp="1476753180037"/>
      <Atomiton.MonitorService.ProjectMonitor.FreeMemory Value="27,009,200" Version="1" Timestamp="1476753180037"/>
    </K7KVSRMFAAAH6AAAAEKGOJ7B>
  </DeleteAll>
</TqlNotification>
<TqlNotification>
  <Create>
    <K7KVTOVXAAAH6AAAAHMC7TXN>
      <Atomiton.MonitorService.ProjectMonitor.projectSysId Value="OnChange" Version="1" Timestamp="1476753210039"/>
      <Atomiton.MonitorService.ProjectMonitor.AlarmLevel Value="0.0" Version="1" Timestamp="1476753210039"/>
      <Atomiton.MonitorService.ProjectMonitor.AlarmCount Value="0" Version="1" Timestamp="1476753210039"/>
      <Atomiton.MonitorService.ProjectMonitor.ProcessImportance Value="0.0" Version="1" Timestamp="1476753210039"/>
      <Atomiton.MonitorService.ProjectMonitor.OS Value="Mac OS X 10.1 x86_64" Version="1" Timestamp="1476753210039"/>
      <Atomiton.MonitorService.ProjectMonitor.Processors Value="8" Version="1" Timestamp="1476753210039"/>
      <Atomiton.MonitorService.ProjectMonitor.MaxMemory Value="3,817,865,216" Version="1" Timestamp="1476753210039"/>
      <Atomiton.MonitorService.ProjectMonitor.UsedMemory Value="387,791,880" Version="1" Timestamp="1476753210039"/>
      <Atomiton.MonitorService.ProjectMonitor.FreeMemory Value="64,144,376" Version="1" Timestamp="1476753210039"/>
      <Atomiton.MonitorService.ProjectMonitor.TotalMemory Value="451,936,256" Version="1" Timestamp="1476753210039"/>
      <Atomiton.MonitorService.ProjectMonitor.ServerName Value="bkhan" Version="1" Timestamp="1476753210039"/>
      <Atomiton.MonitorService.ProjectMonitor.ServerIP Value="127.0.0.1" Version="1" Timestamp="1476753210039"/>
      <Atomiton.MonitorService.ProjectMonitor.TCPserverInfo Value="Total(connections/reads/writes): (1,173/1,191/5,789); Time(total/per read): (3,770/3.165) ms; read: 546,077 bytes; written: 7,071,973 bytes" Version="1" Timestamp="1476753210039"/>
      <Atomiton.MonitorService.ProjectMonitor.TCPclientInfo Value="Total(connections/reads/writes): (419/419/418); Time(total/per read): (372/0.888) ms; read: 5,378,577 bytes; written: 115,024 bytes" Version="1" Timestamp="1476753210039"/>
      <Atomiton.MonitorService.ProjectMonitor.NioServerSocketChannel Value="1" Version="1" Timestamp="1476753210039"/>
      <Atomiton.MonitorService.ProjectMonitor.NioAcceptedSocketChannel Value="5" Version="1" Timestamp="1476753210039"/>
      <Atomiton.MonitorService.ProjectMonitor.NullChannel Value="2" Version="1" Timestamp="1476753210039"/>
      <Atomiton.MonitorService.ProjectMonitor.FreeChannel Value="" Version="1" Timestamp="1476753210039"/>
      <Atomiton.MonitorService.ProjectMonitor.TotalChannels Value="9" Version="1" Timestamp="1476753210039"/>
      <Atomiton.MonitorService.ProjectMonitor.JavaVersion Value="1.8.0_91-b14" Version="1" Timestamp="1476753210039"/>
      <Atomiton.MonitorService.ProjectMonitor.JarsIncluded Value="jar/OdaLib-2.0.0.jar,jar/com.atomiton.sff.api.jar,jar/com.atomiton.sff.dataflow.jar,jar/com.atomiton.sff.imp.base.jar,jar/com.atomiton.sff.imp.facet.jar,jar/com.atomiton.sff.imp.netty.jar,jar/com.atomiton.sff.storage.mongo.jar,jar/com.google.guava-12.0.1.jar,jar/org.apache.commons.jexl-2.1.1.jar,jar/org.apache.commons.lang-2.6.0.jar,jar/org.apache.felix.configadmin-1.8.10.jar,jar/org.apache.felix.log-1.0.1.jar,jar/org.apache.felix.metatype-1.1.2.jar,jar/org.apache.felix.scr-2.0.6.jar,jar/org.hsqldb.hsqldb-2.3.4.jar,jar/org.jboss.netty-3.10.6.jar,jar/org.ops4j.pax.logging.pax-logging-api-1.8.3.jar,jar/org.ops4j.pax.logging.pax-logging-service-1.8.3.jar" Version="1" Timestamp="1476753210039"/>
      <Atomiton.MonitorService.ProjectMonitor.UserCountry Value="US" Version="1" Timestamp="1476753210039"/>
      <Atomiton.MonitorService.ProjectMonitor.UserTimeZone Value="America/Los_Angeles" Version="1" Timestamp="1476753210039"/>
      <Atomiton.MonitorService.ProjectMonitor.UserLanguage Value="en" Version="1" Timestamp="1476753210039"/>
      <Atomiton.MonitorService.ProjectMonitor.UserDirectory Value="/Users/baseerkhan/iot/atomiton/production/rel-105" Version="1" Timestamp="1476753210039"/>
      <Atomiton.MonitorService.ProjectMonitor.MaxQueueSize Value="10000" Version="1" Timestamp="1476753210039"/>
      <Atomiton.MonitorService.ProjectMonitor.MaxQueueCheck Value="warning" Version="1" Timestamp="1476753210039"/>
    </K7KVTOVXAAAH6AAAAHMC7TXN>
  </Create>
</TqlNotification> </Create>
</TqlNotification>

Taking Monitoring Actions 

Monitoring the A-Stack runtime and logging the alarm conditions in log files is a the simplistic action. Actions can be taken at multiple levels. Below are some of use cases of when actions can be taken.


Code Block
languagexml
themeEmacs
titleRestart Parameter
linenumberstrue
<sff.monitor.memory.restart>0.8</sff.monitor.memory.restart>


Infrastructure Monitoring Action