no such template "tail"

446 views
Skip to first unread message

tbo...@nsone.net

unread,
Apr 27, 2017, 10:23:07 PM4/27/17
to Prometheus Users
Using the 1.6.1 docker image for prometheus, this is the error I'm seeing when trying to view the example console http:<hostname>:9090/consoles/index.html.example:

open consoles/index.html.example: no such file or directory

Here is how I started the docker container:

docker run --net host -d -v /prometheus-data:/prometheus-data prom/prometheus -config.file=/prometheus-data/prometheus.yml -alertmanager.url http://localhost:9093 -storage.local.path /prometheus-data/data

Just to confirm, I checked the flags from the UI:
web.console.librariesconsole_libraries
web.console.templatesconsoles
Am I doing something wrong?

tbo...@nsone.net

unread,
Apr 27, 2017, 10:23:59 PM4/27/17
to Prometheus Users, tbo...@nsone.net
Ummm, Ignore the title of the thread, I forgot to change that to reflect current reality.

Julius Volz

unread,
Apr 28, 2017, 8:29:38 AM4/28/17
to tbo...@nsone.net, Prometheus Users
This works fine for me, at least when doing just:

docker run -p 9090:9090 prom/prometheus:v1.6.1

...I can reach http://localhost:9090/consoles/index.html.example just fine and it displays the console templates.

--
You received this message because you are subscribed to the Google Groups "Prometheus Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to prometheus-users+unsubscribe@googlegroups.com.
To post to this group, send email to prometheus-users@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/prometheus-users/a695932c-0d2a-4f81-8ff5-4f51a7ed4613%40googlegroups.com.

For more options, visit https://groups.google.com/d/optout.

Tim Boring

unread,
Apr 28, 2017, 10:05:32 AM4/28/17
to Julius Volz, Prometheus Users
OK, thanks for confirming. Must be something locally then. I'll do some more digging.

On Fri, Apr 28, 2017 at 8:29 AM Julius Volz <juliu...@gmail.com> wrote:
This works fine for me, at least when doing just:

docker run -p 9090:9090 prom/prometheus:v1.6.1

...I can reach http://localhost:9090/consoles/index.html.example just fine and it displays the console templates.

On Fri, Apr 28, 2017 at 4:23 AM, <tbo...@nsone.net> wrote:
Ummm, Ignore the title of the thread, I forgot to change that to reflect current reality.

On Thursday, April 27, 2017 at 10:23:07 PM UTC-4, tbo...@nsone.net wrote:
Using the 1.6.1 docker image for prometheus, this is the error I'm seeing when trying to view the example console http:<hostname>:9090/consoles/index.html.example:

open consoles/index.html.example: no such file or directory

Here is how I started the docker container:

docker run --net host -d -v /prometheus-data:/prometheus-data prom/prometheus -config.file=/prometheus-data/prometheus.yml -alertmanager.url http://localhost:9093 -storage.local.path /prometheus-data/data

Just to confirm, I checked the flags from the UI:
web.console.librariesconsole_libraries
web.console.templatesconsoles
Am I doing something wrong?

--
You received this message because you are subscribed to the Google Groups "Prometheus Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to prometheus-use...@googlegroups.com.
To post to this group, send email to promethe...@googlegroups.com.
--
Tim Boring, DevOps Engineer
NS1

wizar...@gmail.com

unread,
Jun 21, 2017, 4:49:05 PM6/21/17
to Prometheus Users, tbo...@nsone.net
Run such command:

docker run --net host -d -v /prometheus-data:/prometheus-data prom/prometheus -config.file=/prometheus-data/prometheus.yml -alertmanager.url http://localhost:9093 -storage.local.path /prometheus-data/data -web.console.templates /usr/share/prometheus/consoles/ -web.console.libraries /usr/share/prometheus/console_libraries

Thus, I add only "-web.console.templates /usr/share/prometheus/consoles/ -web.console.libraries /usr/share/prometheus/console_libraries"

пятница, 28 апреля 2017 г., 5:23:07 UTC+3 пользователь tbo...@nsone.net написал:
Reply all
Reply to author
Forward
0 new messages