-
Notifications
You must be signed in to change notification settings - Fork 5.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Update the vSphere / VSAN Extention with a Variable for the Polling Intervall ( New Feature in vSAN 8 U1 , 30sec ) #13880
Comments
@srebhan Im having Problem in starting Telegraf . Errorcode below
|
The Config changes dont work as intended , as the Interval can be set but the Metrics still reflect only a 300 Sec Time Interval ? |
@Muy69 please provide the actual telegraf logs. If you are running it as a service then you need to use something similar to the below:
|
Telegraf Version : 1.28.1-1 #journalct --no-pager --unit telegraf Sep 15 12:33:14 cidtsttele02 telegraf[4857]: 2023-09-15T12:33:14Z E! [inputs.vsphere] [vSAN] Error querying performance data for WLC-120: cmmds-workload: ServerFaultCode: A specified parameter was not correct: entityRefId. # Read metrics form VMware vCenter[[inputs.vsphere]] insecure_skip_verify = true vm_metric_exclude = [""] # Exclude realtime metrics vsan_metric_include = [ "performance.*" ] #vsan_metric_skip_verify = true vsan_cluster_include = ["/*/host/WLC-120" ] #max_query_metrics = 256 historical_interval = "60s" |
Could it be that there is another Entry with 300 hard coded Timerange ? vsphere.go ( Line 184 ) func init() { |
Is that info sufficient ? @powersj The current govmomi supports now vsphere up to 8u1c . |
Use Case
In a vSAN ESA Cluster ( vSAN 8 U1 ) the usage of a Polling Intervall of 30Sec helps greatly in peak Situation , as the 5Minute is too long for a good Look inside the Storage Data .
https://core.vmware.com/blog/high-resolution-performance-monitoring-vsan-8-u1
Expected behavior
Some kind of variable or a Flag to determain that an vSAN 8 U1 or above is used .
Actual behavior
Currently a hard coded 300s Intervall is set. ( endpoint.go , Line 248 )
"vsan": {
name: "vsan",
vcName: "ClusterComputeResource",
pKey: "clustername",
parentTag: "dcname",
enabled: anythingEnabled(parent.VSANMetricExclude),
realTime: false,
sampling: 300,
objects: make(objectMap),
filters: newFilterOrPanic(parent.VSANMetricInclude, parent.VSANMetricExclude),
paths: parent.VSANClusterInclude,
simple: parent.VSANMetricSkipVerify,
include: parent.VSANMetricInclude,
collectInstances: false,
getObjects: getClusters,
parent: "datacenter",
Additional info
If you need testing , I would like to offer my help .
vSAN 8 u1 ( VSAN ESA )
The text was updated successfully, but these errors were encountered: