rafael747 / zabbix-twilio-template

This is a twilio template to monitor twilio balance, and maybe other account information using Zabbix

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

zabbix-twilio-template

This is a twilio template to monitor twilio balance, and maybe other account information using Zabbix

For a detailed guide: https://teffa.dev/tech/2020-04-28-zabbix-twilio-template/

On Server:

  • Import template_twilio.xml template

  • Create a new host for each twilio account you want to monitor

  • These hosts don't need a zabbix-agent, all requests will be made by the zabbix server (you can use 127.0.0.1 for them)

  • For each created host (twilio account) create the following Macros:

    • {$AUTH_TOKEN} -> you_twilio_account_auth_token
    • {$SID} -> your_twilio_account_sid
  • Add the imported template to your new hosts

Items

The only item is your twilio current balance value. But let me know if you would like to monitor other things in your twilio account, since it would be pretty easy to add to this template.

I used this documentation to make this template: https://www.twilio.com/docs/usage/api/account

Triggers

There is a trigger for when the balance is below 5 dolars. This value can be changed globaly in the template's macro configuration. But you can also change this for each account

  • host -> Macros -> Inherited and host macros

About

This is a twilio template to monitor twilio balance, and maybe other account information using Zabbix