Looking at the source of that dashboard, all the queries are filtered 
against
{job=~'$JobName',instance=~'$Device'

and the way the JobName values are chosen is from this query:

        "name": "JobName",
        "options": [],
        "query": {
          "query": "label_values(ssCpuUser, job)",
          "refId": "StandardVariableQuery"
        },

I have no idea what the "ssCpuUser" metric is, but if you're not collecting 
that metric, this dashboard won't show you anything.

It looks like it's a vendor-specific MIB from the net-snmp (ucdavis) MIB 
tree:
https://kb.synology.com/en-af/DG/Synology_DiskStation_MIB_Guide/4

On Tuesday 10 September 2024 at 19:49:15 UTC+1 Mitchell Laframboise wrote:

> I am using a published dashboard 
> https://grafana.com/grafana/dashboards/14284-synology-nas-details/
>
> I will try your suggestion about opening the panels and running the 
> queries.
>
> Thanks for the lead
>
> On Tuesday, September 10, 2024 at 2:43:23 PM UTC-4 Brian Candler wrote:
>
>> If you're "getting metrics returned" then either the dashboard is broken, 
>> or the metrics you're collecting are not the same as the ones the dashboard 
>> is expecting, or the dashboard has some hard-coded assumptions that don't 
>> match your environment (e.g. the queries are hard-coded to expect 
>> particular labels, such as job name)
>>
>> You can simply open the panels in Grafana, copy the queries into the 
>> Prometheus web interface, and try them there. If they give no results, then 
>> you need to drill down why (are the metrics missing, or the label matchers 
>> wrong, or something else about the query?)
>>
>> On Tuesday 10 September 2024 at 19:41:22 UTC+1 Brian Candler wrote:
>>
>>> Which dashboard? Did you write it yourself, or find one published? There 
>>> aren't many snmp_exporter dashboards on the grafana hub, but I see several 
>>> that claim to be for Synology.
>>>
>>> I made a couple for simple ones for generic if_mib (interface stats):
>>> https://grafana.com/grafana/dashboards/12492-snmp-interface-detail/
>>> https://grafana.com/grafana/dashboards/12489-snmp-device-summary/
>>>
>>> On Tuesday 10 September 2024 at 17:59:24 UTC+1 Mitchell Laframboise 
>>> wrote:
>>>
>>>> Hi,
>>>>
>>>>    I have installed snmp_exporter and enabled snmp on my NAS.  The job 
>>>> is running and up in Prometheus and im getting metrics returned  but Im 
>>>> unable to get data on my Synology Details Dashboard in Grafana??  
>>>>
>>>> Can someone please help
>>>>
>>>>
>>>>

-- 
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 [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/prometheus-users/6e70b91f-ccbb-4f54-b069-40f5a1df1028n%40googlegroups.com.

Reply via email to