zarplata / zabbix-agent-extension-rabbitmq

Zabbix agent extension for monitoring RabbitMQ server
MIT License
18 stars 12 forks source link

can't optain rabbitmq stats #19

Closed axlroden closed 5 years ago

axlroden commented 5 years ago

My "can't optain rabbitmq stats trigger" is not functioning

Zabbix 4.2.1 RabbitMQ 3.7.18

48163:20190920:124552.920 item "172.16.1.21:rabbitmq.stats[{$ZABBIX_SERVER_IP},{$RABBITMQ_MGMT_ADDRESS},{$RABBITMQ_USER},{$RABBITMQ_PASSWORD},{$RABBITMQ_CA_PATH},{HOST.HOST}]" became not supported: special characters "\, ', ", `, *, ?, [, ], {, }, ~, $, !, &, ;, (, ), <, >, |, #, @, 0x0a" are not allowed in the parameters

Any idea whats going wrong ?

axlroden commented 5 years ago

and without that, I don't get data, If I run the command manually on the box, I get 1 set of data

axlroden commented 5 years ago

set the macro {$ZABBIX_SERVER_IP} manually, and now it works! I though this was a builtin key from zabbix. (not mentioned in your instructions)