Cacti - WeatherMap - Link - Always Grey

Support questions about the Network Weather Map plugin

Moderators: Developers, Moderators

pradeepspa
Cacti User
Posts: 67
Joined: Wed Nov 25, 2015 2:35 pm

Cacti - WeatherMap - Link - Always Grey

Post by pradeepspa »

Folks,

I am trying to build weathermap for my company network. After creating everything in weathermap (Nodes, Link, etc) I can see the graphs gets hover whenever on the link but the link always shows grey in color and 0%. It seems like it doesn't show the traffic flow. I assume if i can see hover graph, then datasource, Info url, Hover url should be fine.

Also i see this error in logs
Sep 16 11:25:42 cacti3 Cacti[54108]: WEATHERMAP: WARNING: [Map 200] KA2.conf: RRD ReadData: poller_output: traffic_in is not a valid DS name for <path_rra>/4122/102502.rrd - valid names are: sandvine_info_drop, sandvine_info_max, sandvine_info_rate [WMRRD07]
As per previous advice fro the similar issue, i chaged the config file to ,

Code: Select all

LINK node08982-node07668
        INFOURL /cacti/graph.php?rra_id=all&local_graph_id=66108
        OVERLIBGRAPH /cacti/graph_image.php?local_graph_id=66108&rra_id=0&graph_nolegend=true&graph_height=100&graph_width=300
        TARGET /usr/share/cacti/rra/4122/102533.rrd:sandvine_info_drop:sandvine_info_max:sandvine_info_rate
        NODES node07668 node08982
        BANDWIDTH 118M

But after that i am getting below error
ep 16 12:35:41 cacti3 Cacti[9490]: WEATHERMAP: WARNING: [Map 200] KA2.conf: ProcessTargets: LINK node08982-node07668, target: /usr/share/cacti/rra/4122/102533.rrd:sandvine_info_drop:sandvine_info_max:sandvine_info_rate on config line 408 of /usr/share/cacti/plugins/weathermap/configs/KA2.conf was not recognised as a valid TARGET [WMWARN08]
Could someone please advice on this?
pradeepspa
Cacti User
Posts: 67
Joined: Wed Nov 25, 2015 2:35 pm

Re: Cacti - WeatherMap - Link - Always Grey

Post by pradeepspa »

Could anyone help me on this?
User avatar
XTech
Cacti User
Posts: 59
Joined: Sat May 26, 2012 9:25 pm

Re: Cacti - WeatherMap - Link - Always Grey

Post by XTech »

Not sure, but AFAIK weathermap TARGET works only with two or less datasources.
pradeepspa
Cacti User
Posts: 67
Joined: Wed Nov 25, 2015 2:35 pm

Re: Cacti - WeatherMap - Link - Always Grey

Post by pradeepspa »

Thanks for the response. I used two data sources but no luck.
User avatar
Pucho
Cacti User
Posts: 185
Joined: Wed Jul 20, 2016 8:00 pm

Re: Cacti - WeatherMap - Link - Always Grey

Post by Pucho »

That's right, 2 DS or less. Any new logs to share? Can we have a look at the scale you are using for this?
Cacti - 1.2.15
Poller Type - Spine
Weathermap 0.98a
Server Info - Linux 3.10.0 - Centos 7
Web Server - Apache/2.4.6 PHP 5.4.16
MySQL - 5.5 ;RRDTool - 1.4.8 ;SNMP - 5.7.2
Religion - Anti forum pets
pradeepspa
Cacti User
Posts: 67
Joined: Wed Nov 25, 2015 2:35 pm

Re: Cacti - WeatherMap - Link - Always Grey

Post by pradeepspa »

This is the latest logs,
Sep 23 13:25:43 cacti3 Cacti[36822]: WEATHERMAP: WARNING: [Map 200] KA2.conf: ProcessTargets: LINK node08982-node07668, target: /usr/share/cacti/rra/4122/102533.rrd:sandvine_info_max:sandvine_info_drop:sandvine_info_rate on config line 408 of /usr/share/cacti/plugins/weathermap/configs/KA2.conf was not recognised as a valid TARGET [WMWARN08]
Sep 23 13:25:43 cacti3 Cacti[36822]: WEATHERMAP: WARNING: [Map 200] KA2.conf: RRD ReadData: poller_output: traffic_in is not a valid DS name for <path_rra>/4122/102502.rrd - valid names are: sandvine_info_drop, sandvine_info_max, sandvine_info_rate [WMRRD07]
Sep 23 13:25:43 cacti3 Cacti[36822]: WEATHERMAP: WARNING: [Map 200] KA2.conf: RRD ReadData: poller_output: traffic_out is not a valid DS name for <path_rra>/4122/102502.rrd - valid names are: sandvine_info_drop, sandvine_info_max, sandvine_info_rate [WMRRD07]
Sep 23 13:25:43 cacti3 Cacti[36822]: WEATHERMAP: WARNING: [Map 200] KA2.conf: RRD ReadData: At least one of your DS names (traffic_in and traffic_out) were not found, even though there was a valid data line. Maybe they are wrong? Valid DS names in this file are: sandvine_info_max,sandvine_info_drop,sandvine_info_rate, [WMRRD06]
Sep 23 13:25:43 cacti3 Cacti[36822]: WEATHERMAP: WARNING: [Map 200] KA2.conf: ReadData: LINK node08467-node06942, target: /usr/share/cacti/rra/4122/102502.rrd on config line 317 of /usr/share/cacti/plugins/weathermap/configs/KA2.conf had no valid data, according to WeatherMapDataSource_rrd
Sep 23 13:25:43 cacti3 Cacti[36822]: WEATHERMAP: WARNING: [Map 200] KA2.conf: RRD ReadData: poller_output: traffic_in is not a valid DS name for <path_rra>/4122/102518.rrd - valid names are: sandvine_info_drop, sandvine_info_max, sandvine_info_rate [WMRRD07]
Sep 23 13:25:44 cacti3 Cacti[36822]: WEATHERMAP: WARNING: [Map 200] KA2.conf: RRD ReadData: poller_output: traffic_out is not a valid DS name for <path_rra>/4122/102518.rrd - valid names are: sandvine_info_drop, sandvine_info_max, sandvine_info_rate [WMRRD07]
Sep 23 13:25:44 cacti3 Cacti[36822]: WEATHERMAP: WARNING: [Map 200] KA2.conf: RRD ReadData: At least one of your DS names (traffic_in and traffic_out) were not found, even though there was a valid data line. Maybe they are wrong? Valid DS names in this file are: sandvine_info_max,sandvine_info_drop,sandvine_info_rate, [WMRRD06]
Sep 23 13:25:44 cacti3 Cacti[36822]: WEATHERMAP: WARNING: [Map 200] KA2.conf: ReadData: LINK node08491-node06942, target: /usr/share/cacti/rra/4122/102518.rrd on config line 324 of /usr/share/cacti/plugins/weathermap/configs/KA2.conf had no valid data, according to WeatherMapDataSource_rrd
Sep 23 13:25:44 cacti3 Cacti[36822]: WEATHERMAP: WARNING: [Map 200] KA2.conf: RRD ReadData: poller_output: traffic_in is not a valid DS name for <path_rra>/4122/102525.rrd - valid names are: sandvine_info_drop, sandvine_info_max, sandvine_info_rate [WMRRD07]
Sep 23 13:25:44 cacti3 Cacti[36822]: WEATHERMAP: WARNING: [Map 200] KA2.conf: RRD ReadData: poller_output: traffic_out is not a valid DS name for <path_rra>/4122/102525.rrd - valid names are: sandvine_info_drop, sandvine_info_max, sandvine_info_rate [WMRRD07]
Sep 23 13:25:44 cacti3 Cacti[36822]: WEATHERMAP: WARNING: [Map 200] KA2.conf: RRD ReadData: At least one of your DS names (traffic_in and traffic_out) were not found, even though there was a valid data line. Maybe they are wrong? Valid DS names in this file are: sandvine_info_max,sandvine_info_drop,sandvine_info_rate, [WMRRD06]
Sep 23 13:25:44 cacti3 Cacti[36822]: WEATHERMAP: WARNING: [Map 200] KA2.conf: ReadData: LINK node08510-node06942, target: /usr/share/cacti/rra/4122/102525.rrd on config line 331 of /usr/share/cacti/plugins/weathermap/configs/KA2.conf had no valid data, according to WeatherMapDataSource_rrd
Sep 23 13:25:44 cacti3 Cacti[36822]: WEATHERMAP: WARNING: [Map 200] KA2.conf: RRD ReadData: poller_output: traffic_in is not a valid DS name for <path_rra>/4122/102508.rrd - valid names are: sandvine_info_drop, sandvine_info_max, sandvine_info_rate [WMRRD07]
Sep 23 13:25:44 cacti3 Cacti[36822]: WEATHERMAP: WARNING: [Map 200] KA2.conf: RRD ReadData: poller_output: traffic_out is not a valid DS name for <path_rra>/4122/102508.rrd - valid names are: sandvine_info_drop, sandvine_info_max, sandvine_info_rate [WMRRD07]
Sep 23 13:25:44 cacti3 Cacti[36822]: WEATHERMAP: WARNING: [Map 200] KA2.conf: RRD ReadData: At least one of your DS names (traffic_in and traffic_out) were not found, even though there was a valid data line. Maybe they are wrong? Valid DS names in this file are: sandvine_info_max,sandvine_info_drop,sandvine_info_rate, [WMRRD06]
Sep 23 13:25:44 cacti3 Cacti[36822]: WEATHERMAP: WARNING: [Map 200] KA2.conf: ReadData: LINK node08648-node06970, target: /usr/share/cacti/rra/4122/102508.rrd on config line 338 of /usr/share/cacti/plugins/weathermap/configs/KA2.conf had no valid data, according to WeatherMapDataSource_rrd
Sep 23 13:25:45 cacti3 Cacti[36822]: WEATHERMAP: WARNING: [Map 200] KA2.conf: RRD ReadData: poller_output: traffic_in is not a valid DS name for <path_rra>/4122/102526.rrd - valid names are: sandvine_info_drop, sandvine_info_max, sandvine_info_rate [WMRRD07]
Sep 23 13:25:45 cacti3 Cacti[36822]: WEATHERMAP: WARNING: [Map 200] KA2.conf: RRD ReadData: poller_output: traffic_out is not a valid DS name for <path_rra>/4122/102526.rrd - valid names are: sandvine_info_drop, sandvine_info_max, sandvine_info_rate [WMRRD07]
Sep 23 13:25:45 cacti3 Cacti[36822]: WEATHERMAP: WARNING: [Map 200] KA2.conf: RRD ReadData: At least one of your DS names (traffic_in and traffic_out) were not found, even though there was a valid data line. Maybe they are wrong? Valid DS names in this file are: sandvine_info_max,sandvine_info_drop,sandvine_info_rate, [WMRRD06]
Sep 23 13:25:45 cacti3 Cacti[36822]: WEATHERMAP: WARNING: [Map 200] KA2.conf: ReadData: LINK node08672-node06970, target: /usr/share/cacti/rra/4122/102526.rrd on config line 345 of /usr/share/cacti/plugins/weathermap/configs/KA2.conf had no valid data, according to WeatherMapDataSource_rrd
Sep 23 13:25:45 cacti3 Cacti[36822]: WEATHERMAP: WARNING: [Map 200] KA2.conf: RRD ReadData: poller_output: traffic_in is not a valid DS name for <path_rra>/4122/102516.rrd - valid names are: sandvine_info_drop, sandvine_info_max, sandvine_info_rate [WMRRD07]
Sep 23 13:25:45 cacti3 Cacti[36822]: WEATHERMAP: WARNING: [Map 200] KA2.conf: RRD ReadData: poller_output: traffic_out is not a valid DS name for <path_rra>/4122/102516.rrd - valid names are: sandvine_info_drop, sandvine_info_max, sandvine_info_rate [WMRRD07]
Sep 23 13:25:45 cacti3 Cacti[36822]: WEATHERMAP: WARNING: [Map 200] KA2.conf: RRD ReadData: At least one of your DS names (traffic_in and traffic_out) were not found, even though there was a valid data line. Maybe they are wrong? Valid DS names in this file are: sandvine_info_max,sandvine_info_drop,sandvine_info_rate, [WMRRD06]
Sep 23 13:25:45 cacti3 Cacti[36822]: WEATHERMAP: WARNING: [Map 200] KA2.conf: ReadData: LINK node08689-node06970, target: /usr/share/cacti/rra/4122/102516.rrd on config line 352 of /usr/share/cacti/plugins/weathermap/configs/KA2.conf had no valid data, according to WeatherMapDataSource_rrd
Sep 23 13:25:45 cacti3 Cacti[36822]: WEATHERMAP: WARNING: [Map 200] KA2.conf: RRD ReadData: poller_output: traffic_in is not a valid DS name for <path_rra>/4122/102519.rrd - valid names are: sandvine_info_drop, sandvine_info_max, sandvine_info_rate [WMRRD07]
Sep 23 13:25:46 cacti3 Cacti[36822]: WEATHERMAP: WARNING: [Map 200] KA2.conf: RRD ReadData: poller_output: traffic_out is not a valid DS name for <path_rra>/4122/102519.rrd - valid names are: sandvine_info_drop, sandvine_info_max, sandvine_info_rate [WMRRD07]
Sep 23 13:25:46 cacti3 Cacti[36822]: WEATHERMAP: WARNING: [Map 200] KA2.conf: RRD ReadData: At least one of your DS names (traffic_in and traffic_out) were not found, even though there was a valid data line. Maybe they are wrong? Valid DS names in this file are: sandvine_info_max,sandvine_info_drop,sandvine_info_rate, [WMRRD06]
Sep 23 13:25:46 cacti3 Cacti[36822]: WEATHERMAP: WARNING: [Map 200] KA2.conf: ReadData: LINK node08715-node06970, target: /usr/share/cacti/rra/4122/102519.rrd on config line 359 of /usr/share/cacti/plugins/weathermap/configs/KA2.conf had no valid data, according to WeatherMapDataSource_rrd
Sep 23 13:25:46 cacti3 Cacti[36822]: WEATHERMAP: WARNING: [Map 200] KA2.conf: RRD ReadData: poller_output: traffic_in is not a valid DS name for <path_rra>/4122/102530.rrd - valid names are: sandvine_info_drop, sandvine_info_max, sandvine_info_rate [WMRRD07]
Sep 23 13:25:46 cacti3 Cacti[36822]: WEATHERMAP: WARNING: [Map 200] KA2.conf: RRD ReadData: poller_output: traffic_out is not a valid DS name for <path_rra>/4122/102530.rrd - valid names are: sandvine_info_drop, sandvine_info_max, sandvine_info_rate [WMRRD07]
Sep 23 13:25:46 cacti3 Cacti[36822]: WEATHERMAP: WARNING: [Map 200] KA2.conf: RRD ReadData: At least one of your DS names (traffic_in and traffic_out) were not found, even though there was a valid data line. Maybe they are wrong? Valid DS names in this file are: sandvine_info_max,sandvine_info_drop,sandvine_info_rate, [WMRRD06]
Sep 23 13:25:46 cacti3 Cacti[36822]: WEATHERMAP: WARNING: [Map 200] KA2.conf: ReadData: LINK node08729-node06970, target: /usr/share/cacti/rra/4122/102530.rrd on config line 366 of /usr/share/cacti/plugins/weathermap/configs/KA2.conf had no valid data, according to WeatherMapDataSource_rrd
Sep 23 13:25:46 cacti3 Cacti[36822]: WEATHERMAP: WARNING: [Map 200] KA2.conf: RRD ReadData: poller_output: traffic_in is not a valid DS name for <path_rra>/4122/102527.rrd - valid names are: sandvine_info_drop, sandvine_info_max, sandvine_info_rate [WMRRD07]
Sep 23 13:25:47 cacti3 Cacti[36822]: WEATHERMAP: WARNING: [Map 200] KA2.conf: RRD ReadData: poller_output: traffic_out is not a valid DS name for <path_rra>/4122/102527.rrd - valid names are: sandvine_info_drop, sandvine_info_max, sandvine_info_rate [WMRRD07]
Sep 23 13:25:47 cacti3 Cacti[36822]: WEATHERMAP: WARNING: [Map 200] KA2.conf: RRD ReadData: At least one of your DS names (traffic_in and traffic_out) were not found, even though there was a valid data line. Maybe they are wrong? Valid DS names in this file are: sandvine_info_max,sandvine_info_drop,sandvine_info_rate, [WMRRD06]
Sep 23 13:25:47 cacti3 Cacti[36822]: WEATHERMAP: WARNING: [Map 200] KA2.conf: ReadData: LINK node08755-node06970, target: /usr/share/cacti/rra/4122/102527.rrd on config line 373 of /usr/share/cacti/plugins/weathermap/configs/KA2.conf had no valid data, according to WeatherMapDataSource_rrd
Sep 23 13:25:47 cacti3 Cacti[36822]: WEATHERMAP: WARNING: [Map 200] KA2.conf: RRD ReadData: poller_output: traffic_in is not a valid DS name for <path_rra>/4122/102500.rrd - valid names are: sandvine_info_drop, sandvine_info_max, sandvine_info_rate [WMRRD07]
Sep 23 13:25:47 cacti3 Cacti[36822]: WEATHERMAP: WARNING: [Map 200] KA2.conf: RRD ReadData: poller_output: traffic_out is not a valid DS name for <path_rra>/4122/102500.rrd - valid names are: sandvine_info_drop, sandvine_info_max, sandvine_info_rate [WMRRD07]
Sep 23 13:25:47 cacti3 Cacti[36822]: WEATHERMAP: WARNING: [Map 200] KA2.conf: RRD ReadData: At least one of your DS names (traffic_in and traffic_out) were not found, even though there was a valid data line. Maybe they are wrong? Valid DS names in this file are: sandvine_info_max,sandvine_info_drop,sandvine_info_rate, [WMRRD06]
Sep 23 13:25:47 cacti3 Cacti[36822]: WEATHERMAP: WARNING: [Map 200] KA2.conf: ReadData: LINK node08896-node07668, target: /usr/share/cacti/rra/4122/102500.rrd on config line 380 of /usr/share/cacti/plugins/weathermap/configs/KA2.conf had no valid data, according to WeatherMapDataSource_rrd
Sep 23 13:25:47 cacti3 Cacti[36822]: WEATHERMAP: WARNING: [Map 200] KA2.conf: RRD ReadData: poller_output: traffic_in is not a valid DS name for <path_rra>/4122/102524.rrd - valid names are: sandvine_info_drop, sandvine_info_max, sandvine_info_rate [WMRRD07]
Sep 23 13:25:47 cacti3 Cacti[36822]: WEATHERMAP: WARNING: [Map 200] KA2.conf: RRD ReadData: poller_output: traffic_out is not a valid DS name for <path_rra>/4122/102524.rrd - valid names are: sandvine_info_drop, sandvine_info_max, sandvine_info_rate [WMRRD07]
Sep 23 13:25:48 cacti3 Cacti[36822]: WEATHERMAP: WARNING: [Map 200] KA2.conf: RRD ReadData: At least one of your DS names (traffic_in and traffic_out) were not found, even though there was a valid data line. Maybe they are wrong? Valid DS names in this file are: sandvine_info_max,sandvine_info_drop,sandvine_info_rate, [WMRRD06]
Sep 23 13:25:48 cacti3 Cacti[36822]: WEATHERMAP: WARNING: [Map 200] KA2.conf: ReadData: LINK node08911-node07668, target: /usr/share/cacti/rra/4122/102524.rrd on config line 387 of /usr/share/cacti/plugins/weathermap/configs/KA2.conf had no valid data, according to WeatherMapDataSource_rrd
Sep 23 13:25:48 cacti3 Cacti[36822]: WEATHERMAP: WARNING: [Map 200] KA2.conf: RRD ReadData: poller_output: traffic_in is not a valid DS name for <path_rra>/4122/102501.rrd - valid names are: sandvine_info_drop, sandvine_info_max, sandvine_info_rate [WMRRD07]
Sep 23 13:25:48 cacti3 Cacti[36822]: WEATHERMAP: WARNING: [Map 200] KA2.conf: RRD ReadData: poller_output: traffic_out is not a valid DS name for <path_rra>/4122/102501.rrd - valid names are: sandvine_info_drop, sandvine_info_max, sandvine_info_rate [WMRRD07]
Sep 23 13:25:48 cacti3 Cacti[36822]: WEATHERMAP: WARNING: [Map 200] KA2.conf: RRD ReadData: At least one of your DS names (traffic_in and traffic_out) were not found, even though there was a valid data line. Maybe they are wrong? Valid DS names in this file are: sandvine_info_max,sandvine_info_drop,sandvine_info_rate, [WMRRD06]
Sep 23 13:25:48 cacti3 Cacti[36822]: WEATHERMAP: WARNING: [Map 200] KA2.conf: ReadData: LINK node08939-node07668, target: /usr/share/cacti/rra/4122/102501.rrd on config line 394 of /usr/share/cacti/plugins/weathermap/configs/KA2.conf had no valid data, according to WeatherMapDataSource_rrd
Sep 23 13:25:48 cacti3 Cacti[36822]: WEATHERMAP: WARNING: [Map 200] KA2.conf: RRD ReadData: poller_output: traffic_in is not a valid DS name for <path_rra>/4122/102514.rrd - valid names are: sandvine_info_drop, sandvine_info_max, sandvine_info_rate [WMRRD07]
Sep 23 13:25:48 cacti3 Cacti[36822]: WEATHERMAP: WARNING: [Map 200] KA2.conf: RRD ReadData: poller_output: traffic_out is not a valid DS name for <path_rra>/4122/102514.rrd - valid names are: sandvine_info_drop, sandvine_info_max, sandvine_info_rate [WMRRD07]
Sep 23 13:25:48 cacti3 Cacti[36822]: WEATHERMAP: WARNING: [Map 200] KA2.conf: RRD ReadData: At least one of your DS names (traffic_in and traffic_out) were not found, even though there was a valid data line. Maybe they are wrong? Valid DS names in this file are: sandvine_info_max,sandvine_info_drop,sandvine_info_rate, [WMRRD06]
Sep 23 13:25:48 cacti3 Cacti[36822]: WEATHERMAP: WARNING: [Map 200] KA2.conf: ReadData: LINK node08963-node07668, target: /usr/share/cacti/rra/4122/102514.rrd on config line 401 of /usr/share/cacti/plugins/weathermap/configs/KA2.conf had no valid data, according to WeatherMapDataSource_rrd
Sep 23 13:25:48 cacti3 Cacti[36822]: WEATHERMAP: WARNING: [Map 200] KA2.conf: RRD ReadData: poller_output: traffic_in is not a valid DS name for <path_rra>/4122/102510.rrd - valid names are: sandvine_info_drop, sandvine_info_max, sandvine_info_rate [WMRRD07]
Sep 23 13:25:49 cacti3 Cacti[36822]: WEATHERMAP: WARNING: [Map 200] KA2.conf: RRD ReadData: poller_output: traffic_out is not a valid DS name for <path_rra>/4122/102510.rrd - valid names are: sandvine_info_drop, sandvine_info_max, sandvine_info_rate [WMRRD07]
Sep 23 13:25:49 cacti3 Cacti[36822]: WEATHERMAP: WARNING: [Map 200] KA2.conf: RRD ReadData: At least one of your DS names (traffic_in and traffic_out) were not found, even though there was a valid data line. Maybe they are wrong? Valid DS names in this file are: sandvine_info_max,sandvine_info_drop,sandvine_info_rate, [WMRRD06]
Sep 23 13:25:49 cacti3 Cacti[36822]: WEATHERMAP: WARNING: [Map 200] KA2.conf: ReadData: LINK node06942-node08389, target: /usr/share/cacti/rra/4122/102510.rrd on config line 415 of /usr/share/cacti/plugins/weathermap/configs/KA2.conf had no valid data, according to WeatherMapDataSource_rrd
User avatar
Howie
Cacti Guru User
Posts: 5508
Joined: Thu Sep 16, 2004 5:53 am
Location: United Kingdom
Contact:

Re: Cacti - WeatherMap - Link - Always Grey

Post by Howie »

Code: Select all

Sep 23 13:25:43 cacti3 Cacti[36822]: WEATHERMAP: WARNING: [Map 200] KA2.conf: ProcessTargets: LINK node08982-node07668, target: /usr/share/cacti/rra/4122/102533.rrd:sandvine_info_max:sandvine_info_drop:sandvine_info_rate on config line 408 of /usr/share/cacti/plugins/weathermap/configs/KA2.conf was not recognised as a valid TARGET [WMWARN08]
This is failing because you are list 3 DS names on one target. There can only be two.

Code: Select all

Sep 23 13:25:43 cacti3 Cacti[36822]: WEATHERMAP: WARNING: [Map 200] KA2.conf: RRD ReadData: poller_output: traffic_in is not a valid DS name for <path_rra>/4122/102502.rrd - valid names are: sandvine_info_drop, sandvine_info_max, sandvine_info_rate [WMRRD07]
This is failing because you don't list *any* DS names, so the defaults are used, which are traffic_in and traffic_out. That's correct for a cacti traffic graph. It is not correct for your custom graph. Weathermap is telling you the names of the DS inside your rrd file. You need to added two of those to the target.
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!)
Rno
Cacti Pro User
Posts: 680
Joined: Wed Dec 07, 2011 9:19 am

Re: Cacti - WeatherMap - Link - Always Grey

Post by Rno »

Your DS report only this name:
sandvine_info_max,sandvine_info_drop,sandvine_info_rate

but by default DS need to report
traffic_in, traffic_out

so in front of your DS you have to put the name you want to use
TARGET sandvine_info_drop:/usr/share/cacti/rra/4122/102533.rrd sandvine_info_max:/usr/share/cacti/rra/4122/102533.rrd sandvine_info_rate:/usr/share/cacti/rra/4122/102533.rrd

but then that will sum up the 3 DS
Test
Almalinux
php 8.2.14
mariadb 10.6.16
Cacti 1.2.27
Spine 1.2.27
RRD 1.7.2
thold 1.8
monitor 2.5
syslog 3.2
flowview: 3.3
weathermap 1.0 Beta
User avatar
Howie
Cacti Guru User
Posts: 5508
Joined: Thu Sep 16, 2004 5:53 am
Location: United Kingdom
Contact:

Re: Cacti - WeatherMap - Link - Always Grey

Post by Howie »

This is not correct. You put DS names on the END of the target, and you MUST put two or zero:

Code: Select all

TARGET /usr/share/cacti/rra/4122/102533.rrd:sandvine_info_drop:sandvine_info_rate 
or use '-' for a DS name if you only want to use one:

Code: Select all

TARGET /usr/share/cacti/rra/4122/102533.rrd:sandvine_info_drop:- 
If you want to sum the 3 DS into the 'in' channel of the link, use the second one, three times in a row on the same TARGET line:

Code: Select all

TARGET /usr/share/cacti/rra/4122/102533.rrd:sandvine_info_drop:- /usr/share/cacti/rra/4122/102533.rrd:sandvine_info_max:- /usr/share/cacti/rra/4122/102533.rrd:sandvine_info_rate:- 
Rno wrote:Your DS report only this name:
sandvine_info_max,sandvine_info_drop,sandvine_info_rate

but by default DS need to report
traffic_in, traffic_out

so in front of your DS you have to put the name you want to use
TARGET sandvine_info_drop:/usr/share/cacti/rra/4122/102533.rrd sandvine_info_max:/usr/share/cacti/rra/4122/102533.rrd sandvine_info_rate:/usr/share/cacti/rra/4122/102533.rrd

but then that will sum up the 3 DS
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!)
pradeepspa
Cacti User
Posts: 67
Joined: Wed Nov 25, 2015 2:35 pm

Re: Cacti - WeatherMap - Link - Always Grey

Post by pradeepspa »

Wow that's a great explanation. So it looks like no way i could use 3 DS in weathermap. I am trying now with 2 and update you folks how it worked.
User avatar
Howie
Cacti Guru User
Posts: 5508
Joined: Thu Sep 16, 2004 5:53 am
Location: United Kingdom
Contact:

Re: Cacti - WeatherMap - Link - Always Grey

Post by Howie »

What are you expecting weathermap to do with the third one?

It takes one to use for the 'in' part of a link, and another one for the 'out' side of a link. Where are you expecting this third DS to be used?

If you just want all these 3 numbers to be added up and used as a single value, you can do that. Otherwise, I'm a bit confused what you are trying to achieve. I don't see why you'd want to add the max and avg values of the same thing, which seems to be what your DSes are.
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!)
pradeepspa
Cacti User
Posts: 67
Joined: Wed Nov 25, 2015 2:35 pm

Re: Cacti - WeatherMap - Link - Always Grey

Post by pradeepspa »

Attached is the graph am trying to add in weathermap. As you can see the graphs have three datasource to make it complete. Ths graph is not exactly related to inbound/outbound traffic. Saying that "sandvine_info_max" acts as a threshold for the graphs so I used the rest two DS as target and its works now.
Attachments
Capture.PNG
Capture.PNG (13.78 KiB) Viewed 3296 times
User avatar
Howie
Cacti Guru User
Posts: 5508
Joined: Thu Sep 16, 2004 5:53 am
Location: United Kingdom
Contact:

Re: Cacti - WeatherMap - Link - Always Grey

Post by Howie »

OK... I'd be interested in knowing what you would like to be drawn, in an ideal world though, if you have an idea. If it's something that other people also want, it can maybe be done!
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!)
pradeepspa
Cacti User
Posts: 67
Joined: Wed Nov 25, 2015 2:35 pm

Re: Cacti - WeatherMap - Link - Always Grey

Post by pradeepspa »

Sorry I don't understand quite well. You were asking what I did to make it work?
User avatar
Howie
Cacti Guru User
Posts: 5508
Joined: Thu Sep 16, 2004 5:53 am
Location: United Kingdom
Contact:

Re: Cacti - WeatherMap - Link - Always Grey

Post by Howie »

No, I wanted to know if you had a idea for a new feature.
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!)
Post Reply

Who is online

Users browsing this forum: No registered users and 2 guests