如何维护Zabbix进行MongoDB备份?与Ansible

发布于 2025-01-24 16:24:48 字数 542 浏览 1 评论 0 原文

我必须使用Ansible Ansible实现Zabbix维护,

如下所示:

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

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

ゃ懵逼小萝莉 2025-01-31 16:24:49

Ansible模块在这里: https://github.com/github.com/ansible-collections/community.zabbix

示例:

- 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 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: ...
~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文