Steps to reproduce:
- Defiene a zabbix item
- select a key, like agent.ping, the vaue type will be numeric
- Change the item type to script
- Change the value type to character
- A warning is displayed saying that the key and value type do not correspond
Since the agent´s key are not reserved words, but suggested to be treated as if they were, the validation should be between the item type and the key.
When validating the value type, the item type should be taken in consideration, I can define a script item with the key agent.ping