KSriHarsha591 / mysql-cacti-templates

Automatically exported from code.google.com/p/mysql-cacti-templates
GNU General Public License v2.0
0 stars 0 forks source link

Pending flushes (fsync) - error in code #62

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
Just downloaded version 1.1.2

Look at/around line #454:

The PHP shows this:

  elseif (strpos($line, 'Pending flushes (fsync) !== FALSE ')) {

That is wrong. It should read like this; Notice the location of the ' and )

  elseif (strpos($line, 'Pending flushes (fsync)') !== FALSE ) {

This is causing a constant NAN on the graph.

Original issue reported on code.google.com by phpnotasp on 11 May 2009 at 3:40

GoogleCodeExporter commented 8 years ago
Thanks for finding this!  I'm going to give you commit access to SVN.

Original comment by baron.schwartz on 11 May 2009 at 5:13

GoogleCodeExporter commented 8 years ago
This is fixed in r231, and there is a test suite to prevent it from happening 
again.

Original comment by baron.schwartz on 24 Oct 2009 at 1:19