swrd / check-mysql-all

Automatically exported from code.google.com/p/check-mysql-all
0 stars 0 forks source link

check_mmm - return OK when mmm_monitor is not running #8

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1 /etc/init.d/mysql-mmm-monitor stop
2 check_mmm

Expected error: mmm_monitor is not running, Can't connect with mmm_monitor, etc.

I can see following result instead:
./check_mmm
OK

What version of the product are you using? On what operating system?
# File check_mmm
# @date    2010-08-13
# @license GPL v2

Please provide any additional information below.
Running on:
CentOS release 5.5 (Final)

mysql-mmm-agent-2.2.1-1.el5
mysql-mmm-tools-2.2.1-1.el5
mysql-mmm-monitor-2.2.1-1.el5
mysql-mmm-2.2.1-1.el5

When mmm_monitor is not running, mmm_control return valid error:
# mmm_control show
ERROR: Can't connect to monitor daemon!
# echo $?
1

Marcin

Original issue reported on code.google.com by marcin.praczko@gmail.com on 24 Aug 2010 at 2:49

GoogleCodeExporter commented 8 years ago

Original comment by ryan.a.l...@gmail.com on 18 Nov 2010 at 11:30

GoogleCodeExporter commented 8 years ago
Hi Ryan,
A patch that fixed it for my:
CentOS release 5.5 (Final)
mysql-mmm-monitor.noarch 2.2.1-1.el5
and check_mmm 0.1.0

Although I think that the regexes might be broken for the unreadable config also

Original comment by greg.bry...@gmail.com on 30 Nov 2010 at 8:57

Attachments:

GoogleCodeExporter commented 8 years ago
Included in 0.1.0.  Awaiting QA.

Original comment by ryan.a.l...@gmail.com on 8 Feb 2011 at 10:59