Idiot lights

Support questions about the Network Weather Map plugin

Moderators: Developers, Moderators

User avatar
Howie
Cacti Guru User
Posts: 5508
Joined: Thu Sep 16, 2004 5:53 am
Location: United Kingdom
Contact:

Post by Howie »

streaker69 wrote:Howie,

I'm seeing an odd issue with following the example for converting C to F on the target line of the config.

Here's an excerpt of my config

Code: Select all

NODE BE_SVR_MB
        TEMPLATE UPStemp
        INFOURL /graph.php?rra_id=all&local_graph_id=519
        OVERLIBGRAPH /graph_image.php?rra_id=0&graph_nolegend=true&graph_height=100&graph_width=300&local_graph_id=519
        TARGET scale:1.8:/var/www/html/rra/62/625.rrd:mb_temp_qry:mb_temp_qry + static:32:32
        POSITION 250 250
Which is pretty similar to the previous examples, but when the map is created, it displays the correct values, but I continually get errors in the log:

Code: Select all

08/11/2009 12:00:34 PM - WEATHERMAP: Poller[0] WARNING: [Map 8] test.conf: ReadData: NODE HOST, target: scale:1.8:/var/www/html/rra/62/625.rrd:mb_temp_qry:mb_temp_qry + static:32:32 on config line 40 was not recognised as a valid TARGET [WMWARN08]
I'd like to try to resolve this so that cacti stops kvetching about errors on the maps. I've tried to enclose the target value in double quotes per the documentation but when that is done, the map only displays zeros for that target.

Any ideas?
There's no +. If there were a plus, it would need to be hard against the following sub-target, like the - and * need to be. But there isn't.

With the target in quotes (if you mean the whole line in one set of quotes) then it will try and treat the entire string as a single target, which will also not work, but for slightly different reasons.

It would be a good thing if the error message told you which of the sub-targets was not recognised as a valid target. I'll try and remember that.
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!)
User avatar
streaker69
Cacti Pro User
Posts: 712
Joined: Mon Mar 27, 2006 10:35 am
Location: Psychic Amish Network Administrator

Post by streaker69 »

Ok, if there is no plus, then how does it work to do the calculation?

I was following the post right before mine that shows there's a plus in there, and no one said it didn't work.

What would the correct format be?
[b]Cacti Version[/b] - 0.8.7d
[b]Plugin Architecture[/b] - 2.4
[b]Poller Type[/b] - Cactid v
[b]Server Info[/b] - Linux 2.6.18-128.1.6.el5
[b]Web Server[/b] - Apache/2.2.3 (CentOS)
[b]PHP[/b] - 5.2.9
[b]MySQL[/b] - 5.0.45-log
[b]RRDTool[/b] - 1.3.0
[b]SNMP[/b] - 5.3.2.2
[b]Plugins[/b]PHP Network Managing v0.6.1, Global Plugin Settings v0.6,thold v0.4.1,XMLPort v0.3.5,CactiCam v0.1.5,NetTools v0.1.5,pollperf v0.32,RRD Cleaner v1.1,sqlqueries v0.2,superlinks v0.8,syslog v0.5.2,update v0.4,discovery v0.9,zond v0.34a,hostinfo v0.2,Bloom v0.6.5,mactrack v1.1,weathermap v0.96a,mobile v0.1
User avatar
Howie
Cacti Guru User
Posts: 5508
Joined: Thu Sep 16, 2004 5:53 am
Location: United Kingdom
Contact:

Post by Howie »

streaker69 wrote:Ok, if there is no plus, then how does it work to do the calculation?

I was following the post right before mine that shows there's a plus in there, and no one said it didn't work.

What would the correct format be?
Just leave out the plus. If you had a series of targets in a row, separated by spaces, then they are added. The other stuff is all the special non-adding stuff.
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!)
User avatar
streaker69
Cacti Pro User
Posts: 712
Joined: Mon Mar 27, 2006 10:35 am
Location: Psychic Amish Network Administrator

Post by streaker69 »

That done diddily fixed it. Thanks!
[b]Cacti Version[/b] - 0.8.7d
[b]Plugin Architecture[/b] - 2.4
[b]Poller Type[/b] - Cactid v
[b]Server Info[/b] - Linux 2.6.18-128.1.6.el5
[b]Web Server[/b] - Apache/2.2.3 (CentOS)
[b]PHP[/b] - 5.2.9
[b]MySQL[/b] - 5.0.45-log
[b]RRDTool[/b] - 1.3.0
[b]SNMP[/b] - 5.3.2.2
[b]Plugins[/b]PHP Network Managing v0.6.1, Global Plugin Settings v0.6,thold v0.4.1,XMLPort v0.3.5,CactiCam v0.1.5,NetTools v0.1.5,pollperf v0.32,RRD Cleaner v1.1,sqlqueries v0.2,superlinks v0.8,syslog v0.5.2,update v0.4,discovery v0.9,zond v0.34a,hostinfo v0.2,Bloom v0.6.5,mactrack v1.1,weathermap v0.96a,mobile v0.1
Post Reply

Who is online

Users browsing this forum: No registered users and 2 guests