Graph items reach limit ?
Moderators: Developers, Moderators
Graph items reach limit ?
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
Re: Graph items reach limit ?
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?
| Scripts: Monitor processes | RFC1213 MIB | DOCSIS Stats | Dell PowerEdge | Speedfan | APC UPS | DOCSIS CMTS | 3ware | Motorola Canopy |
| Guides: Windows Install | [HOWTO] Debug Windows NTFS permission problems |
| Tools: Windows All-in-one Installer |
Re: Graph items reach limit ?
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 ?
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 ?
Re: Graph items reach limit ?
Screenshots please.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).
What was the error?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 ?
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.
| Scripts: Monitor processes | RFC1213 MIB | DOCSIS Stats | Dell PowerEdge | Speedfan | APC UPS | DOCSIS CMTS | 3ware | Motorola Canopy |
| Guides: Windows Install | [HOWTO] Debug Windows NTFS permission problems |
| Tools: Windows All-in-one Installer |
Re: Graph items reach limit ?
I attached the screenshot.
- Attachments
-
- Debug on, cacti say OK
- 1.JPG (53.98 KiB) Viewed 2687 times
-
- Debug on
- 2.JPG (100.57 KiB) Viewed 2687 times
-
- It only show the hyperlink, no graph
- 3.JPG (112.99 KiB) Viewed 2687 times
-
- It displayed when I click on the hyperlink INBOUND TRAFFIC
- 4.JPG (123.25 KiB) Viewed 2687 times
-
- Error when add graph manual by command line
- 5.JPG (106.92 KiB) Viewed 2687 times
Re: Graph items reach limit ?
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
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.
| Scripts: Monitor processes | RFC1213 MIB | DOCSIS Stats | Dell PowerEdge | Speedfan | APC UPS | DOCSIS CMTS | 3ware | Motorola Canopy |
| Guides: Windows Install | [HOWTO] Debug Windows NTFS permission problems |
| Tools: Windows All-in-one Installer |
Re: Graph items reach limit ?
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 ?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/830473On 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.
Re: Graph items reach limit ?
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...orekaminh wrote:The problem is how to show the graph on tree without having click on the hyperlink. Anyway to fix this ?
Semi-related. have you looked into http://forums.cacti.net/viewforum.php?f=16 ? Looks kinda like what you're trying to set up.
| Scripts: Monitor processes | RFC1213 MIB | DOCSIS Stats | Dell PowerEdge | Speedfan | APC UPS | DOCSIS CMTS | 3ware | Motorola Canopy |
| Guides: Windows Install | [HOWTO] Debug Windows NTFS permission problems |
| Tools: Windows All-in-one Installer |
Re: Graph items reach limit ?
Could you show me How to add a graph without a hyperlink? I only khow the way of chosing action "Place on a Tree" menuBSOD2600 wrote: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...orekaminh wrote:The problem is how to show the graph on tree without having click on the hyperlink. Anyway to fix this ?
Semi-related. have you looked into http://forums.cacti.net/viewforum.php?f=16 ? Looks kinda like what you're trying to set up.
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
Re: Graph items reach limit ?
Graph Management -> Treesorekaminh 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
The limitation is the OS, not Cacti.orekaminh wrote:Now I temporarily delete some less important items and it worked. Hoping this will be fixed in next release hehe.
How about not displaying the text in the graph and only the lines/areas in the picture instead?
| Scripts: Monitor processes | RFC1213 MIB | DOCSIS Stats | Dell PowerEdge | Speedfan | APC UPS | DOCSIS CMTS | 3ware | Motorola Canopy |
| Guides: Windows Install | [HOWTO] Debug Windows NTFS permission problems |
| Tools: Windows All-in-one Installer |
Re: Graph items reach limit ?
Today I try again and it ok haha, I dont know the reason why. I can add more items without any errors @@BSOD2600 wrote:Graph Management -> Treesorekaminh 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" menuThe limitation is the OS, not Cacti.orekaminh wrote:Now I temporarily delete some less important items and it worked. Hoping this will be fixed in next release hehe.
How about not displaying the text in the graph and only the lines/areas in the picture instead?
Oh, The text in the graph display as normal but I have erased because that is private information haha
Thanks you again!
Who is online
Users browsing this forum: No registered users and 0 guests