Closed lzap closed 7 years ago
Hey @natoscott is it possible that there was a regression in the web API in RHEL 7.4? It used to work when I tried this during the summer.
@lzap not that I'm aware of. vector-1.1.0 is working fine for me with just released pcp-3.12.2 too FWIW.
My bad, I was entering the hostname into hostspec. I am no UX expert, but the dropdown (plus) seemed like empty container. Sorry for the noise.
The top level index.html file that comes with the bundled pcp webapps includes a startup link into vector that fills in a valid hostname/hostspec. A snippet of javascript adds the appropriate #?host=HOSTNAME
querystring to the URL.
Thanks. I always have localhost there, which does not work.
same here running vector v1.1.0-3-gc851eac from tar.gz and same version in repo pcp centos7 package 3.11.8-1
only debug info i got is this
vendor.js:21994 No external container name resolver defined.
You need to enter hostname into proper UI field, it's little bit confusing UI for me.
@lzap any suggestions on how to make it a bit more easy?
No idea, sorry. This works for me, I am casual Vector user.
Trying to figure out if there are better ways to structure the UI. The pair hostname/hostspec makes sense if know PCP well, but maybe not to others. ;-)
Consider making the 'hostspec' (target context host) part the primary visible text field in the UI, naturally defaulting to 'localhost', but putting emphasis on the resulting pmcd.hostname text. The 'hostname' (pmwebd relay) could be inferred by default from the web page's document.url by heuristic. (add port :44323 etc.); make it overrideable via popup or something non-emphasized.
Hello, I installed PCP 3.11.8-1 from CentOS 7.4 and downloaded Vector 1.1.0, unpacked and started pcp-webd but in the UI I am getting this error when I attempt to enter hostname of my host (localhost shows nothing there):
Nothing in particular with "-v" flag there:
I tried with both vector 1.1.0 "vanilla" and with
pcp-webapp-vector
package from RHEL 7.4.