zbxtable icon indicating copy to clipboard operation
zbxtable copied to clipboard

配置配置 Ms-Agent 报错

Open minebmw opened this issue 10 months ago • 8 comments

配置 Ms-Agent ms-agent 可接收 zabbix 产生的告警,并发送到 zbxtable,用于告警的统计和分析,后续会增加告警发送功能 执行以下命令在 zabbix 上配置 Ms-Agent

cd /usr/local/zbxtable/ ./zbxtable install

执行这一步时报错: [root@zabbixweb zbxtable]# ./zbxtable install 2025/03/03 08:38:58.270 [I] [command.go:273] Create media type successfully! 2025/03/03 08:38:58.387 [I] [command.go:273] Create user group successfully! 2025/03/03 08:38:58.526 [E] [command.go:273] -32602 (Invalid params.): Invalid parameter "/1": unexpected parameter "type". 老师如何解决?

minebmw avatar Mar 03 '25 00:03 minebmw

zabbix版本是多少

canghai908 avatar Mar 04 '25 00:03 canghai908

zabbix 6.0.37  

zen @.***

 

------------------ 原始邮件 ------------------ 发件人: @.>; 发送时间: 2025年3月4日(星期二) 上午8:17 收件人: @.>; 抄送: @.>; @.>; 主题: Re: [canghai908/zbxtable] 配置配置 Ms-Agent 报错 (Issue #128)

zabbix版本是多少

— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you authored the thread.Message ID: @.***> canghai908 left a comment (canghai908/zbxtable#128)

zabbix版本是多少

— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you authored the thread.Message ID: @.***>

minebmw avatar Mar 17 '25 08:03 minebmw

我跟上面的兄弟遇到了一个问题 [root@zabbix-server zbxtable]# pwd /usr/local/zbxtable [root@zabbix-server zbxtable]# ./zbxtable install 2025/04/27 14:29:47.701 [I] [command.go:273] Create media type successfully! 2025/04/27 14:29:47.811 [I] [command.go:273] Create user group successfully! 2025/04/27 14:29:48.763 [E] [command.go:273] -32602 (Invalid params.): Invalid parameter "/1": unexpected parameter "type".

zabbix的版本是 [root@zabbix-server zbxtable]# zabbix_server -V zabbix_server (Zabbix) 6.0.37 Revision ba81419771e 17 December 2024, compilation time: Dec 17 2024 15:21:37

Copyright (C) 2024 Zabbix SIA License GPLv2+: GNU GPL version 2 or later https://www.gnu.org/licenses/. This is free software: you are free to change and redistribute it according to the license. There is NO WARRANTY, to the extent permitted by law.

This product includes software developed by the OpenSSL Project for use in the OpenSSL Toolkit (http://www.openssl.org/).

Compiled with OpenSSL 1.1.1k FIPS 25 Mar 2021 Running with OpenSSL 1.1.1k FIPS 25 Mar 2021 [root@zabbix-server zbxtable]#

cy9419 avatar Apr 27 '25 06:04 cy9419

zabbix 6.2.6也遇到这个问题了,怎么解决

charlesqing avatar Apr 28 '25 05:04 charlesqing

有没有手动创建的步骤,不使用./zbxtable install

charlesqing avatar Apr 28 '25 06:04 charlesqing

zabbix版本6.0.34,也有这个错误 ZbxTable Version:=2.1.8 Git Commit Hash:=02ce3fa558241ad9a857254e5655e49278b12fd0 UTC Build Time:=2025-02-25_12:48:43PM

2025/07/07 11:51:18.822 [I] [command.go:273] Create media type successfully! 2025/07/07 11:51:19.205 [I] [command.go:273] Create user group successfully! 2025/07/07 11:51:19.464 [E] [command.go:273] -32602 (Invalid params.): Invalid parameter "/1": unexpected parameter "type".

hounang avatar Jul 07 '25 03:07 hounang

这个可能需要手动创建了,不过麻烦点

canghai908 avatar Jul 08 '25 00:07 canghai908

这个可能需要手动创建了,不过麻烦点

请问有完整的步骤吗,文档里面没找到手动配置项模板,全都用默认的好像不行,告警查询里没查到

hounang avatar Jul 09 '25 01:07 hounang