- zabbix_get -s 10.10.10.10 -k system.uname
Windows 2012R2COREFSZ 6.2.9200 Microsoft Windows Server 2012 Standard Edition x64
- zabbix_get -s 10.10.10.10 -k agent.version
2.2.0
On windows cmd I can see this:
C:\Users\>ver
Microsoft Windows [Version 6.3.9600]
Attached image confirms this.
Also I cannot understand how zabbix agent returns "6.2.9200" in its response instead of "6.3.9600"
According to code looks like it should be returned as is.
We had similar cases in the past, for example ZBX-6040
As this is not the last windows version I have a suggestion - what if we change code and for new unknown windows versions will return something like "Unknown" instead of latest known version ("Server 2012" in our case) ?
It will be more correct I believe.