Weathermap - Link bandwidth not displayed
Moderators: Developers, Moderators
Weathermap - Link bandwidth not displayed
I am running Cacti version 0.8.6h on a Win2k box and am having problems with the weathermap plugin. Everything works with the plugin except the link bandwidth is not being displayed. My Cacti logs show the following entry:
WEATHERMAP: Poller[0] ReadData: Link Architect-Oracle, target: C:/Inetpub/wwwroot/cacti/rra/architect_traffic_in_1599.rrd on config line 47 had no valid data
I am assuming there is something wrong with the path to the .rrd files but I have tried all combinations of paths and none have worked. I have also re-created the data source that this link pulls data from and this has not helped. I updated the version of rrdtool to 1.2.10 but I starting having issues with Cacti then, so I rolled back that update.
Using:
IIS 5
MySQL 4.1
PHP 4
Cacti 0.8.6h
rrd 1.0.49
Any suggestions would be appreciated.
Thanks.
WEATHERMAP: Poller[0] ReadData: Link Architect-Oracle, target: C:/Inetpub/wwwroot/cacti/rra/architect_traffic_in_1599.rrd on config line 47 had no valid data
I am assuming there is something wrong with the path to the .rrd files but I have tried all combinations of paths and none have worked. I have also re-created the data source that this link pulls data from and this has not helped. I updated the version of rrdtool to 1.2.10 but I starting having issues with Cacti then, so I rolled back that update.
Using:
IIS 5
MySQL 4.1
PHP 4
Cacti 0.8.6h
rrd 1.0.49
Any suggestions would be appreciated.
Thanks.
- Howie
- Cacti Guru User
- Posts: 5508
- Joined: Thu Sep 16, 2004 5:53 am
- Location: United Kingdom
- Contact:
Re: Weathermap - Link bandwidth not displayed
It's not the path - you would get a different error then - "Target $target doesn't exist. Is it a file?"Hyland wrote:I am running Cacti version 0.8.6h on a Win2k box and am having problems with the weathermap plugin. Everything works with the plugin except the link bandwidth is not being displayed. My Cacti logs show the following entry:
WEATHERMAP: Poller[0] ReadData: Link Architect-Oracle, target: C:/Inetpub/wwwroot/cacti/rra/architect_traffic_in_1599.rrd on config line 47 had no valid data
I am assuming there is something wrong with the path to the .rrd files but I have tried all combinations of paths and none have worked. I have also re-created the data source that this link pulls data from and this has not helped. I updated the version of rrdtool to 1.2.10 but I starting having issues with Cacti then, so I rolled back that update.
Using:
IIS 5
MySQL 4.1
PHP 4
Cacti 0.8.6h
rrd 1.0.49
Any suggestions would be appreciated.
Thanks.
Is it just this one link?
Turning on DEBUG logging in Cacti for one poller cycle might give you more of a clue.
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!)
I only have one link created while I am testing the plugin. I have created another one and am getting the same results. I turned on the Debug logging in Cacti and have been looking through the logs.
Does the Data Source - Output Type ID setting make a difference to the weathermap plugin? All of my Data Sources are set to In/Out Bytes with Total Bandwidth. However for the Data Sources that I am trying to create the weathermap links for I have tried all different settings. (In/Out Bytes, In/Out Bits)
Also does the Bandwidth setting in the weathermap config matter? I have tried 100M, 1000M, 100000000.
Here are some of the Debug logs.
04/25/2006 04:42:46 PM - WEATHERMAP: Poller[0] ReadData: Link Oracle-Trinity, target: C:/Inetpub/wwwroot/cacti/rra/trinity_traffic_in_712.rrd on config line 62 had no valid data
04/25/2006 04:42:46 PM - WEATHERMAP: Poller[0] ReadFromRRD: Returning (-8,-8 )
04/25/2006 04:42:46 PM - WEATHERMAP: Poller[0] ReadFromRRD: Our line is 1145997900: -1.#IND000000e+000 -1.#IND000000e+000
04/25/2006 04:42:46 PM - WEATHERMAP: Poller[0] --1145997300: 3.5824038066e+005 3.6482281181e+004
04/25/2006 04:42:46 PM - WEATHERMAP: Poller[0] --1145997600: 2.6406721760e+005 3.0454724822e+004
)
04/25/2006 04:42:46 PM - WEATHERMAP: Poller[0] ReadFromRRD: Found a good line: 1145997900: -1.#IND000000e+000 -1.#IND000000e+000
04/25/2006 04:42:46 PM - WEATHERMAP: Poller[0] --1145997900: -1.#IND000000e+000 -1.#IND000000e+000
04/25/2006 04:42:46 PM - WEATHERMAP: Poller[0] --
04/25/2006 04:42:46 PM - WEATHERMAP: Poller[0] >
04/25/2006 04:42:46 PM - WEATHERMAP: Poller[0] > 1145997900: -1.#IND000000e+000 -1.#IND000000e+000
04/25/2006 04:42:46 PM - WEATHERMAP: Poller[0] > 1145997600: 2.6406721760e+005 3.0454724822e+004
04/25/2006 04:42:46 PM - WEATHERMAP: Poller[0] > 1145997300: 3.5824038066e+005 3.6482281181e+004
04/25/2006 04:42:46 PM - WEATHERMAP: Poller[0] ReadFromRRD: Running: c:/inetpub/wwwroot/cacti/rrdtool.exe fetch C:/Inetpub/wwwroot/cacti/rra/trinity_traffic_in_712.rrd AVERAGE --start now-400
04/25/2006 04:42:46 PM - WEATHERMAP: Poller[0] ReadFromRRD: Target DS names are traffic_in and traffic_out
Any ideas on what the problem could be?
Sorry for the wordy post.
Thanks.
Does the Data Source - Output Type ID setting make a difference to the weathermap plugin? All of my Data Sources are set to In/Out Bytes with Total Bandwidth. However for the Data Sources that I am trying to create the weathermap links for I have tried all different settings. (In/Out Bytes, In/Out Bits)
Also does the Bandwidth setting in the weathermap config matter? I have tried 100M, 1000M, 100000000.
Here are some of the Debug logs.
04/25/2006 04:42:46 PM - WEATHERMAP: Poller[0] ReadData: Link Oracle-Trinity, target: C:/Inetpub/wwwroot/cacti/rra/trinity_traffic_in_712.rrd on config line 62 had no valid data
04/25/2006 04:42:46 PM - WEATHERMAP: Poller[0] ReadFromRRD: Returning (-8,-8 )
04/25/2006 04:42:46 PM - WEATHERMAP: Poller[0] ReadFromRRD: Our line is 1145997900: -1.#IND000000e+000 -1.#IND000000e+000
04/25/2006 04:42:46 PM - WEATHERMAP: Poller[0] --1145997300: 3.5824038066e+005 3.6482281181e+004
04/25/2006 04:42:46 PM - WEATHERMAP: Poller[0] --1145997600: 2.6406721760e+005 3.0454724822e+004
)
04/25/2006 04:42:46 PM - WEATHERMAP: Poller[0] ReadFromRRD: Found a good line: 1145997900: -1.#IND000000e+000 -1.#IND000000e+000
04/25/2006 04:42:46 PM - WEATHERMAP: Poller[0] --1145997900: -1.#IND000000e+000 -1.#IND000000e+000
04/25/2006 04:42:46 PM - WEATHERMAP: Poller[0] --
04/25/2006 04:42:46 PM - WEATHERMAP: Poller[0] >
04/25/2006 04:42:46 PM - WEATHERMAP: Poller[0] > 1145997900: -1.#IND000000e+000 -1.#IND000000e+000
04/25/2006 04:42:46 PM - WEATHERMAP: Poller[0] > 1145997600: 2.6406721760e+005 3.0454724822e+004
04/25/2006 04:42:46 PM - WEATHERMAP: Poller[0] > 1145997300: 3.5824038066e+005 3.6482281181e+004
04/25/2006 04:42:46 PM - WEATHERMAP: Poller[0] ReadFromRRD: Running: c:/inetpub/wwwroot/cacti/rrdtool.exe fetch C:/Inetpub/wwwroot/cacti/rra/trinity_traffic_in_712.rrd AVERAGE --start now-400
04/25/2006 04:42:46 PM - WEATHERMAP: Poller[0] ReadFromRRD: Target DS names are traffic_in and traffic_out
Any ideas on what the problem could be?
Sorry for the wordy post.
Thanks.
Re: Weathermap - Link bandwidth not displayed
Please explain the way about setupHyland wrote:I am running Cacti version 0.8.6h on a Win2k box and am having problems with the weathermap plugin. Everything works with the plugin except the link bandwidth is not being displayed. My Cacti logs show the following entry:
WEATHERMAP: Poller[0] ReadData: Link Architect-Oracle, target: C:/Inetpub/wwwroot/cacti/rra/architect_traffic_in_1599.rrd on config line 47 had no valid data
I am assuming there is something wrong with the path to the .rrd files but I have tried all combinations of paths and none have worked. I have also re-created the data source that this link pulls data from and this has not helped. I updated the version of rrdtool to 1.2.10 but I starting having issues with Cacti then, so I rolled back that update.
Using:
IIS 5
MySQL 4.1
PHP 4
Cacti 0.8.6h
rrd 1.0.49
Any suggestions would be appreciated.
Thanks.
- Howie
- Cacti Guru User
- Posts: 5508
- Joined: Thu Sep 16, 2004 5:53 am
- Location: United Kingdom
- Contact:
I think that your rrdtool somehow produces slightly different output to the normal one. Weathermap sees this -1.#IND000000e+000 as a valid number somehow, whereas I think it's really a NaN/Inf type of value. I'll try and work on a solution today, if I get a chance. Did you compile rrdtool yourself or is it from somewhere unusual?Hyland wrote:
04/25/2006 04:42:46 PM - WEATHERMAP: Poller[0] ReadFromRRD: Our line is 1145997900: -1.#IND000000e+000 -1.#IND000000e+000
Any ideas on what the problem could be?
Sorry for the wordy post.
Thanks.
Edit: One thing to try, from a quick look... in Weathermap.class.php, somewhere around line 1722, there is:
Code: Select all
if (trim($col) != '' && !preg_match('/\d+\.?\d*e?[+-]?\d*:?/i', $col))
Code: Select all
if (trim($col) != '' && !preg_match('/^\d+\.?\d*e?[+-]?\d*:?$/i', $col))
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!)
The rrdtool I am using came from rrdtool.org and I am using the rrdtool.exe that was in the zip file. I am not compiling this on my own.
I edited the Weathermap.class.php file as you suggested and it did not solve the problem but the logs did change. Here are some of the logs:
ReadData Completed.
04/26/2006 09:28:10 AM - WEATHERMAP: Poller[0]
04/26/2006 09:28:10 AM - WEATHERMAP: Poller[0] ReadData: Setting 1468023.67248,411218.224168
04/26/2006 09:28:10 AM - WEATHERMAP: Poller[0] ReadFromRRD: Returning (1468023.67248,411218.224168)
04/26/2006 09:28:10 AM - WEATHERMAP: Poller[0] ReadFromRRD: Our line is 1146057900: 1.8350295906e+005 5.1402278021e+004
04/26/2006 09:28:10 AM - WEATHERMAP: Poller[0] --1146057600: 1.7192016789e+005 8.0917926846e+004
)
(timestamp traffic_in traffic_out
04/26/2006 09:28:10 AM - WEATHERMAP: Poller[0] ReadFromRRD: Found a good line: 1146057900: 1.8350295906e+005 5.1402278021e+004
04/26/2006 09:28:10 AM - WEATHERMAP: Poller[0] --1146057900: 1.8350295906e+005 5.1402278021e+004
04/26/2006 09:28:10 AM - WEATHERMAP: Poller[0] ReadFromRRD: 2: This isn't a number: [-1.#IND000000e+000]
04/26/2006 09:28:10 AM - WEATHERMAP: Poller[0] ReadFromRRD: 1: This isn't a number: [-1.#IND000000e+000]
04/26/2006 09:28:10 AM - WEATHERMAP: Poller[0] --1146058200: -1.#IND000000e+000 -1.#IND000000e+000
04/26/2006 09:28:10 AM - WEATHERMAP: Poller[0] --
04/26/2006 09:28:10 AM - WEATHERMAP: Poller[0] >
04/26/2006 09:28:10 AM - WEATHERMAP: Poller[0] > 1146058200: -1.#IND000000e+000 -1.#IND000000e+000
04/26/2006 09:28:10 AM - WEATHERMAP: Poller[0] > 1146057900: 1.8350295906e+005 5.1402278021e+004
04/26/2006 09:28:10 AM - WEATHERMAP: Poller[0] > 1146057600: 1.7192016789e+005 8.0917926846e+004
04/26/2006 09:28:10 AM - WEATHERMAP: Poller[0] ReadFromRRD: Running: c:/inetpub/wwwroot/cacti/rrdtool.exe fetch C:/Inetpub/wwwroot/cacti/rra/trinity_traffic_in_712.rrd AVERAGE --start now-400
04/26/2006 09:28:10 AM - WEATHERMAP: Poller[0] ReadFromRRD: Target DS names are traffic_in and traffic_out
04/26/2006 09:28:10 AM - WEATHERMAP: Poller[0] ReadData: Updating link Oracle-Trinity from RRD Target C:/Inetpub/wwwroot/cacti/rra/trinity_traffic_in_712.rrd
04/26/2006 09:28:10 AM - WEATHERMAP: Poller[0] New Target: C:/Inetpub/wwwroot/cacti/rra/trinity_traffic_in_712.rrd (C:/Inetpub/wwwroot/cacti/rra/trinity_traffic_in_712.rrd)
ReadData for Link Oracle-Trinity:
I am no longer seeing the following line in the logs so I think some progess has been made.
C:/Inetpub/wwwroot/cacti/rra/trinity_traffic_in_712.rrd on config line 62 had no valid data
Thanks for your help.
I edited the Weathermap.class.php file as you suggested and it did not solve the problem but the logs did change. Here are some of the logs:
ReadData Completed.
04/26/2006 09:28:10 AM - WEATHERMAP: Poller[0]
04/26/2006 09:28:10 AM - WEATHERMAP: Poller[0] ReadData: Setting 1468023.67248,411218.224168
04/26/2006 09:28:10 AM - WEATHERMAP: Poller[0] ReadFromRRD: Returning (1468023.67248,411218.224168)
04/26/2006 09:28:10 AM - WEATHERMAP: Poller[0] ReadFromRRD: Our line is 1146057900: 1.8350295906e+005 5.1402278021e+004
04/26/2006 09:28:10 AM - WEATHERMAP: Poller[0] --1146057600: 1.7192016789e+005 8.0917926846e+004
)
(timestamp traffic_in traffic_out
04/26/2006 09:28:10 AM - WEATHERMAP: Poller[0] ReadFromRRD: Found a good line: 1146057900: 1.8350295906e+005 5.1402278021e+004
04/26/2006 09:28:10 AM - WEATHERMAP: Poller[0] --1146057900: 1.8350295906e+005 5.1402278021e+004
04/26/2006 09:28:10 AM - WEATHERMAP: Poller[0] ReadFromRRD: 2: This isn't a number: [-1.#IND000000e+000]
04/26/2006 09:28:10 AM - WEATHERMAP: Poller[0] ReadFromRRD: 1: This isn't a number: [-1.#IND000000e+000]
04/26/2006 09:28:10 AM - WEATHERMAP: Poller[0] --1146058200: -1.#IND000000e+000 -1.#IND000000e+000
04/26/2006 09:28:10 AM - WEATHERMAP: Poller[0] --
04/26/2006 09:28:10 AM - WEATHERMAP: Poller[0] >
04/26/2006 09:28:10 AM - WEATHERMAP: Poller[0] > 1146058200: -1.#IND000000e+000 -1.#IND000000e+000
04/26/2006 09:28:10 AM - WEATHERMAP: Poller[0] > 1146057900: 1.8350295906e+005 5.1402278021e+004
04/26/2006 09:28:10 AM - WEATHERMAP: Poller[0] > 1146057600: 1.7192016789e+005 8.0917926846e+004
04/26/2006 09:28:10 AM - WEATHERMAP: Poller[0] ReadFromRRD: Running: c:/inetpub/wwwroot/cacti/rrdtool.exe fetch C:/Inetpub/wwwroot/cacti/rra/trinity_traffic_in_712.rrd AVERAGE --start now-400
04/26/2006 09:28:10 AM - WEATHERMAP: Poller[0] ReadFromRRD: Target DS names are traffic_in and traffic_out
04/26/2006 09:28:10 AM - WEATHERMAP: Poller[0] ReadData: Updating link Oracle-Trinity from RRD Target C:/Inetpub/wwwroot/cacti/rra/trinity_traffic_in_712.rrd
04/26/2006 09:28:10 AM - WEATHERMAP: Poller[0] New Target: C:/Inetpub/wwwroot/cacti/rra/trinity_traffic_in_712.rrd (C:/Inetpub/wwwroot/cacti/rra/trinity_traffic_in_712.rrd)
ReadData for Link Oracle-Trinity:
I am no longer seeing the following line in the logs so I think some progess has been made.
C:/Inetpub/wwwroot/cacti/rra/trinity_traffic_in_712.rrd on config line 62 had no valid data
Thanks for your help.
- Howie
- Cacti Guru User
- Posts: 5508
- Joined: Thu Sep 16, 2004 5:53 am
- Location: United Kingdom
- Contact:
Cool. I'll make that modfication in the next release.Hyland wrote:Disregard my last message. Right after I posted the message the weathermap refreshed and and the links now show bandwidth.
Thanks for all you help.
This is the sort of overview of the network I have been looking for.
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 2 guests