Base Value > 1000

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

Moderators: Developers, Moderators

Post Reply
Super-Mike
Posts: 23
Joined: Thu Jan 26, 2006 12:39 pm
Contact:

Base Value > 1000

Post by Super-Mike »

Hello

I create statistic for connect user in local icq server.
(Iserverd http://iserverd.khstu.ru/)

Connect users my server < 1000 grate graph is ok.
If connect users > 1000 no graph.

I edit parameters (Graph Templates --> Base Value (Use Per-Graph Value (Ignore this Value))) > 1000.
Graph no great. Not graph png file.
User avatar
rony
Developer/Forum Admin
Posts: 6022
Joined: Mon Nov 17, 2003 6:35 pm
Location: Michigan, USA
Contact:

Post by rony »

Rar attachment removed.

Please reattach as a Zip file.
[size=117][i][b]Tony Roman[/b][/i][/size]
[size=84][i]Experience is what causes a person to make new mistakes instead of old ones.[/i][/size]
[size=84][i]There are only 3 way to complete a project: Good, Fast or Cheap, pick two.[/i][/size]
[size=84][i]With age comes wisdom, what you choose to do with it determines whether or not you are wise.[/i][/size]
Super-Mike
Posts: 23
Joined: Thu Jan 26, 2006 12:39 pm
Contact:

Post by Super-Mike »

ok

log:

02/20/2006 08:06:05 AM - CMDPHP: Poller[0] Host[81] DS[744] CMD: perl /usr/local/apache2/htdocs/cacti/scripts/licq_connect.pl, output: 1100

02/20/2006 08:05:34 AM - WEBLOG: Poller[0] CACTI2RRD: /usr/bin/rrdtool graph - --imgformat=PNG --start=1140325534 --end=1140411934 --title="192.168.2.100 - Users" --base=100000 --height=120 --width=500 --alt-autoscale-max --lower-limit=0 COMMENT:"From 19/02/2006 08:05:34 To 20/02/2006 08:05:34\c" COMMENT:" \n" --vertical-label="LICQ online users" DEF:a="/usr/local/apache2/htdocs/cacti/rra/192_168_2_100_connect_744.rrd":connect:AVERAGE AREA:a#0000FF:"Connect Users" GPRINT:a:LAST:"Current\:%8.0lf" GPRINT:a:AVERAGE:"Average\:%8.0lf" GPRINT:a:MAX:"Maximum\:%8.0lf"
Super-Mike
Posts: 23
Joined: Thu Jan 26, 2006 12:39 pm
Contact:

Post by Super-Mike »

Unless nobody knows as to make schedules more than 1000?
Help to correct xml for a file that all worked.
Super-Mike
Posts: 23
Joined: Thu Jan 26, 2006 12:39 pm
Contact:

Post by Super-Mike »

Sorry.

I'm lol. I attached bad files.

There are new files here.
Attachments
cacti_graph_template_licq_users.zip
xml files.
(1.9 KiB) Downloaded 269 times
User avatar
gandalf
Developer
Posts: 22383
Joined: Thu Dec 02, 2004 2:46 am
Location: Muenster, Germany
Contact:

Re: Base Value > 1000

Post by gandalf »

Super-Mike wrote:Hello

I create statistic for connect user in local icq server.
(Iserverd http://iserverd.khstu.ru/)

Connect users my server < 1000 grate graph is ok.
If connect users > 1000 no graph.

I edit parameters (Graph Templates --> Base Value (Use Per-Graph Value (Ignore this Value))) > 1000.
Graph no great. Not graph png file.
You changed the wron settings. Please goto the Data Template and change the MAXIMUM settings. But you're not yet done with that, cause existing rrd files need some "tuning":

Code: Select all

rrdtool tune <rrd file> --maximum <ds>:<new maximum>
where <ds> represents the name of the datasource to be changed
Reinhard
Super-Mike
Posts: 23
Joined: Thu Jan 26, 2006 12:39 pm
Contact:

Post by Super-Mike »

Thanks.
Graph have earned.
Great volumes are displayed.

Tell as to make that on graph numbers were written?
Now graph are deduced in a format 1.0k.
How to deduce numbers (1000, 2000, 3000)?
User avatar
gandalf
Developer
Posts: 22383
Joined: Thu Dec 02, 2004 2:46 am
Location: Muenster, Germany
Contact:

Post by gandalf »

See GPRINT Presets just beneath Graph Management. Notation is kind of printf like
Reinhard
Super-Mike
Posts: 23
Joined: Thu Jan 26, 2006 12:39 pm
Contact:

Post by Super-Mike »

I need to change vertical values.

I could not find change of vertical numbers in graph.

Only has broken all other graph :(

Please write more precisely where and what to change.
User avatar
gandalf
Developer
Posts: 22383
Joined: Thu Dec 02, 2004 2:46 am
Location: Muenster, Germany
Contact:

Post by gandalf »

Sorry, but I just don't know what you're aiming at. Perhaps providing a screenshot together with some words on what should be changed would help
Reinhard
Super-Mike
Posts: 23
Joined: Thu Jan 26, 2006 12:39 pm
Contact:

Post by Super-Mike »

I wish to change numbers led round red.
Attachments
users.jpg
users.jpg (125.24 KiB) Viewed 9658 times
User avatar
gandalf
Developer
Posts: 22383
Joined: Thu Dec 02, 2004 2:46 am
Location: Muenster, Germany
Contact:

Post by gandalf »

Please change the Unit Exponent Value of the related Graph Template to 0. But according to http://people.ee.ethz.ch/~oetiker/webto ... ph.en.html:
[-X|--units-exponent value]

This sets the 10**exponent scaling of the y-axis values. Normally, values will be scaled to the appropriate units (k, M, etc.). However, you may wish to display units always in k (Kilo, 10e3) even if the data is in the M (Mega, 10e6) range, for instance. Value should be an integer which is a multiple of 3 between -18 and 18 inclusively. It is the exponent on the units you wish to use. For example, use 3 to display the y-axis values in k (Kilo, 10e3, thousands), use -6 to display the y-axis values in u (Micro, 10e-6, millionths). Use a value of 0 to prevent any scaling of the y-axis values.

This option is very effective at confusing the heck out of the default rrdtool autoscaler and grid painter. If rrdtool detects that it is not successful in labeling the graph under the given circumstances, it will switch to the more robust --alt-y-grid mode.
Reinhard
Super-Mike
Posts: 23
Joined: Thu Jan 26, 2006 12:39 pm
Contact:

Post by Super-Mike »

I want to get the whole number.
Which parameter is modify?
Attachments
graph_image.JPG
graph_image.JPG (28.45 KiB) Viewed 8020 times
Super-Mike
Posts: 23
Joined: Thu Jan 26, 2006 12:39 pm
Contact:

Post by Super-Mike »

Is no one knows? I can hardly write in the forum through an interpreter. And as a result of poor knowledge of the English language can not properly understand the documentation.
Post Reply

Who is online

Users browsing this forum: No registered users and 0 guests