[ZBX-24499] config.vpxd.stats.maxQueryMetrics' is invalid or exceeds the maximum number of characters permitted** Created: 2024 May 16  Updated: 2024 Oct 24  Resolved: 2024 May 21

Status: Closed
Project: ZABBIX BUGS AND ISSUES
Component/s: Proxy (P)
Affects Version/s: 7.0.0rc1
Fix Version/s: None

Type: Problem report Priority: Trivial
Reporter: patrik uytterhoeven Assignee: Edgar Akhmetshin
Resolution: Known Error Votes: 1
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Duplicate

 Description   

Steps to reproduce:

  1. vcenter 8.0.1
  2. configure zabbix vmware monitoring 
  3. add debug for vmware
  4. this message will come in the logs
  5. the value in our case for maxQueryMetrics is 256
  6. monitor with zabbix proxy sqlite 7.0 rc 1

it was already fixed in ticket 

ZBX-14775

but in 7.0 rc1 it seems to be broken atleast when i monitor by proxy



 Comments   
Comment by dimir [ 2024 May 17 ]

MVekslers, possible regression?

Comment by Michael Veksler [ 2024 May 17 ]

Hi,

The maxQueryMetrics is required to determine max number of DS prefcounters per request. But starting from vc6.0 this parameter is not configured out of the box. The VC uses default values (64 for vc60 and 256 for any new vc)

But vmware still keep ability to change this value via configuration of system.

At the result, we check the value of maxQueryMetrics and if we can't obtain the value, we write info to the log file as Debug entry (not an error or warning).

In short - this is normal behavior. (and hasn't changed for many years)

<edgar.akhmetshin>: "the value in our case for maxQueryMetrics is 256"

Comment by patrik uytterhoeven [ 2024 May 20 ]

So was the value in our case.

thats why I was confused . The msg here implies that the number is invalid or that something else is wrong.

Comment by Edgar Akhmetshin [ 2024 May 20 ]

Hello Patrik,

Please confirm if value maxQueryMetrics is set manually or just a default value? Could you set it manually to the same level and test once again?

Regards,
Edgar

Comment by Edgar Akhmetshin [ 2024 May 21 ]

https://www.zabbix.com/documentation/6.4/en/manual/vm_monitoring#troubleshooting :

To support datastore capacity metrics, ensure that the value of the VMware vpxd.stats.maxQueryMetrics key is set to at least 64. For more information, see the VMware Knowledge Base article.

Comment by patrik uytterhoeven [ 2024 May 21 ]

hi,

its defined in our system in the file web.xml and is 256

 

so if zabbix cannot detect this value how will it set the max number of DS prefcounters

 

edgar.akhmetshin  that url is not working there is a : at the end

 

 

Comment by Michael Veksler [ 2024 Jun 05 ]

Hi @patrik uytterhoeven,

Did you do it in both places as described in https://knowledge.broadcom.com/external/article?legacyId=2107096

?

Comment by patrik uytterhoeven [ 2024 Jun 05 ]

no i am not able/allowed to change this parameter

thats why i was interested how zabbix would behave if it cannot detect this value

Comment by Michael Veksler [ 2024 Jun 06 ]

We set the default values

Generated at Sun Jun 08 07:22:44 EEST 2025 using Jira 9.12.4#9120004-sha1:625303b708afdb767e17cb2838290c41888e9ff0.