Links are not calculated and colored
Moderators: Developers, Moderators
Links are not calculated and colored
Hi everyone,
I have some problems relative to the links display.
My map contains only two nodes and a link.
The two nodes represents HP Switches with 1 gigabits port and the link is a fiber optic connection between them with in average 400 Mb/s.
Graph for the ports are available through Cacti and the nodes are up.
The bandwidth is set to "1G" (also tried 1000M, no difference).
I use cacti 08.8a / weathermap 0.97a.
The problems :
The link stay gray, no calculation of the data transferred.
In the log, I've got several "weathermap warnings" :
RRDTool can't be found. >>> Path in cacti settings is correct and rrdtool correctly use by cacti. (RRDTool version 1.3.
LINK sw1-sw2, target: ... was recognised as a valid TARGET by a plugin that is unable to run (WeatherMapDataSource_rrd) [WMWARN07] >> I guess this second warning is produce by the first one.
I'm stuck really...
If anyone can point me to the right direction, I'll be glad.
I have some problems relative to the links display.
My map contains only two nodes and a link.
The two nodes represents HP Switches with 1 gigabits port and the link is a fiber optic connection between them with in average 400 Mb/s.
Graph for the ports are available through Cacti and the nodes are up.
The bandwidth is set to "1G" (also tried 1000M, no difference).
I use cacti 08.8a / weathermap 0.97a.
The problems :
The link stay gray, no calculation of the data transferred.
In the log, I've got several "weathermap warnings" :
RRDTool can't be found. >>> Path in cacti settings is correct and rrdtool correctly use by cacti. (RRDTool version 1.3.
LINK sw1-sw2, target: ... was recognised as a valid TARGET by a plugin that is unable to run (WeatherMapDataSource_rrd) [WMWARN07] >> I guess this second warning is produce by the first one.
I'm stuck really...
If anyone can point me to the right direction, I'll be glad.
FredV // -Native Language: french (so excuse my poor english...), -Location: Belgium, Daily activity: System Administrator Junior
----------
Devices:~200, Graphs:~600
----------
Devices:~200, Graphs:~600
- Howie
- Cacti Guru User
- Posts: 5508
- Joined: Thu Sep 16, 2004 5:53 am
- Location: United Kingdom
- Contact:
Re: Links are not calculated and colored
Windows or Unix/Linux? (which distribution?)
This smells like Debian or Ubuntu to me.
This smells like Debian or Ubuntu to me.
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!)
Re: Links are not calculated and colored
Yes. Ubuntu server 12.04.
You have an idéal to solve this?
You have an idéal to solve this?
FredV // -Native Language: french (so excuse my poor english...), -Location: Belgium, Daily activity: System Administrator Junior
----------
Devices:~200, Graphs:~600
----------
Devices:~200, Graphs:~600
- Howie
- Cacti Guru User
- Posts: 5508
- Joined: Thu Sep 16, 2004 5:53 am
- Location: United Kingdom
- Contact:
Re: Links are not calculated and colored
No quick answer, but I think I know where to look.
Did you install Cacti from source or from packages?
Did you install Cacti from source or from packages?
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!)
Re: Links are not calculated and colored
Install from source... but it was a long time ago, I can't really remember the details.
FredV // -Native Language: french (so excuse my poor english...), -Location: Belgium, Daily activity: System Administrator Junior
----------
Devices:~200, Graphs:~600
----------
Devices:~200, Graphs:~600
- Howie
- Cacti Guru User
- Posts: 5508
- Joined: Thu Sep 16, 2004 5:53 am
- Location: United Kingdom
- Contact:
Re: Links are not calculated and colored
OK - I asked because the Ubuntu packages have some changes to paths.
I'll take a look at this tonight.
I'll take a look at this tonight.
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!)
Re: Links are not calculated and colored
Ok, I have search the server which is used to test things & monitoring actually and there is two rrdtool installed. First one (which is specified in Cacti settings) in /usr/bin/rrdtool and an another one in /opt/rrdtool-1.4.7/bin/rrdtool.
Do you think that this is the problem?
Do you think that this is the problem?
FredV // -Native Language: french (so excuse my poor english...), -Location: Belgium, Daily activity: System Administrator Junior
----------
Devices:~200, Graphs:~600
----------
Devices:~200, Graphs:~600
- Howie
- Cacti Guru User
- Posts: 5508
- Joined: Thu Sep 16, 2004 5:53 am
- Location: United Kingdom
- Contact:
Re: Links are not calculated and colored
I don't think so. Weathermap uses the Cacti settings, so they should match.FredV wrote:Ok, I have search the server which is used to test things & monitoring actually and there is two rrdtool installed. First one (which is specified in Cacti settings) in /usr/bin/rrdtool and an another one in /opt/rrdtool-1.4.7/bin/rrdtool.
Do you think that this is the problem?
You can try to "fix" this by changing lib/poller-common.php though:
Code: Select all
$rrdtool_path = read_config_option("path_rrdtool");
CHANGE TO:
$rrdtool_path = "/usr/bin/rrdtool";
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!)
Re: Links are not calculated and colored
I tried the "fix". Nothing has change...
FredV // -Native Language: french (so excuse my poor english...), -Location: Belgium, Daily activity: System Administrator Junior
----------
Devices:~200, Graphs:~600
----------
Devices:~200, Graphs:~600
- Howie
- Cacti Guru User
- Posts: 5508
- Joined: Thu Sep 16, 2004 5:53 am
- Location: United Kingdom
- Contact:
Re: Links are not calculated and colored
Interesting. Are you running weathermap manually, or from the Cacti poller?
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!)
Re: Links are not calculated and colored
Cacti poller...
I don't get it... It should work right of the box, normally...
I first used Cacti/weathermap to keep track of the devices (~200 routers) status (available or not) on a map (green dot:up, red dot:down, blue dot:recovery, grey:unknown)... And it work perfectly.
Then later, we thought that I will be great to keep an eye on our core switches connections (those between our facilities and the datacenter)... Three nodes & two links between them... Unable to set this up... I am frustrated.
I don't get it... It should work right of the box, normally...
I first used Cacti/weathermap to keep track of the devices (~200 routers) status (available or not) on a map (green dot:up, red dot:down, blue dot:recovery, grey:unknown)... And it work perfectly.
Then later, we thought that I will be great to keep an eye on our core switches connections (those between our facilities and the datacenter)... Three nodes & two links between them... Unable to set this up... I am frustrated.
FredV // -Native Language: french (so excuse my poor english...), -Location: Belgium, Daily activity: System Administrator Junior
----------
Devices:~200, Graphs:~600
----------
Devices:~200, Graphs:~600
- Howie
- Cacti Guru User
- Posts: 5508
- Joined: Thu Sep 16, 2004 5:53 am
- Location: United Kingdom
- Contact:
Re: Links are not calculated and colored
The host status is pulled from the Cacti database, not from rrd files. That is one difference...
I have been in Paris this weekend, but back now, so I'll try to construct a test for this issue tonight.
I have been in Paris this weekend, but back now, so I'll try to construct a test for this issue tonight.
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!)
Who is online
Users browsing this forum: No registered users and 0 guests