Matrix DashBoard Query

On the Matrix tile, am trying to add a column to display % Free Space for D: & C: Drive. However, only data from C: Drive is being displayed for both the columns.

Did anyone else have this

Capture.jpg

issue or am I missing something here.

===================

{
“_type”: “celltile/scomperf-as-sparkline”,
“config”: {
“display”: {
“labelTemplate”: “{{ ( value ? Math.round(value) : ‘0’ ) }}%”
},
“source”: {
“countername”: “% Free Space”,
“objectname”: “LogicalDisk”,
“Instance”: “C:”
}
},
“title”: “% Free Logical Disk (C:)”
},
{
“_type”: “celltile/scomperf-as-sparkline”,
“config”: {
“display”: {
“labelTemplate”: “{{ ( value ? Math.round(value) : ‘0’ ) }}%”
},
“source”: {
“countername”: “% Free Space”,
“objectname”: “LogicalDisk”,
“Instance”: “D:”
}
},
“title”: “% Free Logical Disk (D:)”
}
]

I tested your script but I got the values from D: for both instead.
I also tried another counter (network interface) and got the same phenomena. Only one instance is dispayed.

I´m using the latest version of Squaredup. Maybe it is a bug?

I saw the same thing from here.

Three instances of servers, two defaulting to a C drive for both disks the other one using D for both.

Having traced back the SQL queries I believe that this is pulling the data for both disks, so potentially it’s jumping on the first disk returned and only responding with that? Not sure for certain.

I’ve raised this as a ticket for as I suspect this is a bug. Hopefully we will be able to get it investigated and then resolved!

To follow up on this, it turns out that the parameter name in the JSON for the instance is ‘instancename’

That fixed it. Thx for posting your comments.