首页 > 代码库 > zabbix_get 自定义key Permission denied

zabbix_get 自定义key Permission denied

### Option:AllowRoot

#       Allow the agent to run as ‘root‘. Ifdisabled and the agent is started by ‘root‘, the agent

#       will try to switch to the user specifiedby the User configuration option instead.

#       Has no effect if started under a regularuser.

#       0 - do not allow

#       1 - allow

#

# Mandatory: no

# Default:

#AllowRoot=0

新增如下内容

AllowRoot=1


本文出自 “superman” 博客,请务必保留此出处http://55348.blog.51cto.com/45348/1589358

zabbix_get 自定义key Permission denied