简体   繁体   中英

How do I maintain zabbix for MongoDB backup? with ansible

I have to implement zabbix maintenance for Mongodb backup with ansible

the tasks are as follows:

https://www.zabbix.com/documentation/5.4/en/manual/maintenance

https://docs.ansible.com/ansible/latest/collections/community/zabbix/zabbix_maintenance_module.html

The Ansible module is here: https://github.com/ansible-collections/community.zabbix

example:

- name: Create a named maintenance window for host www1 for 90 minutes
  community.zabbix.zabbix_maintenance:
    name: Update of www1
    host_name: www1.example.com
    state: present
    minutes: 90
    server_url: https://...
    login_user: ...
    login_password: ...

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM