Quantcast
Channel: MySQL Forums - MySQL Monitoring & Oracle Enterprise Manager
Viewing all 100 articles
Browse latest View live

MEM customizing and bugs?! (3 replies)

$
0
0
Hello everyone,

I'm using MySQL Enterprise Monitor 3.0.5. Is there any possibility to customize the dashboard, eg. one database activity graph for every instance?
Does anyone know this?


Second, I have 2 bugs on the dashboard:
After an auto-refresh the 'Connections - All MySQL-Instances' diagram changes from stacked to line.
After a login or an auto-refresh the colors of the 'Database Activity - All MySQL Instances' diagram changes.
For rechanging the diagram, I have to move the mouse or I have to toggle the diagram type.

before-refresh-picture: http://www.directupload.net/file/d/3516/nnctaryi_png.htm
after-refresh-picuture: http://www.directupload.net/file/d/3516/nj2qtqqj_png.htm


At the query-analyzer, detailed, graph-tab, there is no graph viewable.
Is this a bug or a feature?
picture: http://s7.directupload.net/images/140128/f9tmzncd.png



Hoping for help :)


Best regards
Chris.

problem working with mysql monitor dashboard (3 replies)

$
0
0
Hello to all,

I am new in mysql. I am trying to work with mysql monitor 3.0. Following is the setup that I have used. Please correct me where I am wrong.

I downloaded
mysqlmonitor-3.0.4.2920-linux-x86-installer.bin for service manager and
mysqlmonitoragent-3.0.4.2920-linux-x86-32bit-installer.bin for the agent

./mysqlmonitor-3.0.4.2920-linux-x86-installer.bin

I enterd following values when insatller prompts:

Installtion Directory: /opt/mysql/enterprise/monitor

Tomcat Server port : 18080
Tomcat SSL Port: 18443

Service manager User Account: mysqlmem

database installtion: I wish to use an bundled mysql database.

REpository user name: service_manager
After entering password,

MySQL database port: 13306

Use SSL when connecting to the database box is uncheck.

After Installation, I start the browser to open Enterprise manager's first UI.
https://localhost:18443/Setup.action

Create Manager User: admin
password: ******

Create agent user: agent_user
password: ******

Rest I used all the defaults.

After completing the setup, it shows me that I logged in as admin user.

But he is enable to do anything with the UI. He cannot create group. No mysql instances are being displayed here, no monitored hosts are being

displayed here. I read that mysql monitor 3.0 has now built-in agent. So, according to me there should be some monitored hosts in the UI window.

Query Analyzer Problem loading data (3 replies)

$
0
0
Hello Everyone,

I have a problem with the query analyzer.

If I want, to view the querys of the last days (1d and 2d), the analyzer loads the the data, but will be achieves no result.

When I change the instance or group, this error-message appears: 'Communication Error Cannot load Data'

The data purge behavior is on default value (4 weeks).

While the analyzer tries to load the data, the host of the Monitor-Server has a massive growth of the CPU iowait time (30%-40%).

This problem concerns every mysql-instance.


best regards
Christian

Asset Selector never populating (2 replies)

$
0
0
The asset selection tree on the left-hand side of Enterprise Manager never finishes loading, it just has a spinning icon. Because of this, I can't select the database that I am interested in viewing in the Query Analyzer.

Does anyone have an idea on how to fix this or how to find more details?

Getting error "Connection was closed in SingleConnectionDataSource" when attempting to monitor instance. (1 reply)

$
0
0
Enterpise Monitor is getting the following error when attempting to connect to the instance to be monitored:

JDBC operation against localhost:3306 failed due to Could not get JDBC Connection; nested exception is java.sql.SQLException: Connection was closed in SingleConnectionDataSource. Check that user code checks shouldClose() before closing Connections, or set 'suppressClose' to 'true'. Will not retry (operation was not retry-able or no retries are left)

I have found that the error comes from the "Spring" Java framework, but I have no idea how I am supposed to fix this. Any ideas?

V3.0.7 Linux (2 replies)

$
0
0
Hello,

I missing the linux service manager package for downloading.
Windows is already available.

Is there an updated package for Linux, or I have to use 3.0.6 SM with 3.0.7 agent?


Regards,
Christian

Monitor Agent creates massive slow queries (2 replies)

$
0
0
Hello,

my company analyzes the logfiles of the mysql-server.
There we can see, that the monitor agent creates a lot of entries in the slow query logfile. They are so long, that we can see the full logentry in the slow query as well in the analyzing tool.

Example:
SET timestamp=1396609157; SELECT * FROM (SELECT digest AS `digest`, schema_name AS `schema`, count_star AS `execCount`, IFNULL(sum_timer_wait * 0.000001, 0) AS `execTimeTotal`, IFNULL(min_timer_wait * 0.000001, 0) AS `execTimeMin`, IFNULL(max_timer_wait * 0.000001, 0) AS `execTimeMax`, IFNULL(sum_lock_time * 0.000001, 0) AS `lockTimeTotal`, sum_errors AS `errorCount`, sum_warnings AS `warningCount`, sum_rows_affected + sum_rows_sent AS `rowsTotal`, sum_rows_examined AS `rowsExaminedTotal`, sum_created_tmp_disk_tables AS `createdTmpDiskTables`, sum_created_tmp_tables AS `createdTmpTables`, sum_select_full_join AS `selectFullJoin`, sum_select_full_range_join AS `selectFullRangeJoin`, sum_select_range AS `selectRange`, sum_select_range_check AS `selectRangeCheck`, sum_select_scan AS `selectScan`, sum_sort_merge_passes AS `sortMergePasses`, sum_sort_range AS `sortRange`, sum_sort_rows AS `sortRows`, sum_sort_scan AS `sortScan`, sum_no_index_used AS `noIndexUsedCount`, sum_no_good_index_used AS `noGoodIndexUsedCount`, digest_text AS `normalizedText`, unix_timestamp(first_seen)*1000 AS `firstSeen`, unix_timestamp(last_seen)*1000 AS `lastSeen` FROM performance_schema.events_statements_summary_by_digest WHERE digest IS NOT NULL -- even though i want a (from,to] set based on last_seen, it's only at 1s -- precision, so if i elide a seconds worth of samples, it could miss some. -- note, then this requires the delta'izing algorithm to elide exec counts -- that haven't changed AND UNIX_TIMESTAMP(last_seen)*1000 > 1396609097000 -- AND UNIX_TIMESTAMP(last_seen)*1000 <= ? ) as digests LEFT OUTER JOIN (SELECT history.*, threads.processlist_user as `user`, threads.processlist_host as `hostFrom` FROM ( SELECT statement_history.digest AS `digest`, sql_text as `text`, current_schema as `schema`, thread_id as `connectionId`, IFNULL(statement_history.timer_wait * 0.000001, 0) as `execTime`, errors as `errors`, warnings as `warnings`, rows_sent as `rows`, no_index_used as `noIndexUsed`, no_good_index_used as `noGoodIndexUsed`,
max_times.serverStartMillis + FLOOR(timer_end / 1000000000) as exampleTimestamp, timer_end FROM performance_schema.events_statements_history_long as statement_history JOIN ( SELECT IFNULL(MAX(timer_wait), 0) AS timer_wait, digest, current_schema as `schema`, status.serverStartMillis as serverStartMillis FROM performance_schema.events_statements_history_long JOIN ( SELECT (UNIX_TIMESTAMP(now()) - CAST(variable_value AS SIGNED))*1000 as serverStartMillis FROM information_schema.global_status WHERE variable_name='uptime' ) AS status -- filter by the exampleTimestamp per row when finding the maxes, -- as we only want rows in our range considered WHERE timer_end > '407964579744677000' -- AND timer_end <= ?
-- AND 1000+status.serverStartMillis + FLOOR(timer_end / 1000000000) <= ? GROUP BY digest, current_schema ) AS max_times ON (max_times.timer_wait = statement_history.timer_wait AND max_times.digest = statement_history.digest AND max_times.schema <=> statement_history.current_schema) ) as history LEFT OUTER JOIN performance_schema.threads AS threads ON history.connectionId = threads.thread_id ) as events ON digests.digest = events.digest AND digests.schema <=> events.schema; # User@Host: agent_master[agent_master] @ localhost [127.0.0.1] Id: 11478 # Query_time: 0.000383 Lock_time: 0.000253 Rows_sent: 1 Rows_examined: 0


Is there a possibility to prevent creating logentries caused by the agent?

Best Regards
Chris

MySQL Enterprise Monitor (1 reply)

$
0
0
Hi

Has anyone managed to get the agent in MySQL EM to deploy on an Amazon RDS instance running MySQL.

The RDS seems quite locked down and one cannot even SSH via Putty onto the box.

Any workarounds ?

Thanks
Dan

MySQL Enterprise Monitor 2.3.17 has been released (no replies)

$
0
0
MySQL Enterprise Monitor 2.3.17 is now available for download on the
My Oracle Support (MOS) web site.

This is a maintenance release that updates various third party
components. You can find more information on the contents of this
release in the change log:

http://dev.mysql.com/doc/mysql-monitor/2.3/en/mem-news-2-3-17.html
(also included at the end of this note for convenience)

You will find binaries for the new release on My Oracle Support:

https://support.oracle.com

Choose the "Patches & Updates" tab, and then choose the "Product or
Family (Advanced Search)" side tab in the "Patch Search" portlet.

Important: MEM 3.0 offers many significant improvements over MEM 2.3.
If you have not already analyzed upgrading any remaining 2.3
installations to MEM 3.0, we highly recommend you do so. More
information on MEM 3.0 is available here:

What's new in MySQL Enterprise Monitor 3.0?
http://dev.mysql.com/doc/mysql-monitor/3.0/en/mem-comparison-2-3.html

MySQL Enterprise Edition: Demos
http://www.mysql.com/products/enterprise/demo.html

MySQL Enterprise Monitor Frequently Asked Questions
http://dev.mysql.com/doc/mysql-monitor/3.0/en/mem-faq.html

MySQL Enterprise Monitor Change History
http://dev.mysql.com/doc/mysql-monitor/3.0/en/mem-news.html

More information on MySQL Enterprise and the Enterprise Monitor can be
found here:

http://www.mysql.com/products/enterprise/
http://www.mysql.com/products/enterprise/monitor.html
http://www.mysql.com/products/enterprise/query.html
http://forums.mysql.com/list.php?142

If you are not a MySQL Enterprise customer and want to try the Monitor
and Query Analyzer using our 30-day free customer trial, go to
http://www.mysql.com/trials, or contact Sales at
http://www.mysql.com/about/contact.

Thanks and Happy Monitoring!

- The MySQL Enterprise Tools Development Team

==========

Changes in MySQL Enterprise Monitor 2.3.17

Functionality Added or Changed

* The bundled Tomcat server was updated to version 6.0.39.

Unable to de-serialize agent orders (1 reply)

$
0
0
We have installed version 3 of the MEM and Agent. On each monitored server the agent is connected to the local MySQL database. However, when we try to connect to an agent from the MEM UI it fails and enters the following in the agent's mysql-monitor-agent.log:

2014-07-10 18:37:59,679 ERROR com.mysql.etools.agent.transport.http.HttpPollingJobFetcher: Unable to de-serialize agent orders from https://x.x.x.x:18443/v3/Agent/aabd1936-61b3-4e98-abef-587f06676926/orders

Any idea what the problems is?

MEM Agent starting but not working. (1 reply)

$
0
0
Dear all,

I've got the MEM Service Manager up and running without problems and it's monitoring local instances of Mysql that are on the same box.

However upon installing the Agent on my Ubuntu 12.04 linux boxes I get a number of errors and I wonder if anyone else has come across them and found a workaround. See log file below including numerous stack traces.

I Googled the error message (of course!) and there were zero hits which makes me wonder what might have gone wrong during install, which seemed to be fine. But maybe someone out there has a clue about this...

[I would particularly like to know if the Agent is passing info to the Service Manager via GET/POST/HTTP and if these can be done on the command line.]


Ubuntu 12.04
MEM Service Manager: 3.0.10.2987
Agent: 3.0.11

Any insights? Where do I start looking?

Thanks!


From the MEM Agent Log:
==> mysql-monitor-agent.log <==
2014-07-18 09:50:33,633 ERROR com.mysql.etools.agent.order.InventoryCollectionOrder: Error running collection InventoryCollectionSchedule[collectionService=scope=com.mysql.etools.scope.AssetScope[com.mysql.etools.inventory.model.os.Os];metrics=[];params=null;schedule=FixedPeriodSchedule[period=00:00:30;start=null;next=null]]

==> mysql-monitor-agent-full.log <==
2014-07-18 09:50:33,633 ERROR [cme.schedule.Scheduler-3:com.mysql.etools.agent.order.InventoryCollectionOrder] Error running collection InventoryCollectionSchedule[collectionService=scope=com.mysql.etools.scope.AssetScope[com.mysql.etools.inventory.model.os.Os];metrics=[];params=null;schedule=FixedPeriodSchedule[period=00:00:30;start=null;next=null]]
java.lang.UnsatisfiedLinkError: org.hyperic.sigar.SysInfo.gather(Lorg/hyperic/sigar/Sigar;)V
at org.hyperic.sigar.SysInfo.gather(Native Method)
at com.mysql.etools.agent.collection.os.OsProvider$1.execute(OsProvider.java:130)
at com.mysql.etools.agent.collection.SigarExecutor.execute(SigarExecutor.java:93)
at com.mysql.etools.agent.collection.os.OsProvider.collectOs(OsProvider.java:116)
at com.mysql.etools.agent.collection.os.OsProvider.collect(OsProvider.java:109)
at com.mysql.etools.agent.collection.impl.SimpleInventoryProviderAdaptor.fetch(SimpleInventoryProviderAdaptor.java:93)
at com.mysql.etools.agent.collection.impl.InventoryConcentrator$ProvidersIterator.computeNext(InventoryConcentrator.java:130)
at com.mysql.etools.agent.collection.impl.InventoryConcentrator$ProvidersIterator.computeNext(InventoryConcentrator.java:106)
at com.google.common.collect.AbstractIterator.tryToComputeNext(AbstractIterator.java:143)
at com.google.common.collect.AbstractIterator.hasNext(AbstractIterator.java:138)
at com.google.common.collect.ImmutableList.copyOf(ImmutableList.java:263)
at com.google.common.collect.ImmutableList.copyOf(ImmutableList.java:223)
at com.mysql.etools.agent.collection.impl.MetricCollectionConcentrator.doCollect(MetricCollectionConcentrator.java:71)
at com.mysql.etools.agent.collection.impl.MetricCollectionConcentrator.collect(MetricCollectionConcentrator.java:62)
at com.mysql.etools.agent.collection.impl.AgentShim.collect(AgentShim.java:22)
at com.mysql.etools.agent.order.InventoryCollectionOrder.run(InventoryCollectionOrder.java:95)
at com.mysql.etools.agent.order.InventoryCollectionOrder.access$000(InventoryCollectionOrder.java:26)
at com.mysql.etools.agent.order.InventoryCollectionOrder$1.run(InventoryCollectionOrder.java:75)
at org.springframework.scheduling.support.DelegatingErrorHandlingRunnable.run(DelegatingErrorHandlingRunnable.java:51)
at org.springframework.scheduling.concurrent.ReschedulingRunnable.run(ReschedulingRunnable.java:81)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
at java.util.concurrent.FutureTask.run(FutureTask.java:262)
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$201(ScheduledThreadPoolExecutor.java:178)
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:292)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
at java.lang.Thread.run(Thread.java:745)

MEM agent able to connect to MEM server (2 replies)

$
0
0
2014-07-31 06:06:04,222 ERROR com.mysql.etools.limits.CircuitBreakerTemplate: Reset of circuit breaker CircuitBreaker_BackloggedDataflowHttpForwarder failed, fault condition still exists, moving back to open state
2014-07-31 06:06:43,980 WARN com.mysql.etools.limits.CircuitBreakerTemplate: Attempting to reset circuit breaker CircuitBreaker_BackloggedDataflowHttpForwarder after cooling off period
2014-07-31 06:06:44,171 ERROR com.mysql.etools.limits.CircuitBreakerTemplate: Too many failures, circuit breaker CircuitBreaker_BackloggedDataflowHttpForwarder moving to open state

getting errors like these and agent is not able to connect to MEM server, I verified that the connectivity is fine. Let me know how to fix it

Oracle Enterprise Manager for MySQL (no replies)

Access denied; you need (at least one of) the SUPER privilege(s) for this operation (2 replies)

$
0
0
Hi,

I’m trying to monitoring a MySQL RDS Instance on AWS using the MySQL Enterprise Monitor 3.0.15, but the the message below shows after finishing the configuration.

“Access denied; you need (at least one of) the SUPER privilege(s) for this operation”

How to solve this problem?

Thanks

Legatti

Enterprise Monitor (1 reply)

$
0
0
Hi Guys

I am new to MySQL

We have MEM 3.0 (enterprise monitor) in our shop and I am trying to configure email notifications.

I read somewhere were it is indicated that I should go to Settings -> Global Settings and configure the Outgoing Email settings, but when I go to Global Settings I don't have Outgoing Email settings.

I find the email settings under configuration->event handling, is this ok?

I have SMTP server but I don't know the SMTP Server Login and From Address details, is the way to get these information from the server?

Thanks in a advance...

Please Help!!!

Skip Server version (no replies)

$
0
0
HI,

Is it possible hide Server version , while login using windows and linux command prompt ?

After mysql connection id server version will appear , I need to skip that detail ?

Like below ,

Welcome to the MySQL monitor. Commands end with ; or \g.
Your MySQL connection id is 15766816

Copyright (c) 2000, 2013, Oracle and/or its affiliates. All rights reserved.

Oracle is a registered trademark of Oracle Corporation and/or its
affiliates. Other names may be trademarks of their respective
owners.

Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.

mysql >

Memory: Correlate prstat with NDB Config values (1 reply)

$
0
0
I need to upgrade the memory of my Solaris MySQL Cluster. I know my NDB Nodes are running low on memory but I can't seem to get a good correlation between `prstat -s rss` and the values in my management server's config.ini file.

The config.ini shows:

SendBufferMemory=4M
ReceiveBufferMemory=4M
DataMemory=5004M
IndexMemory=883M
SharedGlobalMemory=1024M
# DiskPageBufferMemory=2048M
StringMemory=25
TransactionBufferMemory=8M

And when I go on one of my nodes (All 6 report the same total memory of 7781) and run `prstat -s rss` I see the following:

PID USERNAME SIZE RSS STATE PRI NICE TIME CPU PROCESS/NLWP
76717 root 7781M 7575M sleep 6 0 785:06:54 1.5% ndbd/40


When I add up the memory in the config file I get 6952M. Why do I not get 7781M?

Can someone please help me find the most accurate correlation of memory between prstat and the config file?

Thanks in advance

MEM - agentless setup (2 replies)

$
0
0
Hi,
I have MEM 3.0 installed on linux box, trying to monitor MySQL 5.6 instancess in an agentless setup.

Based on the docs the Service manager component has built-in agent, so there is no agent installed on that MEM box - and I get events from remote instances

First of all - is that "Service Manager only" install correct for a MEM 3.0 server?

And the second question is (probably) related to the first one. I need to add some custom data collections to my setup to be able to create new/modify existing advisors. The documentation states "add custom.xml to etc folder of agent" ...
How do I add custom data collections to an agentless setup? Is that even possible to have it defined on MEM server and use it for remote monitoring?
When I tried to add custom.xml to /opt/mysql/enterprise/monitor/etc (or event manually created /opt/mysql/enterprise/agent/etc) it's not reflected in the GUI
Thanks

Actual SQL queries for CPU Utilization,Database Activity etc. (no replies)

$
0
0
We are using Mysql Enterprise dashboard in our application to monitor CPU Utilization,Database Activity,Connections and Replication.

I used to do some analysis with 1 month data using data downloaded(CSV) from Enterprise dashboard.

I have seen that similar kind of data stored in MEM database, but i like to use sql query to retrieve data instead of CSV download.

Could you please provide SQL query used for CPU Utilization,Database Activity,Connections and Replication CSV download, which will help me to process further.

Thanks in advance.

Regards,
Venky
Venkateswaran

Monitor without Query analyzer (4 replies)

$
0
0
Hello,

is it possible to run MySQL Enterprise Monitor without the Query Analyzer?
I just want to monitor the MySQL Server itself (Events and Reports)


Best Regards
Christian
Viewing all 100 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>