No graphite charts shown in icingaweb2

I am currently in the evaluation phase of icinga2, icingaweb2, director, graphite, … .
I can’t see charts in Icingaweb2. Only the message “Could not resolve host: icingaweb2” is displayed.


Modules / Version

  • Icinga2 r2.13.7-1
  • Icinga Web 2 Version 2.11.4
  • director 1.10.2
  • doc 2.11.4
  • graphite 1.2.2
  • incubator 0.20.0
  • monitoring 2.11.4
  • PHP 7.4.33
  • Firefox 111.0
  • System information:
  • Platform: Debian GNU/Linux
  • Platform version: 11 (bullseye)
  • Kernel: Linux
  • Kernel version: 5.10.0-21-amd64
  • Architecture: x86_64

Icinga2, icingaweb2 and host work and collect data and send it to Graphite. I verified this via Graphite Web. I can also view the graphite data in Grafana. So I would say everything works except for the visualization of graphite diagrams in icingaweb2.

I hope someone can give me a tip to solve my problem.

Thank you


Just a guess:
Can icingaweb2 be resolved from the icingaweb host?
“Graphite Web URL” seems to point to this graphite-host.


Thanks for your reply.
Now i am one step further.

I am still not seeing charts, but now i can print out debug information:

I have copy & paste the url in Firefox:


and no results is cumming back.

If i remove the double quotes around then i receive data but no values.

I think it is a configuration problem at graphite/templates. I am using the default / original templates which were delivered by installation.

Sorry for my bad english

I could solve it by myself:
It was copy&paste mistake in the file:


I have double double quoted the values of “graphite_writer_host_name_template” and “graphite_writer_service_name_template”


graphite_writer_host_name_template = ""icinga2.$$.host.$host.check_command$""
graphite_writer_service_name_template = ""icinga2.$$.services.$$.$service.check_command$""


graphite_writer_host_name_template = "icinga2.$$.host.$host.check_command$"
graphite_writer_service_name_template = "icinga2.$$.services.$$.$service.check_command$"

Thanks for help