Solved

PHP, linux and MysQL monitoring

Posted on 2012-12-31
8
472 Views
Last Modified: 2013-01-15
Dear all,

Right now we are looking for a tools that can find out which MySQL is long running and therefore find out which php script it cames from, and therefore find the respective file and have developer follow that up.

Any monitoriong tools can do this for us automatically so that the time to find that script out is much shorter?

do which content we need to do manul what?

we need single box of tools that can hand the same thing for MS SQL, Windows, PHP, MysQL and linux.

This tools much be better than Nagious !
0
Comment
Question by:marrowyung
  • 4
  • 3
8 Comments
 
LVL 13

Assisted Solution

by:rhinoceros
rhinoceros earned 400 total points
Comment Utility
Xymon should be a good choice, which provides both trending and monitoring/alerting with only having to install one piece of software.

http://sourceforge.net/projects/xymon/
or
http://www.xymon.com/xymon/xymon.html


More info
(Compare Xymon and Nagios)
http://comments.gmane.org/gmane.comp.monitoring.hobbit/25118
0
 
LVL 24

Assisted Solution

by:Tomas Helgi Johannsson
Tomas Helgi Johannsson earned 100 total points
Comment Utility
Hi!

If you are running mysql on Linux then I suggest you use mysqltuner a very good script that help you tune your database.
http://mysqltuner.com/
http://www.howtoforge.com/tuning-mysql-performance-with-mysqltuner

You should also be able to get it from your linux distro repository.
And if you are running MySQL 5.5 I would also look at the Performance Schema
http://dev.mysql.com/doc/refman/5.5/en/performance-schema.html

Regards,
    Tomas Helgi
0
 
LVL 1

Author Comment

by:marrowyung
Comment Utility
rhinoceros,

It seems that this tools don't provide monitoring for MSSQL and Windows, we will have more and more MS SQL later on, please suggest.
0
 
LVL 13

Accepted Solution

by:
rhinoceros earned 400 total points
Comment Utility
They provide more Monitor Free Tools
http://www.manageengine.com/free-tools.html

- Free Windows Health Monitor Tool
- Free SQL Health Monitor Tool

To monitor more servers (Pay $$$)
http://www.manageengine.com/products/applications_manager/sql/index.html
0
Enabling OSINT in Activity Based Intelligence

Activity based intelligence (ABI) requires access to all available sources of data. Recorded Future allows analysts to observe structured data on the open, deep, and dark web.

 
LVL 1

Author Comment

by:marrowyung
Comment Utility
rhinoceros,

Apparently that Xymon can't monitor MS SQL at all ! that' why you suggest me managengine.com.

What i would like to tell you is, I am already testing this tools but the feature is really a bit gerenic ! it can't provide much help for professional like us !

Their technical support don't provide much BIG help and they alreayd present that this applicaiton manager can't do "therefore find out which php script it cames from, and therefore find the respective file and have developer follow that up."

we work out a lot of thing already and they doc is wrong on the process to monitor all MySQL real time running query. If you trust their doc, you can't see ALL running MySQL query. But this is fixed now !

We also further improve the way Application manager to monitor MySQL slow query log, this means we don't need to find that out using workbench or Toad buy from one sigle console only.

Finally I am contacting BMC for this but it seems that even BMC can't even do:

"therefore find out which php script it cames from, and therefore find the respective file and have developer follow that up."

BMC patrol is widely used here in a lot of very large company like HSBC, but they can't do this either!!

Our main requirement is:

1) monitoring everything in one console.
2) monitor the slow MySQL query and find where it comes from, what PHP code page it comes from.
3) alert appropriate owner/developer so that they can fix it themselve without too late.


Any other suggestion on tools that can do this?

DBA100.
0
 
LVL 13

Expert Comment

by:rhinoceros
Comment Utility
I do not believe any MONITOR tools can do it.

It should be one of debugging tools ???
0
 
LVL 1

Author Comment

by:marrowyung
Comment Utility
rhinoceros,

"I do not believe any MONITOR tools can do it."

you are talking about:

2) monitor the slow MySQL query and find where it comes from, what PHP code page it comes from.
3) alert appropriate owner/developer so that they can fix it themselve without too late.

 right?

"It should be one of debugging tools"

Yes, we have a plan for it and we will use MySQL 5.5 enterprise monitor, but in the first place we need a tools it automatically. When the MySQL is in a very trouble situation, no one remember what to do, they will just find that they can't even go in to the MySQL,

when MySQL xxxx up, it will be totally xxxx up !! MS SQL will not !

so we need a tools to mainly handle MySQL.

we are contacting BMC for this and they are finding the way on it.
0
 
LVL 1

Author Comment

by:marrowyung
Comment Utility
Dear all,

Anyone know what is the different between Nagious and the application manage from manageine?

They both looks very like but Nagious is free.... then everyone should go for Nagious, right?

DBA100.
0

Featured Post

What Should I Do With This Threat Intelligence?

Are you wondering if you actually need threat intelligence? The answer is yes. We explain the basics for creating useful threat intelligence.

Join & Write a Comment

Introduction Since I wrote the original article about Handling Date and Time in PHP and MySQL (http://www.experts-exchange.com/articles/201/Handling-Date-and-Time-in-PHP-and-MySQL.html) several years ago, it seemed like now was a good time to updat…
Read about achieving the basic levels of HRIS security in the workplace.
Via a live example combined with referencing Books Online, show some of the information that can be extracted from the Catalog Views in SQL Server.
Viewers will learn how to use the SELECT statement in SQL and will be exposed to the many uses the SELECT statement has.

743 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

16 Experts available now in Live!

Get 1:1 Help Now