Bug #61242 Replication Delay graph not available if master is not monitored
Submitted: 20 May 2011 10:16 Modified: 5 Jul 2011 17:32
Reporter: Daniël van Eeden Email Updates:
Status: Closed Impact on me:
None 
Category:MySQL Enterprise Monitor: Web Severity:S3 (Non-critical)
Version:2.3.4 OS:Any
Assigned to: CPU Architecture:Any

[20 May 2011 10:16] Daniël van Eeden
Description:
If only the slave in a master/slave setup is monitored by MEM then the Replication Delay graph is not displayed.

Replication is detected correctly and the master is listed as "Unmonitored" in the Replication tab.

How to repeat:
See Description.
[25 May 2011 8:46] Valeriy Kravchuk
Thank you for the problem report.
[25 May 2011 20:48] Mark Leith
The graphs are in no way driven by whether the master is monitored or not, these are shown purely on an instance by instance basis, if the data is available.

There must be some other issue here, such as privileges, for the graph to not show up. 

Please contact support rather than use the bugs system to track this down.

Closing as "can't repeat".
[8 Jun 2011 8:28] Arnaud Adant
The bug comes from expression evaluation in 2.3.4 :

2011-06-08 04:37:08,307 ERROR [em-worker-pool-thread-3:com.mysql.advisor.com.mysql.etools.monitor.bo.rule.ListeningRuleEvaluator] slave_too_far_behind_master.name: (%Relay_Log_P
os% > 150) && (%Seconds_Behind_Master% > THRESHOLD)((4 > 150) && ("" > 300))
com.mysql.etools.exception.ExpressionException: E1802: ExpressionException: [slave_too_far_behind_master.name, java.lang.RuntimeException: > not defined for object of type java.
lang.String and java.lang.String
Error during evaluation, (4 > 150) && ("" > 300), {THRESHOLD=300, %Relay_Log_Pos%=4, %Seconds_Behind_Master%=""}]
       at com.mysql.etools.monitor.bo.rule.JepExpressionEvaluator.evaluateDoubleExpression(JepExpressionEvaluator.java:183)
       at com.mysql.etools.monitor.bo.rule.JepExpressionEvaluator.evaluateBooleanExpression(JepExpressionEvaluator.java:98)
       at com.mysql.etools.monitor.bo.rule.RuleEvaluator.evaluateThresholds(RuleEvaluator.java:65)
       at com.mysql.etools.monitor.bo.rule.ListeningRuleEvaluator.scanThresholds(ListeningRuleEvaluator.java:408)
       at com.mysql.etools.monitor.bo.rule.ListeningRuleEvaluator.evaluate(ListeningRuleEvaluator.java:214)
       at com.mysql.etools.monitor.bo.rule.ListeningRuleEvaluator.processDatum(ListeningRuleEvaluator.java:345)
       at com.mysql.etools.monitor.bo.rule.ListeningRuleEvaluator.access$000(ListeningRuleEvaluator.java:49)
       at com.mysql.etools.monitor.bo.rule.ListeningRuleEvaluator$1.saved(ListeningRuleEvaluator.java:71)
       at com.mysql.etools.monitor.pom.InstanceAttributeListenerManager.notifyListeners(InstanceAttributeListenerManager.java:122)
       at com.mysql.etools.monitor.pom.hib.HibDcReaderWriter3$1.run(HibDcReaderWriter3.java:145)
       at com.mysql.etools.concurrent.LogServiceTaskDecorator$LoggingRunnable.run(LogServ
[5 Jul 2011 17:32] John Russell
Added to 2.3.5 change log:

An error could occur during expression evaluation, of the form > not
defined for object of type java.lang.String and java.lang.String.
This error could result in some graphs not being displayed, such as
the Replication Delay graph.