
Ich möchte einen Wert von einem Remotesystem mittels Key. system.run abfragen. Der Test in Zabbix zeigt jedoch den Fehler: “Unsupported item key“
Die Lösung ist es im Agent des Remotesystems, hier ein Debian Linux, folgenden AllowKey zu setzen:
### Option: AllowKey
# Allow execution of item keys matching pattern.
# If no AllowKey or DenyKey rules defined, all keys are allowed.
# Multiple keys matching rules may be defined in combination with AllowKey.
# If no AllowKey or DenyKey rules defined, all keys are allowed.
### Option: EnableRemoteCommands - Deprecated, use AllowKey=system.run[*] or DenyKey=system.run[*] instead
# Internal alias for AllowKey/DenyKey parameters depending on value:
# 1 - AllowKey=system.run[*]
AllowKey=system.run[*]
Nachdem der AllowKey gesetzt ist, muss der Zabbix Agent Service neugestartet werden.
Thats it … Have Fun!