OK thank you this is the output. Here the logs from the Service which does not provide a graph:
2025-11-28T15:51:29+01:00 - DEBUG - Used IcingaDB as database backend
2025-11-28T15:51:29+01:00 - DEBUG - Loaded Perfdata Graphs module configuration to get Hook
2025-11-28T15:51:29+01:00 - DEBUG - Loaded Perfdata Graphs InfluxDBv2 module configuration to get Config
2025-11-28T15:51:29+01:00 - DEBUG - Calling query API at ``http://localhost:8086/api/v2/query`` with count query: {“stream”:true,“headers”:{“Authorization”:“Token ”,“Content-Type”:“application/json”,“Accept”:“application/csv”},“query”:{“org”:“”},“json”:{“query”:“from(bucket: "icinga/default")|> range(start: 1764298289)|> filter(fn: (r) => r._measurement == "Invoke-IcingaCheckDirectory")|> filter(fn: (r) => r["hostname"] == "example.local")|> filter(fn: (r) => r["service"] == "Windows Directory C:\AEP\Spool\test")|> count()”,“type”:“flux”,“dialect”:{“header”:true,“delimiter”:“,”,“annotations”:[“datatype”,“group”,“default”],“commentPrefix”:“#”}}}
2025-11-28T15:51:39+01:00 - DEBUG - Loaded Perfdata Graphs module configuration to get Config
2025-11-28T15:51:39+01:00 - DEBUG - Found no data in cache for c3ZpZTAxMjMudmllMDEubG9jYWxXaW5kb3dzIERpcmVjdG9yeSAgQzpcQUVQXFNwb29sXEdlc3VuZGhlaXRzbW9uaXRvcmluZ0ludm9rZS1JY2luZ2FDaGVja0RpcmVjdG9yeVBUMTJIZmFsc2U=
2025-11-28T15:51:39+01:00 - DEBUG - Used IcingaDB as database backend
And here a request with a working Perfdatagraph as comparison:
2025-11-28T15:57:23+01:00 - DEBUG - Calling query API at ``http://localhost:8086/api/v2/query`` with query: {“stream”:true,“headers”:{“Authorization”:“Token <TOKEN>”,“Content-Type”:“application/json”,“Accept”:“application/csv”},“query”:{“org”:“<ORG>”},“json”:{“query”:“from(bucket: "icinga/default")|> range(start: 1764298643)|> filter(fn: (r) => r._measurement == "uptime-windows")|> filter(fn: (r) => r["hostname"] == "example.local")|> filter(fn: (r) => r["service"] == "Uptime")|> map(fn: (r) => ({r with warn: if exists r.warn then r.warn else "", crit: if exists r.crit then r.crit else ""}))|> pivot(rowKey:["_time"], columnKey: ["_field"], valueColumn: "_value")|> sort(columns: ["_time"])|> keep(columns: ["_time", "value", "warn", "crit", "unit", "host", "service", "metric"])”,“type”:“flux”,“dialect”:{“header”:true,“delimiter”:“,”,“annotations”:[“datatype”,“group”,“default”],“commentPrefix”:“#”}}}
Can you maybe create the same check Invoke-IcingaCheckDirectory and verify if the graph is working for you in this case?