swrd / check-mysql-all

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

Error in regex on line 163 of version 0.0.9 of check_mmm #9

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Stop the mmm-monitor daemon
2. Run check_mmm
3.

What is the expected output? What do you see instead?
CRITICAL: MMM Monitor Daemon is not running.

Instead you get 

OK

What version of the product are you using? On what operating system?
0.0.9 Centos 5.5 x86_64

Please provide any additional information below.

The code doing the match has an extended ascii character instead of an 
apostrophe. 

Output of cat -v:

    #v2 ERROR Monitor message changed
    if ($mmm_output =~ /ERROR: CanM-bM-^@M-^Yt connect to monitor daemon/) {
    my $msg = "CRITICAL: MMM Monitor Daemon is not running";
    report_error($msg, $ERRORS{'CRITICAL'});

Original issue reported on code.google.com by finalsta...@gmail.com on 14 Sep 2010 at 12:08

GoogleCodeExporter commented 8 years ago
Might be the same issue as #8

Original comment by finalsta...@gmail.com on 14 Sep 2010 at 12:08

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
Duplicate of issue #8.

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