You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm using sexigraf 0.99c, vCenter 6.5 and i have a mix environment with Cluster and non-Cluster servers.
Because of that i can't run some query when i need to sum up Cluster and non-cluster values.
Example: i created the basic following query that count the number of ESX in a datacenter:
#A - countSeries(esx..$Department*..quickstats.overallStatus)
#B - countSeries(vmw..$Department..esx..quickstats.overallStatus)
#C - sumSeries(#A,#B)
I templated $Department with custom values that can be found in the datacenter name.
If my datacenter contain only Cluster environment OR non-cluster environment, the query fails because #A or #B is null.
If my datacenter contain a mix of both, then it's working.
I've tried everything to not count if series #A or #B is null with remove*Value, transformNull. I've tried setting a value mapping of 1 if value is null, and then using useSeriesAbove with 0.
The same issue can be reproduced in the default Flambx dashboard, in the template values if you select an ESX outside a cluster, then the singlestat "# ESXi" or "# VMs" won't update (because the query is only with vmw).
Please advice if you can help me build a query that would fix the issue or if it's a bug.
Thanks in advance,
Benjamin.
The text was updated successfully, but these errors were encountered:
Hello,
I'm using sexigraf 0.99c, vCenter 6.5 and i have a mix environment with Cluster and non-Cluster servers.
Because of that i can't run some query when i need to sum up Cluster and non-cluster values.
Example: i created the basic following query that count the number of ESX in a datacenter:
#A - countSeries(esx..$Department*..quickstats.overallStatus)
#B - countSeries(vmw..$Department..esx..quickstats.overallStatus)
#C - sumSeries(#A,#B)
I templated $Department with custom values that can be found in the datacenter name.
If my datacenter contain only Cluster environment OR non-cluster environment, the query fails because #A or #B is null.
If my datacenter contain a mix of both, then it's working.
I've tried everything to not count if series #A or #B is null with remove*Value, transformNull. I've tried setting a value mapping of 1 if value is null, and then using useSeriesAbove with 0.
The same issue can be reproduced in the default Flambx dashboard, in the template values if you select an ESX outside a cluster, then the singlestat "# ESXi" or "# VMs" won't update (because the query is only with vmw).
Please advice if you can help me build a query that would fix the issue or if it's a bug.
Thanks in advance,
Benjamin.
The text was updated successfully, but these errors were encountered: