【ansible&zabbix】ansible-playbook调用zabbix-api自动添加主机
一、实验环境
操作系统:CentOS7.5 Minimal
二、软件安装
# yum-y install epel-release
# yum-y install ansible
# yum-y install python-setuptools
# easy_installpip
# pip install zabbix-api
文章图片
三、参考链接
Monitoring modules
https://docs.ansible.com/ansible/2.5/modules/list_of_monitoring_modules.html
文章图片
ansible-playbook调用zabbix-api自动添加主机
https://blog.csdn.net/wh211212/article/details/82763493
使用ansible添加zabbix的主机监控
https://blog.csdn.net/felix_yujing/article/details/78166295
Zabbix Documentation 4.0
https://www.zabbix.com/documentation/4.2/manual/api/reference/hostinterface/object
zabbix-agent-playbook
https://github.com/w4rppy/zabbix-agent-playbook
ansible批量添加hosts到zabbix-server
http://blog.hhzzer.com/posts/57e090d5
Docs ? zabbix_host – Create/update/delete Zabbix hosts
https://docs.ansible.com/ansible/latest/modules/zabbix_host_module.html
curl: (51) Unable to communicate securely with peer: requested domain name does not match the server's certificate.报错
https://www.cnblogs.com/weifeng1463/p/8582921.html
Ansiblezabbix_host 模块出现SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed错误
https://blog.csdn.net/wszhtc/article/details/79467024
https://blog.csdn.net/hou_angela/article/details/80492468
Certificate verification in Python standard library HTTP clients
https://access.redhat.com/articles/2039753#controlling-certificate-verification-7
A specific template import via zabbix_template module in Ansible fails with HTTP 500
https://support.zabbix.com/browse/ZBX-15282
Json/Yaml转换
http://blog.w3cub.com/tools/jsonyamlconvert
YAML、YML在线编辑器(格式化校验)
【【ansible&zabbix】ansible-playbook调用zabbix-api自动添加主机】https://www.bejson.com/validators/yaml_editor
推荐阅读
- JAVA(抽象类与接口的区别&重载与重写&内存泄漏)
- 宽容谁
- 我要做大厨
- 增长黑客的海盗法则
- 画画吗()
- 2019-02-13——今天谈梦想()
- 远去的风筝
- 三十年后的广场舞大爷
- 叙述作文
- 20190302|20190302 复盘翻盘