Hello
I created the parameter "AllowKey=system.run[echo *]" on a Zabbix Agent config file and tested using "zabbix_get -s 127.0.0.1 -k system.run["echo 'Test ' >/tmp/test.txt"]"
It worked...
But when i went to Zabbix Server and created a script and a action with the same command on the same host, i got the message "Unsupported item key" on the actions column!
If i change the parameter to "AllowKey=system.run[*]" the action works...
But i do not want to allow all commands. Just the ones i specify in the config file!
Can someone help me?
Thanks
I created the parameter "AllowKey=system.run[echo *]" on a Zabbix Agent config file and tested using "zabbix_get -s 127.0.0.1 -k system.run["echo 'Test ' >/tmp/test.txt"]"
It worked...
But when i went to Zabbix Server and created a script and a action with the same command on the same host, i got the message "Unsupported item key" on the actions column!
If i change the parameter to "AllowKey=system.run[*]" the action works...
But i do not want to allow all commands. Just the ones i specify in the config file!
Can someone help me?
Thanks
Comment