database problem (small) after database edit mistake

Post general support questions here that do not specifically fall into the Linux or Windows categories.

Moderators: Developers, Moderators

Post Reply
faked
Posts: 3
Joined: Fri Dec 03, 2004 4:45 pm

database problem (small) after database edit mistake

Post by faked »

When I was tuning cacti to display the average on the "load average" graphs of a unix host, I used phpmyadmin to change the value with the name "load average" in the graph_templates_gprint table to this

Code: Select all

%8.2lf
but now cacti is making roundoff errors (displaying i.e. 60143.14 in stead of 60.14k) in other graphs.

Can someone take a look and provide me the original value? I was too stupid to record it before changing......

TNX
faked
Posts: 3
Joined: Fri Dec 03, 2004 4:45 pm

problem fixed, another problem occurring with rounding off

Post by faked »

Hi there,

I fixed the previous problem by changing

Code: Select all

%8.2lf
to

Code: Select all

%8.2lf %s
(see http://forums.cacti.net/viewtopic.php?t=342), but now my processes graph has disappeared, because the "exact number" value in that table has dissapeared (mistake, stupid!).
How to get that "exact number" value back there in that table, to get the processes script working again?

Please help!
Post Reply

Who is online

Users browsing this forum: No registered users and 4 guests