- 浏览: 28530 次
- 性别:
- 来自: 重庆
最新评论
Trinity listens to BAC's BUS and delivers every sample to the Matcher.
The Matcher uses the CIs/KPIs selectors to determine which element accepts that sample.
Tracking the samples handled by Matcher requires turning on the DEBUG mode in:
<Processing machine>\HPBAC\conf\core\Tools\log4j\mercury_online_engine\bleOnline.properties
Change-
#log4j.category.Trinity.com.mercury.am.platform.processing.ble.core.impl.matcher=$loglevel, trinity.file.appender
To-
log4j.category.Trinity.com.mercury.am.platform.processing.ble.core.impl.matcher=DEBUG, trinity.file.appender
In order to realize what sample in mapped to a sample number turn on the TrinitySample DEBUG mode in the same file
Change-
log4j.category.Trinity.com.mercury.am.platform.processing.ble.core.impl.matcher=$loglevel, trinity.file.appender
To-
log4j.category.Trinity.com.mercury.am.platform.processing.ble.core.impl.matcher=DEBUG, trinity.file.appender
Follow this log file:
<Processing machine>\HPBAC\log\mercury_online_engine\Trinity.log
and
<Processing machine>\HPBAC\log\mercury_online_engine\TrinitySamples.log
Note: Do not forget to turn off the DEBUG mode when done; The Matcher log appender in commented in default.
Problem
Monitor KPI is not calculating
Solution
Check for matching samples in TrinitySamples.log on MercuryAM\log\mercury_online_engine :
In bleOnline.properties file on MercuryAM\conf\core\Tools\log4j\mercury_online_engine
1. Change BLE_SAMPLES to debug
2. Add this line to the properties file
log4j.category.Trinity.com.mercury.am.platform.processing.ble.core.impl.matcher.BLEContextMatcherImpl=DEBUG, trinity.samples.appender
a. In case you find your sample and there is a match-
Context DASHBOARD for 1 received sample (#6867):
...sample details...
For sample #6867 of type trans_t in context DASHBOARD for 1 the matching is [59c6a274e0a8761eb89bff7bfd3df0d0]
There could be a problem with the timestamp, check if the BAC machine time is synchronize with the DB machine time.
b. In case you find your sample and there is no match-
Context DASHBOARD for 1 received sample (#7203):
...sample details...
No match for sample #7203 of type event in context DASHBOARD for 1
There could be a problem with the selector, check for the selector definition on Dashboard Admin.
c. In case the sample is not in the file, although you have send it, then look at dispatcher_log.txt on MerucyrAM\log\core there you can see the samples as they were received from the BUS- and the error that prevents them from getting to TrinitySamples.log and to the DB.
d. If none of those solutions work - look at bam.app.rules.log, rulesfwk.log and Trinity.log for errors.
<!-- <rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:trackback="http://madskills.com/public/xml/rss/module/trackback/"> <rdf:Description rdf:about="http://rndwiki.atlanta.hp.com/confluence/display/cord/Matcher" dc:identifier="http://rndwiki.atlanta.hp.com/confluence/display/cord/Matcher" dc:title="Matcher" trackback:ping="http://rndwiki.atlanta.hp.com/confluence/rpc/trackback/200730" /> </rdf:RDF> -->发表评论
-
嵌入EUM报告
2010-12-08 17:22 8561。解决Genrate Button无反应问题 修改t ... -
BAC Business Rule分析之二
2010-08-19 02:23 805BaseRule中execute方法是 ... -
WDE log
2009-12-02 00:51 1059The Web Data Entry is the sampl ... -
Rule log
2009-12-02 00:47 843The Rule Engine contains the ac ... -
KPI Matcher
2009-12-02 00:44 941Trinity uses the Matcher as the ... -
BAC数据DEBUG(WDE & Loader Troubleshooting)
2009-11-27 20:37 1373WDE Data Collectors send data ... -
Sample日志
2009-11-04 13:33 913D:\HPBAC\conf\core\Tools\log4j\ ... -
Dashborad Tables
2009-09-23 17:41 1451Dashboard Repository BC_R ... -
MyBac Tables
2009-09-23 17:40 1206All MyBSM (MyBAC) related tabl ... -
BAC Log files
2009-09-23 17:30 1625Dashboard Monitor displ ... -
BAC Monitor Rule分析
2009-09-08 22:27 1112Mointor Rule是BAC数据来源的起点, ... -
读BAC7.5 源码有感
2009-09-06 01:10 785累,脑细胞不知道死了多少了。而且由于官方放出的源代码太少,只 ... -
Bac7.5 中Generic Sample Rule分析
2009-09-02 22:44 865Dashbord中的Generic Sample Rule用的 ...
相关推荐
模板匹配器 模式匹配提取到单独的模块中安装npm install template-matcher --save用法 var matcher = require ( 'template-matcher' ) ;var matches = matcher ( '... log ( matches ) ;// ['attr', 'content']信用参见
浏览器支持IE 10以上火狐浏览器Chrome合金苹果浏览器安装npm install media-query-matcher --save例子 var MediaQueryMatcher = require ( 'media-query-matcher' ) ;var mqMatcher = new MediaQueryMatcher ( {'...
(也是Redump DAT Matcher) 基于No-Intro / Redump文件名的ROM文件的漂亮文件名。 脚本将对文件进行哈希处理,并将其与dat文件中的相应哈希进行匹配,并从那里使用文件名,然后将具有新文件名的文件复制到输出...
安装: ## $ php composer.phar require developeruz/yii-matcher " * "用法示例:## use developeruz\yii_matcher\ ModelMatcher ;class ValidateTest extends TestCase { public function ...
自定义 Matcher for 以测试可访问性 :warning: :raised_hand: 该项目不能保证您所构建的内容是可访问的。 GDS可访问性团队发现,只有。 诸如ax之类的工具类似于诸如或类的 :它们可以找到常见问题,但不能保证您...
private static final UriMatcher URI_MATCHER=new UriMatcher(UriMatcher.NO_MATCH); private final String TAG="provider"; private static final String authority="com.example.tigongzhe.provider"; static...
dy-agent-log4j:为了不与目标应用的日志框架产生冲突,自己实现的log4j。如何添加新的拦截器继承AbstractMethodInterceptor类,需要override两个方法: focusOn 以及 match。focusOn在focusOn中定义需要拦截的特定类...
import java.util.regex.Matcher; import java.util.regex.Pattern; import org.apache.catalina.Globals; import org.apache.catalina.security.SecurityClassLoad; import org.apache.catalina.startup....
import android.util.Log; import android.util.Config; import android.net.NetworkInfo; import android.net.NetworkStateTracker; import java.util.regex.Pattern; import java.util.regex.Matcher; /** * ...
import java.util.regex.Matcher; import java.util.regex.Pattern; /* * LumaQQ - Java QQ Client * * Copyright (C) 2004 luma * * This program is free software; you can redistribute it and/or ...
log ( micromatch ( [ 'foo' , 'bar' , 'baz' , 'qux' ] , [ 'f*' , 'b*' ] ) ) //=> ['foo', 'bar', 'baz'] console . log ( micromatch ( [ 'foo' , 'bar' , 'baz' , 'qux' ] , [ '*' , '!b*' ] ) ) //=> ['foo',...
加密货币地址检测器 检测地址对应于哪种加密货币。安装~ ❯❯❯ npm install cryptocurrency-address-detector用法const addressDetect = require ( 'cryptocurrency-... log ( cryptocurrency ) ;//=> 'ETH'} ) ;ad
...\mongo-c-driver\include\libmongoc-1.0\mongoc\mongoc-matcher.h ...\mongo-c-driver\include\libmongoc-1.0\mongoc\mongoc-opcode.h ...\mongo-c-driver\include\libmongoc-1.0\mongoc\mongoc-prelude.h ...\...