Đang Thực Hiện

Perl/Bash script to restart MYSQL server if an PHP script on other server fails a content check

We have a database server.

We have two webservers running e107.

e107 keeps on locking up with a bizarre error saying that it can't connect to the MySQL server even though queries continue to come from e107 at the DB server. We can't work it out (many bonus points if you can) but for the moment, I need a perl/bash/whatever script that I can run on the DB server with the following specification:

-Visit a URL (hosted on webserver)

-If connection times out or a certain word is found ("CRITICAL") then

-Restart MySQL

-Email the administrator

This should take someone familiar with perl about 5 minutes.

Please post rates and completion times here.

Alex

Kỹ năng: Linux, Perl, Quản trị hệ thống

Xem thêm: perl bash, perl script restart server, restart mysql perl, perl cgi restart linux service, bash script restart mysql, start mysql server bash, bash mysql process, perl process check restart script, bash check mysql running, perl script restart service, bash restart mysql server, perl restart, restart perl, bash script restart service, perl restart service, perl restart mysql, perl bash mysql, bash script mysql connection, bash script service start, bash check mysql process, restart script bash, system server, php and mysql connection, i.t. administrator, bizarre

Về Bên Thuê:
( 9 nhận xét ) yest, Albania

Mã Dự Án: #16158

Đã trao cho:

DougRoyer

REAL simple!

$30 USD trong 1 ngày
(4 Đánh Giá)
4.1

5 freelancer đang chào giá trung bình $30 cho công việc này

webta

Done :)

$30 USD trong 0 ngày
(8 Đánh Giá)
5.7
falcon33

I can done it project in 2 or 3 hours.

$30 USD trong 1 ngày
(0 Đánh Giá)
0.0
viaden

Dear Sir/Madam! Our qualified experts are ready to provide you with their professional assitance. Please, disregard the price stated. Our hourly rate is 15$, and the final one will depend on the amount of work needed. Thêm

$30 USD trong 1 ngày
(0 Đánh Giá)
5.0
darkmage

The script itself is easy to do, BUT i think there is another problem on your structure - are you open for ideas?

$30 USD trong 0 ngày
(0 Đánh Giá)
0.0