VMware Cloud Community
JimKnopf99
Commander
Commander

Scoreboard XML

Hi,

ok. Let me explain my issue.

I wan´t to create my own interactive Scoreboard. So far so good.

I have created a copy of the sample scoreboard xml file for my settings.

Now i create a new dashboard and add my NetApp Systems as the beginning entry.

Clicking on one of my systems, a ressource widget start showing me my volumes. Exactly what i wan´t.

Now i add a scoreboard to highline my xml settings. That is also working as aspected.

But now, my problems start with the next ressource widget. I create an interaction between the Volume ressource and the new Lun ressource.

After clicking on the volume, the luns are displayed in the ressourc widged perfectly.

But i wan´t now a new scoreboard to highline stuff like lun latency, lun iops ....

I am searching the database to find the right attr_key, so that i am able to create my xml file. But, for an example, to highline total_ops for my luns, there is no attr_key file like it is for my volumes.

There is one, but it looks like luns:VolumeName|LunName|lun|total_ops

On Volume base, the same looks like volume|total_ops.

So i do not have to do any changes to the metric that i am looking for.

So i have to create an xml file where the Volumename|LunName thing is automaticly filled up from the ressource that i choose.

Or is it impossible to create such an xml file?

Thanks

Frank

If you find this information useful, please award points for "correct" or "helpful".
0 Kudos
12 Replies
mark_j
Virtuoso
Virtuoso

This is doable.. create the resource interaction file for it and assign to a metric graph/sparkline/generic scoreboard. Pass the "resource" via the interaction, not a metric, and the receiving widget will show the metrics from the res int file.

We do these RIFs pretty often and actually I've done the scenario you describe here using the NetApp adapter, albeit I used different widgets.

If you find this or any other answer useful please mark the answer as correct or helpful.
0 Kudos
JimKnopf99
Commander
Commander

Hi,

thanks for that. But is it possible to create a metric or scoreboard that shows me the informations that i wan´t?

Not the standard stuff.

Frank

If you find this information useful, please award points for "correct" or "helpful".
0 Kudos
mark_j
Virtuoso
Virtuoso

You said you were looking for the attrkey for your LUN. Is the problem that you can't find it or that it doesn't exist? Is the metric there in the general metric browser.. ? E.g. can you freely navigate the resource details and find the metric?

If you find this or any other answer useful please mark the answer as correct or helpful.
0 Kudos
JimKnopf99
Commander
Commander

Hi,

i could. But not globaly. It´s only available for each lun. Not like the volume keys. That are global keys. Available for all underlying volume values. I think that is the different.

Also i wan´t to now how to find out the value for the unit that i have to create in the xml file. If i do not know if it is MB or GB or per second.

How do i know what value i have to use?

Thanks

Frank

If you find this information useful, please award points for "correct" or "helpful".
0 Kudos
mark_j
Virtuoso
Virtuoso

I think I'm starting to get what you're saying. The attributes you're look for are instantiated, however the describe/adapter config isn't configured to interpret them as instantiations. The result is, if you go to the attribute package for the netapp LUNs, you see a TON of unique names for the LUNs, right? Please confirm. Send a screenshot of the instantiated/unique items on the attrib package list if you can so that we can confirm.. We can CC BM folks to check it out on their end if we get this nailed down, as this could/should be addressed on the dev side IF this is what I think it is..

If you find this or any other answer useful please mark the answer as correct or helpful.
JimKnopf99
Commander
Commander

Right, i guess now we have it 🙂

I see the attributes only for all of my luns. But not globally. That the issue.

Here is a picture of what i am seeing.

attr.JPG

Frank

If you find this information useful, please award points for "correct" or "helpful".
0 Kudos
mark_j
Virtuoso
Virtuoso

Would you mind also grabbing a screenshot of the attribute package for your NetApp LUNs showing the instance names populating the attribute lists? From the Custom UI, not a postgres query. Something that shows specific instances of your LUNs, not the derived roll-ups.

If you find this or any other answer useful please mark the answer as correct or helpful.
0 Kudos
JimKnopf99
Commander
Commander

Hi,

i am not sure what exactly you wan´t. Is it that what you are thinking of?

attr1.JPG

Frank

If you find this information useful, please award points for "correct" or "helpful".
0 Kudos
mark_j
Virtuoso
Virtuoso

OK, it IS instantiated then by the adapter - good. The adapter is fine, you just need to select the proper attribute. If you see a ":" character, that means you're going in to an instance of the parent attribute group, which isn't what you want for a RIF. You need to carve off the instance to arrive at the proper attrkey name.. e.g. for luns|lun|throughput .. so when you run your postgres query, look for that key specifically or add a NOT '%:%' to eliminate all rows containing that character, thereby eliminating your instances (which you don't want usually).

If you find this or any other answer useful please mark the answer as correct or helpful.
JimKnopf99
Commander
Commander

Hi,

i adapt the query to not show me the keys with a ":". But there is no usable information left.

I guess what i wan´t is not possible.

Anyway. Thanks for helping me to understand this monster Smiley Wink of vcops better.

Frank

If you find this information useful, please award points for "correct" or "helpful".
0 Kudos
mark_j
Virtuoso
Virtuoso

What is the postgres query you're running

If you find this or any other answer useful please mark the answer as correct or helpful.
0 Kudos
JimKnopf99
Commander
Commander

Hi,

thats my query

select a.ADAPTER_KIND_ID, a.ADAPTER_KEY, b.RESKND_ID, b.RESKND_KEY, e.ATTRKEY_ID, e.ATTR_KEY

from AdapterKind a

inner join ResourceKind b on (b.ADAPTER_KIND_ID = a.ADAPTER_KIND_ID)

inner join AliveResource c on (c.RESKND_ID = b.RESKND_ID)

inner join ResourceAttributeKey d on (d.RESOURCE_ID = c.RESOURCE_ID)

inner join AttributeKey e on (e.ATTRKEY_ID = d.ATTRKEY_ID)

where a.ADAPTER_KEY = 'NetAppAdapter' or b.RESKND_KEY = 'NetAppLun' and NOT e.ATTR_KEY = '%:%'

Frank

If you find this information useful, please award points for "correct" or "helpful".
0 Kudos