howardjones / network-weathermap

Network Weathermap draws diagrams from data
http://www.network-weathermap.com/
MIT License
425 stars 94 forks source link

ProcessTargets' "Not recognised as a valid TARGET" warning prints processed target string #20

Closed ruanoj closed 9 years ago

ruanoj commented 9 years ago

Warning text where any tokens have been already substituted is more useful to identify what bit on the target is wrong (e.g. if RRD file, wrong filename).

For example, $target[4] may contain "{link:this:name}.rrd", whereas $targetString would contain the string after substitution (e.g. "router1-interface-ae0.rrd")