Cycle stops at last graph

General discussion about Plugins for Cacti

Moderators: Developers, Moderators

Post Reply
bonj87
Cacti User
Posts: 92
Joined: Fri Mar 26, 2010 7:42 am

Cycle stops at last graph

Post by bonj87 »

i installed the lastest version of Cycle on the latest release of CACTI.
Im seeing that when it gets to the end of the specified list of graphs.. it hangs on the last one unless i do a refresh.
then it goes through the list.. then stops at the last graph again.
Sam91
Posts: 1
Joined: Mon Aug 20, 2012 3:02 am

Re: Cycle stops at last graph

Post by Sam91 »

For everybody also looking for a resolution of this problem:

Edit "cycle_ajax.php":
Search for line:

Code: Select all

if (isset($newcase) && strlen($newcase)) $sql_where .= (strlen($sql_where) ? " AND":"WHERE") . " gtg.title_cache RLIKE '$filter'";
and replace it with:

Code: Select all

if (isset($newcase) && strlen($newcase)) {
                    $sql_where .= (strlen($sql_where) ? " AND" : "WHERE") . " gl.id IN($newcase)";
}
Now your graphs should be starting from the beginning as soon as the last graph is reached :)
MikeMSD
Posts: 1
Joined: Wed Sep 12, 2012 9:38 am

Re: Cycle stops at last graph

Post by MikeMSD »

Having the same issue. I tried making the changes above, but it still gets stuck on the last set of graphs.
Post Reply

Who is online

Users browsing this forum: No registered users and 0 guests