Collecting Share information from Harvest #2327
-
Is there a way to collect share properties data from Harvest. I don't see a yml for this. I am wondering if I am missing something. Can someone point me to it? Currently on harvest version 23.02.0-1 (commit 627311a) Essentially the outputs of the following commands vserver cifs share show |
Beta Was this translation helpful? Give feedback.
Replies: 6 comments 10 replies
-
hi @s-kuchi we added CIFS (SMB) templates and an SMB dashboard in |
Beta Was this translation helpful? Give feedback.
-
Hi @cgrinds : If it already exists in 23.05, then can you direct me to where they are located? Regarding upgrade to 23.08: I have some client_timeout values set on the yaml files in the /conf templates in 23.05, would i need to set the timeouts again after the upgrade? |
Beta Was this translation helpful? Give feedback.
-
@s-kuchi The templates related to CIFS in Harvest are as follows: CIFS Session Template Unfortunately, none of these templates cater to your specific requirement as Harvest does not currently collect this data. However, We can create a new template using the ZAPI In response to your question about client_timeout, it's important to note that if you've modified any templates provided with Harvest, these changes will be overwritten during upgrade. To avoid this, you may want to consider extending the templates instead. Please refer to the Zapi and Rest documentation for guidance on how to extend templates effectively. |
Beta Was this translation helpful? Give feedback.
-
Hi @rahulguptajss . I created the template and updated the default.yml, but I couldn't find it in Prometheus. Am I missing something?
|
Beta Was this translation helpful? Give feedback.
-
Hi @rahulguptajss . Here is the output. I ran the yaml file through a linter, and it looks good. Let me know if anything else is missing.
|
Beta Was this translation helpful? Give feedback.
-
@rahulguptajss : I still get some error messages but I see the output in Prometheus. Here is the log output
|
Beta Was this translation helpful? Give feedback.
I see. It appears we overlooked setting
share-name
as a key. Could you please test the following template?