Graph items reach limit ?

Post support questions that relate to the Windows 2003/2000/XP operating systems.

Moderators: Developers, Moderators

Post Reply
orekaminh
Posts: 8
Joined: Wed Dec 24, 2014 10:45 pm

Graph items reach limit ?

Post by orekaminh »

I created a graph template with more than 135 items. Then cacti can not display Graph, after I delete any graph item, I can display. Is Graph items reach its limit? Any way to extend it? Thanks
User avatar
BSOD2600
Cacti Moderator
Posts: 12171
Joined: Sat May 08, 2004 12:44 pm
Location: USA

Re: Graph items reach limit ?

Post by BSOD2600 »

More likely a command line path limitation of Windows. Enable graph debugging, copy the rrdtool graph command and attempt to manually run it -- does it work?
orekaminh
Posts: 8
Joined: Wed Dec 24, 2014 10:45 pm

Re: Graph items reach limit ?

Post by orekaminh »

Sorry I forgot one thing, When I create new graph in Graph management (use GUI, not manual), it can display. But when I place this graph on the tree, I can see only the link with the graph title. Then I have to click on it and it can display, but it include daily, weekly, monthly and yearly ( as when you click on the normal graph).

P/S how to run rrdtool graph command manual, I copied it then paste to CMD but it display many error, may I have to delete "\" in rrdtool command ?
User avatar
BSOD2600
Cacti Moderator
Posts: 12171
Joined: Sat May 08, 2004 12:44 pm
Location: USA

Re: Graph items reach limit ?

Post by BSOD2600 »

orekaminh wrote:Sorry I forgot one thing, When I create new graph in Graph management (use GUI, not manual), it can display. But when I place this graph on the tree, I can see only the link with the graph title. Then I have to click on it and it can display, but it include daily, weekly, monthly and yearly ( as when you click on the normal graph).
Screenshots please.
orekaminh wrote:P/S how to run rrdtool graph command manual, I copied it then paste to CMD but it display many error, may I have to delete "\" in rrdtool command ?
What was the error?

For a normal sized graph with only a few entries, copy/paste the command to valid you're correctly doing it. Then repeat with your large problematic graph.
orekaminh
Posts: 8
Joined: Wed Dec 24, 2014 10:45 pm

Re: Graph items reach limit ?

Post by orekaminh »

I attached the screenshot.
Attachments
Debug on, cacti say OK
Debug on, cacti say OK
1.JPG (53.98 KiB) Viewed 2686 times
Debug on
Debug on
2.JPG (100.57 KiB) Viewed 2686 times
It only show the hyperlink, no graph
It only show the hyperlink, no graph
3.JPG (112.99 KiB) Viewed 2686 times
It displayed when I click on the hyperlink INBOUND TRAFFIC
It displayed when I click on the hyperlink INBOUND TRAFFIC
4.JPG (123.25 KiB) Viewed 2686 times
Error when add graph manual by command line
Error when add graph manual by command line
5.JPG (106.92 KiB) Viewed 2686 times
User avatar
BSOD2600
Cacti Moderator
Posts: 12171
Joined: Sat May 08, 2004 12:44 pm
Location: USA

Re: Graph items reach limit ?

Post by BSOD2600 »

Sorry, yea you need to remove those backslashes \

You could possibly save yourself the hassle by checking if the problematic command is longer than 8191 characters per http://support.microsoft.com/KB/830473
On computers running Microsoft Windows XP or later, the maximum length of the string that you can use at the command prompt is 8191 characters. On computers running Microsoft Windows 2000 or Windows NT 4.0, the maximum length of the string that you can use at the command prompt is 2047 characters.
orekaminh
Posts: 8
Joined: Wed Dec 24, 2014 10:45 pm

Re: Graph items reach limit ?

Post by orekaminh »

BSOD2600 wrote:Sorry, yea you need to remove those backslashes \

You could possibly save yourself the hassle by checking if the problematic command is longer than 8191 characters per http://support.microsoft.com/KB/830473
On computers running Microsoft Windows XP or later, the maximum length of the string that you can use at the command prompt is 8191 characters. On computers running Microsoft Windows 2000 or Windows NT 4.0, the maximum length of the string that you can use at the command prompt is 2047 characters.
You're right! command is longer than 8191 characters at the 136th item. But I dont know why cacti still can create the full graph (It say OK! and can display at sub link). The problem is how to show the graph on tree without having click on the hyperlink. Anyway to fix this ?
User avatar
BSOD2600
Cacti Moderator
Posts: 12171
Joined: Sat May 08, 2004 12:44 pm
Location: USA

Re: Graph items reach limit ?

Post by BSOD2600 »

orekaminh wrote:The problem is how to show the graph on tree without having click on the hyperlink. Anyway to fix this ?
You can add a graph just itself without a hyperlink... but that's not going to solve the problem of the graph with too many items. Also the next release of Cacti has completely reworked the entire Tree code...

Semi-related. have you looked into http://forums.cacti.net/viewforum.php?f=16 ? Looks kinda like what you're trying to set up.
orekaminh
Posts: 8
Joined: Wed Dec 24, 2014 10:45 pm

Re: Graph items reach limit ?

Post by orekaminh »

BSOD2600 wrote:
orekaminh wrote:The problem is how to show the graph on tree without having click on the hyperlink. Anyway to fix this ?
You can add a graph just itself without a hyperlink... but that's not going to solve the problem of the graph with too many items. Also the next release of Cacti has completely reworked the entire Tree code...

Semi-related. have you looked into http://forums.cacti.net/viewforum.php?f=16 ? Looks kinda like what you're trying to set up.
Could you show me How to add a graph without a hyperlink? I only khow the way of chosing action "Place on a Tree" menu

When using this way :

Case 1 : Item less than 135, graph display directly when I click on the left tree menu
Case 2 : Item more than 135, no graph display, just display hyperlink name "INBOUND TRAFFIC" (I attached before), then I have to click on it to see the graph.

Now I temporarily delete some less important items and it worked. Hoping this will be fixed in next release hehe.

Thank you so much and Happy New Year :)
User avatar
BSOD2600
Cacti Moderator
Posts: 12171
Joined: Sat May 08, 2004 12:44 pm
Location: USA

Re: Graph items reach limit ?

Post by BSOD2600 »

orekaminh wrote:Could you show me How to add a graph without a hyperlink? I only khow the way of chosing action "Place on a Tree" menu
Graph Management -> Trees
orekaminh wrote:Now I temporarily delete some less important items and it worked. Hoping this will be fixed in next release hehe.
The limitation is the OS, not Cacti.
How about not displaying the text in the graph and only the lines/areas in the picture instead?
orekaminh
Posts: 8
Joined: Wed Dec 24, 2014 10:45 pm

Re: Graph items reach limit ?

Post by orekaminh »

BSOD2600 wrote:
orekaminh wrote:Could you show me How to add a graph without a hyperlink? I only khow the way of chosing action "Place on a Tree" menu
Graph Management -> Trees
orekaminh wrote:Now I temporarily delete some less important items and it worked. Hoping this will be fixed in next release hehe.
The limitation is the OS, not Cacti.


How about not displaying the text in the graph and only the lines/areas in the picture instead?
Today I try again and it ok haha, I dont know the reason why. I can add more items without any errors @@

Oh, The text in the graph display as normal but I have erased because that is private information haha

Thanks you again!
Post Reply

Who is online

Users browsing this forum: No registered users and 0 guests