#NAbox4 - how to enable disabled templates?

1 messages · Page 1 of 1 (latest)

fervent ingot
#

I've been trying to find instructions for how to enable disabled templates like "CIFSSession" to get the associated data to be collected by Harvest and displayed in Grafana.

Is there such an instruction out there for when using NAbox and would that configuration change persist through NAbox/Harvest upgrades?

The templates seems to always be disabled because of performance reasons so is there any way to loosely quantify what "large" means in "large number of metrics" and the performance impact of it? 😅

white hull
#

Are you using NABox4?

fervent ingot
white hull
#

Are you using Rest or Zapi?

fervent ingot
#

I assume Rest whenever possible but if I never made that choice, how do I know?

white hull
#

You will find the selection on cluster edit page in UI

#

I'll share steps with you shortly to enable for both.

fervent ingot
#

Thanks! But when do I need Zapi vs. Rest?

white hull
fervent ingot
#

The clusters are all added as "Auto" btw.

#

But we are running modern Ontap so I guess we are using Rest then.

white hull
#

Let me check what auto means in NABox

#

@tight badger Could you confirm what Auto means in Zapi/Rest context?

tight badger
#

Auto means Rest or Zapi based on ONTAP version, let me check the exact version

#

= 9.12 is REST

fervent ingot
#

Then we are absolutely using Rest

#

But regarding the performance impact, are there any guidelines or just simply too hard to tell?

white hull
#

There is a significant impact when there are too many CIFSSession metrics being collected. These metrics include the client_ip, which results in the generation of many different time series for VictoriaMetrics. A time series database is not optimized for handling such a large number of time series efficiently.

fervent ingot
#

And when you say "too many" and "large number", are we talking 1000 or million etc.?

white hull
fervent ingot
#

I guess I won't get any ballpark numbers and just have to test each relevant template in our environment and see if we have performance issues or not.
Will try your instruction, thank you.

fervent ingot
#

Is there a way to clean up the extra data generated by the template if I notice there's a performance issue?

white hull
fervent ingot
#

Is the series name the same as the template name?

white hull
#

It should be
cifs_session_connection_count and cifs_session_labels

fervent ingot
#

Ok thanks!
I tried looking into the dashboard sections with "Edit" but it is just throwing me an "An unexpected error happened" error.

white hull
#

Could you share NABox version?

fervent ingot
#

Still on 4.0.8 but with latest Harvest.

white hull
#

Okay. Editing dashboards in NABox is enabled only in 4.0.9

#

You need to upgrade