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


發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章