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.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
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
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
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.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]
Any ideas?
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.