Graphite missing services

This forum was archived to /woltlab and is now in read-only mode.
  • Hello :)

    I have verry strange problem with graphite. When I add my Windows host with services for windows everything is perfect on IcingaWeb2 side. But I can't see the windows services in GraphiteWeb. I make the configuration from Icinga Director. Also the perfdata feature is disabled.

    This the host from IcingaWeb:

    [Blocked Image: https://s15.postimg.org/nbrn86197/wqwq.png]



    This is the GraphiteWeb side:


    [Blocked Image: https://s12.postimg.org/ixycz1q8d/2323.png]

    If everything works fine, just don't touch it ! :)

  • Ensure that the executed plugin provides performance data. Verify if there are any warnings inside the icinga2.log which could help analyse the issue. Might also be a good idea to enable the debug log and grep for "GraphiteWriter" to see whether those metrics are actually pushed.


    Well, and a common mistake - carbon cache has a rather small maximum of default creates/updates per second or minute (iirc 500), so it might be the case that metrics are cached but not actually written into the whisper backend.


    I've modified that e.g. inside the Vagrant box inside the Puppet class.

    https://github.com/Icinga/icin…manifests/default.pp#L536


    Look for MAX_UPDATES_PER_SECOND and MAX_CREATES_PER_MINUTE in your carbon cache config.

  • I have checked the icinga2.log and everything is fine. After that I grep-ed the debug.log I I don't see info about other services for host " WinMon". I changed the MAX_UPDATES_PER_SECOND to 10000, MAX_CREATES_PER_MINUTE =1000. The real problem was in the configuration of the service from the Director module. In Check Execution properties the option "Process performance data" must be set to --please choose -- (very strange). Now I have data in GraphiteWeb, but I dont have data in IcingaWeb.

    [Blocked Image: https://s24.postimg.org/6vdxzb3j9/2323.png]


    [Blocked Image: https://s4.postimg.org/ooogq2yel/wqwq.png]

    If everything works fine, just don't touch it ! :)

    The post was edited 2 times, last by emskia ().

  • I'd investigate on the apache logs if there's an error when refreshing the view. It could also happen, that your host configuration for graphite web is wrong or not reachable and the view just hangs.


    Is Icinga Web 2 and Graphite Web located on the same host? Please also show your graphite module's configuration (web screenshot or /etc/icingaweb2/modules/graphite/config.ini)

  • Yes the IcingaWeb and GraphiteWeb are on the same host with different ports. This is my configuration of /etc/icingaweb2/modules/graphite/config.ini

    Code
    1. [graphite]
    2. web_url = http://192.168.5.103:8000

    If everything works fine, just don't touch it ! :)