jasonmcintosh / rabbitmq-zabbix

Zabbix RabbitMQ Configuration
Apache License 2.0
251 stars 168 forks source link

Where to put stuff #74

Closed christopherwelsh closed 7 years ago

christopherwelsh commented 7 years ago

Hi, I'm wondering if you could outline for a dummy such as myself from your instructions which step applies to the Client RabbitMQ is running on and which the server. Here is my guess.

Point 1. Do you mean install "scripts/rabbitmq/" on the agent end where rabbitMQ is running? Point 2. Is the config file to be setup on the agent end or server end? Point 3. - I'm cool with this. Point 4. I assume you mean install zabbix_sender on the agent end where rabbitMQ is running? Point 5. Noted Point 6. Noted.

You Note: "IF using guest a warning - it can only access RabbitMQ management via localhost so you will need to set HOSTNAME=localhost" Question:

--

  1. Install the files into /etc/zabbix/ folder, change permissions to Zabbix.
  2. Setup configuration (see below)
  3. Import the template to your zabbix server
  4. Make sure zabbix_sender is installed 5.WARNING Watch your process timeout. I hit an issue with the amount of data and queues in rabbit where processing the results took longer than 3 seconds - that's the default timeout for the agent to kill a process. If I can switch to a file based push instead of calling send for each item, this will hopefully reduce the time to send even further
  5. Restart the local zabbix agent