Score:0

configuring zabbix web scenarios using ansible

in flag

We have a group of VMs that are configured using ansible, including basic zabbix monitoring using the zabbix_host module using a predefined zabbix template.

I would like to be able to generate web scenarios for each of the VMs that have web services. Ansible already has most relevant data e.g. fqdn of the web services. However, I do not see if this is possible using the current ansible zabbix collection.

Currently, the simplest possibility seems to be to compile the json to be sent to the zabbix API from a jinja2 template locally and then posting that manually using the url module (if possible, I am not sure it is fully-featured to create zabbix api POSTs) or with curl using the shell module.

Is there a better/more systematic way to create zabbix web scenarios using ansible?

mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.