categraf exec模块执行脚本一直报错

Viewed 53

categraf版本:categraf-v0.2.14-linux-amd64
日志信息:May 24 14:47:44 xxxx categraf: 2023/05/24 14:47:44 exec.go:129: E! exec_command: /usr/local/n9e/scripts/60_check_consumerProgress_rocketMQ.py error: exit status 1 stderr:
May 24 14:47:44 xxxx categraf: 2023/05/24 14:47:44 exec.go:129: E! exec_command: /usr/local/n9e/scripts/60_check_cluster_rocketMQ.py error: exit status 1 stderr:
手动执行脚本是成功的
image.png
exec配置:

# # collect interval
interval = 1
[[instances]]
# # commands, support glob
commands = [
  "/usr/local/n9e/scripts/60_*.py"
]

# # timeout for each command to complete
timeout = 120

# # interval = global.interval * interval_times
interval_times = 60

# # mesurement,labelkey1=labelval1,labelkey2=labelval2 field1=1.2,field2=2.3
data_format = "falcon"
0 Answers