Link not rendering color (grey) -- solved
Moderators: Developers, Moderators
-
- Posts: 21
- Joined: Tue Nov 14, 2006 5:04 am
Link not rendering color (grey) -- solved
After a few Links created I started to create links before others because of ones beeing over the others (layer like).
Anyways, some of them are shown in grey like they have no traffic. Like the picture 1 shows.
Other times only half the link is *rendered* (like picture 2)
Anyways, when I hover the mouse at it, it shows the correct graph and there's traffic.
Any ideas about it ?
memory_limit on both php.ini (cli and apache's) is set to 64mb ram. As the box got 2gb ram (quite enough)
The map picture is 1100x800 +-
Great work on this great tool!
Anyways, some of them are shown in grey like they have no traffic. Like the picture 1 shows.
Other times only half the link is *rendered* (like picture 2)
Anyways, when I hover the mouse at it, it shows the correct graph and there's traffic.
Any ideas about it ?
memory_limit on both php.ini (cli and apache's) is set to 64mb ram. As the box got 2gb ram (quite enough)
The map picture is 1100x800 +-
Great work on this great tool!
- Attachments
-
- Picture 2
- link_not_rendering_2.JPG (101.63 KiB) Viewed 8926 times
-
- Picture 1
- link_not_rendering.JPG (11.79 KiB) Viewed 8926 times
Last edited by marcosramos on Thu Aug 23, 2007 9:03 am, edited 1 time in total.
cacti v0.8.7b
cactid v0.8.6i/pa v2.1/php weathermap v0.95b/monitor v0.8.2/(...)
SLES 10
cactid v0.8.6i/pa v2.1/php weathermap v0.95b/monitor v0.8.2/(...)
SLES 10
- Howie
- Cacti Guru User
- Posts: 5508
- Joined: Thu Sep 16, 2004 5:53 am
- Location: United Kingdom
- Contact:
If your SCALE lines don't cover the full 0-100% range, you can get white links. If you are getting exactly 0, then you can get grey ones.
Be aware that 0->1 and 2->3 doesn't cover 1.3, for example
Check your cacti.log though - I think you'll see some warning in this situation.
If you are getting 0 and you don't expect to, it might be that the DS names are different for those RRDs. That sounds unlikely in your situation, but again, there would be a warning in the cacti.log
Be aware that 0->1 and 2->3 doesn't cover 1.3, for example
Check your cacti.log though - I think you'll see some warning in this situation.
If you are getting 0 and you don't expect to, it might be that the DS names are different for those RRDs. That sounds unlikely in your situation, but again, there would be a warning in the cacti.log
Weathermap 0.98a is out! & QuickTree 1.0. Superlinks is over there now (and built-in to Cacti 1.x).
Some Other Cacti tweaks, including strip-graphs, icons and snmp/netflow stuff.
(Let me know if you have UK DevOps or Network Ops opportunities, too!)
Some Other Cacti tweaks, including strip-graphs, icons and snmp/netflow stuff.
(Let me know if you have UK DevOps or Network Ops opportunities, too!)
-
- Posts: 21
- Joined: Tue Nov 14, 2006 5:04 am
- Howie
- Cacti Guru User
- Posts: 5508
- Joined: Thu Sep 16, 2004 5:53 am
- Location: United Kingdom
- Contact:
I don't really understand what you mean here. Apart from being white, those links look normal to memarcosramos wrote: Anyways, why, in some cases, the link is only half rendered and some other times full rendered ?
Weathermap 0.98a is out! & QuickTree 1.0. Superlinks is over there now (and built-in to Cacti 1.x).
Some Other Cacti tweaks, including strip-graphs, icons and snmp/netflow stuff.
(Let me know if you have UK DevOps or Network Ops opportunities, too!)
Some Other Cacti tweaks, including strip-graphs, icons and snmp/netflow stuff.
(Let me know if you have UK DevOps or Network Ops opportunities, too!)
-
- Posts: 21
- Joined: Tue Nov 14, 2006 5:04 am
-
- Posts: 21
- Joined: Tue Nov 14, 2006 5:04 am
once again
Howie:
Afterall I was not work-drunk
There's a picture of what I meant.
There is traffic, there are no errors on the log but half the link is displayed in white color. Seems it is *random*...
memory_limit is now set with 128mb ram (apache was restarted after).
EDIT: The next weathermap appeared like pic 2
EDIT2: There is always traffic on those links. Noticeable links.
Afterall I was not work-drunk
There's a picture of what I meant.
There is traffic, there are no errors on the log but half the link is displayed in white color. Seems it is *random*...
memory_limit is now set with 128mb ram (apache was restarted after).
EDIT: The next weathermap appeared like pic 2
EDIT2: There is always traffic on those links. Noticeable links.
- Attachments
-
- Pic 2
- link_not_rendering_4.JPG (102.38 KiB) Viewed 8895 times
-
- Pic 1
- link_not_rendering_3.JPG (83.62 KiB) Viewed 8895 times
cacti v0.8.7b
cactid v0.8.6i/pa v2.1/php weathermap v0.95b/monitor v0.8.2/(...)
SLES 10
cactid v0.8.6i/pa v2.1/php weathermap v0.95b/monitor v0.8.2/(...)
SLES 10
- Howie
- Cacti Guru User
- Posts: 5508
- Joined: Thu Sep 16, 2004 5:53 am
- Location: United Kingdom
- Contact:
What do your SCALE lines look like?
Weathermap 0.98a is out! & QuickTree 1.0. Superlinks is over there now (and built-in to Cacti 1.x).
Some Other Cacti tweaks, including strip-graphs, icons and snmp/netflow stuff.
(Let me know if you have UK DevOps or Network Ops opportunities, too!)
Some Other Cacti tweaks, including strip-graphs, icons and snmp/netflow stuff.
(Let me know if you have UK DevOps or Network Ops opportunities, too!)
-
- Posts: 21
- Joined: Tue Nov 14, 2006 5:04 am
Code: Select all
SCALE DEFAULT 1 24 0 240 0 240 240 0
SCALE DEFAULT 25 74 240 240 0 240 0 0
SCALE DEFAULT 75 100 240 0 0 15 15 15
DUH .. that might do it...
- Attachments
-
- scale
- scale.JPG (5.84 KiB) Viewed 8879 times
Last edited by marcosramos on Thu Aug 23, 2007 7:57 am, edited 1 time in total.
cacti v0.8.7b
cactid v0.8.6i/pa v2.1/php weathermap v0.95b/monitor v0.8.2/(...)
SLES 10
cactid v0.8.6i/pa v2.1/php weathermap v0.95b/monitor v0.8.2/(...)
SLES 10
- Howie
- Cacti Guru User
- Posts: 5508
- Joined: Thu Sep 16, 2004 5:53 am
- Location: United Kingdom
- Contact:
Right. So if your value was 0.5% or 25.5% or 74.5%, then there would not be a matching line in the scale, and you would get white.
Try:
instead.
Try:
Code: Select all
SCALE DEFAULT 0 25 0 240 0 240 240 0
SCALE DEFAULT 25 75 240 240 0 240 0 0
SCALE DEFAULT 75 100 240 0 0 15 15 15
Weathermap 0.98a is out! & QuickTree 1.0. Superlinks is over there now (and built-in to Cacti 1.x).
Some Other Cacti tweaks, including strip-graphs, icons and snmp/netflow stuff.
(Let me know if you have UK DevOps or Network Ops opportunities, too!)
Some Other Cacti tweaks, including strip-graphs, icons and snmp/netflow stuff.
(Let me know if you have UK DevOps or Network Ops opportunities, too!)
-
- Posts: 21
- Joined: Tue Nov 14, 2006 5:04 am
- Howie
- Cacti Guru User
- Posts: 5508
- Joined: Thu Sep 16, 2004 5:53 am
- Location: United Kingdom
- Contact:
Yes. That's correct.marcosramos wrote:Ok mate that should do it.
Thanks for the support!
Anyways for a 0% traffic usage could i set
SCALE 0 0 some color
SCALE 0 25 other color ?
So that real 0% is in <some color> and >0% is in <other color> ?
Weathermap 0.98a is out! & QuickTree 1.0. Superlinks is over there now (and built-in to Cacti 1.x).
Some Other Cacti tweaks, including strip-graphs, icons and snmp/netflow stuff.
(Let me know if you have UK DevOps or Network Ops opportunities, too!)
Some Other Cacti tweaks, including strip-graphs, icons and snmp/netflow stuff.
(Let me know if you have UK DevOps or Network Ops opportunities, too!)
-
- Posts: 21
- Joined: Tue Nov 14, 2006 5:04 am
Code: Select all
SCALE DEFAULT 0 255 255 255 [b]< real 0%[/b]
SCALE DEFAULT 0 1 165 249 165 0 240 0 [b]< greater than 0% until 1%[/b]
SCALE DEFAULT 1 25 0 240 0 240 240 0 [b]< and so on...[/b]
SCALE DEFAULT 25 75 240 240 0 240 0 0
SCALE DEFAULT 75 100 240 0 0 15 15 15
If you want i can send another screenshot.
cacti v0.8.7b
cactid v0.8.6i/pa v2.1/php weathermap v0.95b/monitor v0.8.2/(...)
SLES 10
cactid v0.8.6i/pa v2.1/php weathermap v0.95b/monitor v0.8.2/(...)
SLES 10
- Howie
- Cacti Guru User
- Posts: 5508
- Joined: Thu Sep 16, 2004 5:53 am
- Location: United Kingdom
- Contact:
marcosramos wrote:(TWO zeros). You should see in the cacti.log that the first line is currently being ignored, because it's invalid.Code: Select all
SCALE DEFAULT 0 255 255 255 [b]< real 0%[/b] [/quote] that should be [code] SCALE DEFAULT 0 0 255 255 255
Weathermap 0.98a is out! & QuickTree 1.0. Superlinks is over there now (and built-in to Cacti 1.x).
Some Other Cacti tweaks, including strip-graphs, icons and snmp/netflow stuff.
(Let me know if you have UK DevOps or Network Ops opportunities, too!)
Some Other Cacti tweaks, including strip-graphs, icons and snmp/netflow stuff.
(Let me know if you have UK DevOps or Network Ops opportunities, too!)
-
- Posts: 21
- Joined: Tue Nov 14, 2006 5:04 am
Who is online
Users browsing this forum: No registered users and 3 guests