How can i see graphics in icinga2 with graphite?

Hi there, i can not see graphics in icings with graphite. But i can see graphics in Graphite-Browser.
my /etc/carbon/carbon.conf:

GRAPHITE_URL = http://127.0.0.1:8080

/etc/graphite/local_settings.py:

URL_PREFIX = ‘/graphite’

my /etc/apache2/sites-available/graphite-web.conf:

<VirtualHost *:8080>

    ServerAdmin webmaster@localhost
    ServerName graphite
    DocumentRoot "/usr/share/graphite-web/static"
    ErrorLog ${APACHE_LOG_DIR}/graphite-web_error.log
    # Possible values include: debug, info, notice, warn, error, crit, alert, emerg.
    LogLevel warn
    CustomLog ${APACHE_LOG_DIR}/graphite-web_access.log combinedv

    WSGIDaemonProcess _graphite processes=5 threads=5 display-name='%{GROUP}' inactivity-timeout=120 user=_graphite group=_graphite
    WSGIProcessGroup _graphite
    WSGIApplicationGroup %{GLOBAL}
    WSGIImportScript /usr/share/graphite-web/graphite.wsgi process-group=_graphite application-group=%{GLOBAL}
    WSGIScriptAlias / /usr/share/graphite-web/graphite.wsgi

    Alias /graphite/static/ /usr/share/graphite-web/static/

<Directory /usr/share/graphite-web/static/>
        <IfVersion < 2.4>
                Order deny,allow
                Allow from all
        </IfVersion>
        <IfVersion >= 2.4>
                Require all granted
        </IfVersion>
</Directory>

<Directory /etc/graphite/>
        <IfVersion < 2.4>
                Order deny,allow
                Allow from all
        </IfVersion>
        <IfVersion >= 2.4>
                Require all granted
        </IfVersion>
</Directory>

my /etc/icingaweb2/modules/graphite/config.ini

[graphite]
insecure = “1”
url = “http://wetterstation.communication:8080/graphite

[ui]
default_time_range = “1”
default_time_range_unit = “hours”
disable_no_graphs_found = “0”

[icinga]
graphite_writer_host_name_template = “icinga2.$host.name$.host.$host.check_command$”
graphite_writer_service_name_template = “icinga2.$host.name$.services.$service.name$.$service.check_command$”

maybe give me a little help. Sincelery Uwe

Output from add &graph_debug=1 in the Link:

### Graphs assembling process record

Solution:

Check /usr/lib/python3/dist-packages/graphite/local_settings.py

WHISPER_DIR = ‘/var/lib/graphite/whisper’

1 Like