Answer the question
In order to leave comments, you need to log in
Suggest a monitoring system for a complex PHP project
Good day, habralyudi!
Before writing another bike myself, I want to ask the collective mind if there is already a ready-made solution?
There is a large and complex project written in php. A lot of interaction with external services performed by cron.
The task is to monitor some values (somewhere - just the result of one query in the database, somewhere - very complex logic, many requests, many checks).
I want to
Answer the question
In order to leave comments, you need to log in
I, as always, with my swamp: zabbix can execute WEB scripts of any complexity, search for the desired text, analyze the returned error code, etc. and react to the result in different ways.
zabbix agent on the server can execute any scripts, incl. make queries to the database and transfer the result to the server, where you can set up a trigger for events / thresholds and receive notifications by sms / mail / jabber / sound signal / pigeons . You can display any graphs, trigger states, information of specific checks in text/graphic form, etc. on the page of the complex report.
Nagios is a monitoring and notification system, you can add your own plugins.
There is a PEAR library, Log . Its capabilities include overloading standard error handling, error levels, support for saving errors to the database, sending them to FireBug, to soap, etc. Very comfortably.
Take any monitoring system (it so happened that I have an account at serverdensity.com, but there are agents in python, which is easier for the server) and write an agent for it for your project. Pull out several requests and send them via http IMHO trite
And there is also a very cool library - Lagger . Very convenient and flexibly customizable, it catches all kinds of errors, incl. fatal, sends letters/sms, writes to the log, supports FireBug for Firefox, there is also a native very cool extension for Google Chrome.
Highly recommend.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question