From f95276451dfa66331caba94e10c1409f67fe2aa5 Mon Sep 17 00:00:00 2001 From: Hardikl <83282894+Hardikl@users.noreply.github.com> Date: Mon, 22 Jul 2024 11:28:21 +0530 Subject: [PATCH] feat: update qtree template doc - collect quotas when no qtrees (#3056) * feat: update qtree template doc - collect quotas when no qtrees * feat: update qtree template doc - collect quotas when no qtrees * feat: handled review comments --- conf/rest/9.12.0/qtree.yaml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/conf/rest/9.12.0/qtree.yaml b/conf/rest/9.12.0/qtree.yaml index 1025163f6..309ac5129 100644 --- a/conf/rest/9.12.0/qtree.yaml +++ b/conf/rest/9.12.0/qtree.yaml @@ -1,3 +1,5 @@ +# If you need to collect quotas from a cluster that has no qtrees, remove the filter lines below. +# Refer https://github.com/NetApp/harvest/discussions/3057 for more details. name: Qtree query: api/storage/qtrees object: qtree @@ -11,7 +13,7 @@ counters: - ^export_policy.name => export_policy - ^security_style => security_style - id => id - - filter: + - filter: # If you need to collect quotas from a cluster with no qtrees, remove this line and the next one. - name=!"" @@ -23,7 +25,7 @@ endpoints: - ^^vserver => svm - ^oplock_mode => oplocks - ^status => status - - filter: + - filter: # If you need to collect quotas from a cluster with no qtrees, remove this line and the next one. - qtree=!"" plugins: - Qtree: