#538 Fine tune bandwidth usage for sponsored/donated nodes
Closed: Fixed by arrfab. Opened by arrfab.

Due to Stream 9 storage space and being open for rsync/pull, some of our sponsors reached out to say that we have a limited available bw/data plan per month from now on, so we need to :

  • apply a host macro in zabbix to override the default {$ALLOWED_MONTHLY_BW} zabbix macro with specific value
  • apply it from ansible inventory settings, so modifying the tool using zabbix api to also support modifying host macros
  • eventually take action when we're reaching limit for the month (remove it from dns pool)

Metadata Update from @arrfab:
- Issue tagged with: centos-common-infra, centos-stream, high-gain, low-trouble

Metadata Update from @arrfab:
- Issue assigned to arrfab

following commits pushed in zabbix-{server,agent} roles to support host macros through ansible inventory :

  • https://github.com/CentOS/ansible-role-zabbix-server/commit/48dce7c70d1cd6d50c36b7f4ad18210203fe6acd
  • https://github.com/CentOS/ansible-role-zabbix-agent/commit/be532e32758b2d5378a1effaff1223fe9cf8aab0

So we can from now on just declare some macros/values through zabbix_host_macros list at inventory (group or host level)

Metadata Update from @arrfab:
- Issue close_status updated to: Fixed
- Issue status updated to: Closed (was: Open)

Log in to comment on this ticket.

Metadata