【发布时间】:2020-07-22 07:43:53
【问题描述】:
有必要在 Zabbiks 的帮助下启用 AWS 中 ALB 的 SSL 计数许可证监控。 Zabbiks 无法识别物品
UserParameter = ssl.count, aws elbv2 describe-listener-certificates --listener-arn --profile ******** arn: aws: elasticloadbalancing: eu-central - ******* ****** 1dcfc52e | jq '.Certificates | . []. CertificateArn '| wc -l
zabbix 写
Value of type "string" is not suitable for value type "Numeric (unsigned)".Value "The config profile (****) could not be found0"
如果我将信息类型更改为文本,那么除了触发器之外一切正常,它应该返回 ALB 中有多少 SSL 许可证,
zabbix_agentd -t ssl.count command ssl.count [t | 26] 的输出在控制台上一切正常,所有凭据都很好。
在宏中声明的zabbix中的ABL {$ HOST.NAME} main-devs - *******. Eu-central-1.elb.amazonaws.com
告诉我谁遇到了,会是什么?
【问题讨论】:
-
这很奇怪:
Value "The config profile (****) could not be found0"。您是否设置了没有| wc -l的项目,然后在几分钟后添加了它?这可以解释为什么zabbix_agentd -t测试工作正常并返回 26 -
@SimoneZabberoni 不是在最后,我是一次性全部添加的
标签: amazon-web-services ssl zabbix