New graphs not displaying correctly
Moderators: Developers, Moderators
New graphs not displaying correctly
When I add new interface (in/out bits/sec) graphs now, I get double of everything. Doesn't matter what platform it is (eg: Cisco 7600, 6500, other devices). I get two inbound and two outbound graphs overlayed on top of each other like shown. It was working fine with the first few devices , but now all newly added devices are showing this characteristic.
What's causings this? So far I've added about 10 devices each with about 100-250 interfaces that are UP. Is there some limit to the number of interfaces I can add? Is my polling out of whack? Why two inbound and two outbound graphs? Help please...
Cacti Version 0.8.7c
Plugin Architecture 2.2
Poller Type Cactid v
Server Info Linux 2.6.9-101.plus.c4smp
Web Server Apache/2.0.63 (CentOS)
PHP Version 5.1.6
What's causings this? So far I've added about 10 devices each with about 100-250 interfaces that are UP. Is there some limit to the number of interfaces I can add? Is my polling out of whack? Why two inbound and two outbound graphs? Help please...
Cacti Version 0.8.7c
Plugin Architecture 2.2
Poller Type Cactid v
Server Info Linux 2.6.9-101.plus.c4smp
Web Server Apache/2.0.63 (CentOS)
PHP Version 5.1.6
- Attachments
-
- cacti-7609.jpg (55.55 KiB) Viewed 4105 times
Re: New graphs not displaying correctly
Did you import Cisco Nexus Template in the past?
That host template seems to replace default "Interface" template.
(Probably it was created by modifying default template)
Import Results: (purple line)
Graph template "Interface - Traffic (bits/sec)" (after importing that template):
To revert to default, for example, try this..
1) Obtain original template
Here is a sample "Interface" graph template set which I've exported from plain Cacti 0.8.7g. 2) In graph template settings, remove all graph items and click [Save] (Don't delete the template itself)
3) Import original template
Good luck! (but I don't warrant whether this will solve the issue, sorry..)
That host template seems to replace default "Interface" template.
(Probably it was created by modifying default template)
Import Results: (purple line)
Graph template "Interface - Traffic (bits/sec)" (default):Cacti has imported the following items:
CDEF
[success] Turn Bytes into Bits [update]
[success] Unknown-Data [new]
[success] Total All Data Sources [update]
[success] Turn Bytes into Bits, Make per Second, Convert in Percent [new]
[success] TECLinkStatus_Up [new]
[success] TECLinkStatus_Down [new]
[success] Bandwidth Percentage - 0 to 10% [new]
[success] Percentage Bandwidth Utilization [new]
[success] Bandwidth Percentage - 10 to 20% [new]
[success] Bandwidth Percentage - 30 to 40% [new]
[success] Bandwidth Percentage - 20 to 30% [new]
[success] Bandwidth Percentage - 40 to 50% [new]
[success] Bandwidth Percentage - 50 to 60% [new]
[success] Bandwidth Percentage - 60 to 70% [new]
[success] Bandwidth Percentage - 70 to 80% [new]
[success] Bandwidth Percentage - 80 to 90% [new]
[success] Bandwidth Percentage - 90 to 100% [new]
[success] Turn Bytes into negative bits [new]
GPRINT Preset
[success] Normal [update]
[success] Exact Numbers [update]
[success] Percentage [new]
[success] Percentage Gprint [new]
Data Input Method
[success] Get SNMP Data [update]
[success] Get SNMP Data (Indexed) [update]
Data Template
[success] Cisco Nexus - 5 minute CPU [new]
[success] Cisco Nexus - ProcMem usage [new]
[success] Interface - Traffic [update]
[success] Interface - Errors/Discards [update]
[success] Interface - Unicast Packets [update]
[success] Interface - Non-Unicast Packets [update]
[success] TECLinkStatus [new]
Graph Template
[success] Cisco Nexus - CPU Usage [new]
[success] Cisco Nexus - ProcMem Usage [new]
[success] Interface - Traffic (bits/sec) [update]
[success] Interface - Errors/Discards [update]
[success] Interface - Unicast Packets [update]
[success] Interface - Non-Unicast Packets [update]
[success] Interface - Traffic (bytes/sec) [update]
[success] Interface - Traffic (bits/sec, 95th Percentile) [update]
[success] Interface - Traffic (bits/sec, Total Bandwidth) [update]
[success] Interface - Traffic (bytes/sec, Total Bandwidth) [update]
[success] TECLinkStatus (1) [new]
[success] TECBandwidthUtilization [new]
[success] Interface - Traffic Negative Bits [new]
Data Query
[success] SNMP - Interface Statistics [update]
+ Found Dependency: (Data Input Method) Get SNMP Data (Indexed)
+ Found Dependency: (Graph Template) Interface - Errors/Discards
+ Found Dependency: (Data Template) Interface - Errors/Discards
+ Found Dependency: (Data Template Item) errors_in
+ Found Dependency: (Data Template Item) discards_in
+ Found Dependency: (Data Template Item) discards_out
+ Found Dependency: (Data Template Item) errors_out
+ Found Dependency: (Graph Template) Interface - Non-Unicast Packets
+ Found Dependency: (Data Template) Interface - Non-Unicast Packets
+ Found Dependency: (Data Template Item) nonunicast_out
+ Found Dependency: (Data Template Item) nonunicast_in
+ Found Dependency: (Graph Template) Interface - Unicast Packets
+ Found Dependency: (Data Template) Interface - Unicast Packets
+ Found Dependency: (Data Template Item) unicast_in
+ Found Dependency: (Data Template Item) unicast_out
+ Found Dependency: (Graph Template) Interface - Traffic (bytes/sec)
+ Found Dependency: (Data Template) Interface - Traffic
+ Found Dependency: (Data Template Item) traffic_in
+ Found Dependency: (Data Template Item) traffic_out
+ Found Dependency: (Graph Template) Interface - Traffic (bits/sec)
+ Unmet Dependency: (Data Template)
+ Unmet Dependency: (Data Template)
+ Unmet Dependency: (Data Template)
+ Unmet Dependency: (Data Template)
+ Unmet Dependency: (Data Template)
+ Unmet Dependency: (Data Template)
+ Unmet Dependency: (Data Template)
+ Unmet Dependency: (Data Template)
+ Unmet Dependency: (Data Template)
+ Unmet Dependency: (Data Template)
+ Found Dependency: (Graph Template) Interface - Traffic (bits/sec, 95th Percentile)
+ Found Dependency: (Graph Template) Interface - Traffic (bits/sec, Total Bandwidth)
+ Found Dependency: (Graph Template) Interface - Traffic (bytes/sec, Total Bandwidth)
+ Found Dependency: (Graph Template) Interface - Traffic Negative Bits
+ Found Dependency: (Graph Template) TECBandwidthUtilization
+ Found Dependency: (Graph Template) TECLinkStatus (1)
+ Found Dependency: (Data Template) TECLinkStatus
+ Found Dependency: (Data Template Item) TECLinkStatus
Host Template
[success] Cisco Nexus [new]
Graph template "Interface - Traffic (bits/sec)" (after importing that template):
To revert to default, for example, try this..
1) Obtain original template
Here is a sample "Interface" graph template set which I've exported from plain Cacti 0.8.7g. 2) In graph template settings, remove all graph items and click [Save] (Don't delete the template itself)
3) Import original template
Good luck! (but I don't warrant whether this will solve the issue, sorry..)
Re: New graphs not displaying correctly
Thanks noname for the reply.
I imported the interface template you attached but it only introduced more graph items under the Interface - Traffic (bits/sec) graph template.
So I don't know if this is a good thing or not, but I just deleted all the new graph items introduced by the nexus template and the recently imported interface template to make it look like the default graph template you posted.
Any issues with this you think?
Cheers.
Andy
I imported the interface template you attached but it only introduced more graph items under the Interface - Traffic (bits/sec) graph template.
So I don't know if this is a good thing or not, but I just deleted all the new graph items introduced by the nexus template and the recently imported interface template to make it look like the default graph template you posted.
Any issues with this you think?
Cheers.
Andy
Re: New graphs not displaying correctly
?andy73 wrote: I imported the interface template you attached but it only introduced more graph items under the Interface - Traffic (bits/sec) graph template.
So I don't know if this is a good thing or not, but I just deleted all the new graph items introduced by the nexus template and the recently imported interface template to make it look like the default graph template you posted.
To summarize the procedure of my previous post,
1) Delete all graph items in the broken graph template
2) Import original (default) graph template
Is it the same as the thing you did?
Re: New graphs not displaying correctly
Thanks for that.
I didn't delete the graph template for "Interface - Traffic (bits/sec)" - so it must have just overlayed the imported template on top of it.
I followed your instructions and deleted the graph template for "Interface - Traffic (bits/sec)" and re-imported the default template for it and it's all good.
Appreciate the help.
Cheers.
Andy
I didn't delete the graph template for "Interface - Traffic (bits/sec)" - so it must have just overlayed the imported template on top of it.
I followed your instructions and deleted the graph template for "Interface - Traffic (bits/sec)" and re-imported the default template for it and it's all good.
Appreciate the help.
Cheers.
Andy
Re: New graphs not displaying correctly
Oops, you don't have to delete graph template itself.andy73 wrote: I followed your instructions and deleted the graph template for "Interface - Traffic (bits/sec)" and re-imported the default template for it and it's all good.
Probably that will unlink bindings between existing graphs and datasources (and you'll have to reapply new graph template).
It needs to delete only graph "items" within the graph template..
But anyway, if you have solved this issue, I'm glad to hear that. :)
Re: New graphs not displaying correctly
Thanks for your help noname.
-
- Posts: 3
- Joined: Wed Dec 07, 2011 2:47 am
Re: New graphs not displaying correctly
I had the same issue but instead of deleting the graphs or templates I did a recovery from a previous existing data dump I took.
Re: New graphs not displaying correctly
Hi
I wonder if you can help - I did this:
1) Delete all graph items in the broken graph template
2) Import original (default) graph template
but now I get a red cross instead of the graph
checking the 'graph debug mode' I get:
RRDTool Command:
/usr/bin/rrdtool graph - \
--imgformat=PNG \
--start=-86400 \
--end=-300 \
--title='Airdrie-Core-A - Traffic - Fa7/4' \
--rigid \
--base=1000 \
--height=120 \
--width=500 \
--alt-autoscale-max \
--lower-limit='0' \
--vertical-label='bits per second' \
--slope-mode \
--font TITLE:10: \
--font AXIS:7: \
--font LEGEND:8: \
--font UNIT:7: \
RRDTool Says:
I have seen from other posts that the line before "RRDTool Says" should be DEF etc and after I should get "ok"
I have spent hours trying to fix this to no avail, including changing permissions on /usr/bin/rrdtool
My RRD files are being updated as I can see the date/time updating. I have Weathermap installed and the circuits are changing colour but the overlib popups also have a red cross
I wonder if you can help - I did this:
1) Delete all graph items in the broken graph template
2) Import original (default) graph template
but now I get a red cross instead of the graph
checking the 'graph debug mode' I get:
RRDTool Command:
/usr/bin/rrdtool graph - \
--imgformat=PNG \
--start=-86400 \
--end=-300 \
--title='Airdrie-Core-A - Traffic - Fa7/4' \
--rigid \
--base=1000 \
--height=120 \
--width=500 \
--alt-autoscale-max \
--lower-limit='0' \
--vertical-label='bits per second' \
--slope-mode \
--font TITLE:10: \
--font AXIS:7: \
--font LEGEND:8: \
--font UNIT:7: \
RRDTool Says:
I have seen from other posts that the line before "RRDTool Says" should be DEF etc and after I should get "ok"
I have spent hours trying to fix this to no avail, including changing permissions on /usr/bin/rrdtool
My RRD files are being updated as I can see the date/time updating. I have Weathermap installed and the circuits are changing colour but the overlib popups also have a red cross
Re: New graphs not displaying correctly
red crosses instead of graphs.....
so I did this to fix the graph itself:
http://forums.cacti.net/posting.php?mod ... =6&t=35816
Form the latter link:
This shows which are corrupt: php repair_graphs.php --check --data-template-id=41 --graph-template-id=2
This fixes them: php repair_graphs.php --execute --data-template-id=41 --graph-template-id=2
all back to normal now
so I did this to fix the graph itself:
http://forums.cacti.net/posting.php?mod ... =6&t=35816
Form the latter link:
This shows which are corrupt: php repair_graphs.php --check --data-template-id=41 --graph-template-id=2
This fixes them: php repair_graphs.php --execute --data-template-id=41 --graph-template-id=2
all back to normal now
Who is online
Users browsing this forum: No registered users and 4 guests