【文件属性】:
文件名称:ansible-freebsd-nagios:角色扮演。 FreeBSD。 安装和配置Nagios
文件大小:28KB
文件格式:ZIP
更新时间:2021-05-07 21:18:36
HTML
freebsd_nagios
目录
介绍
FreeBSD。 配置Nagios。
随时。
欢迎捐款。
要求
无需要求。
受到推崇的
阿帕奇
证书
变数
查看vars中的默认值和示例。
工作流程
将shell更改为/ bin / sh
shell> ansible host -e 'ansible_shell_type=csh ansible_shell_executable=/bin/csh' -a 'sudo pw usermod admin -s /bin/sh'
安装角色
shell> ansible-galaxy install vbotka.freebsd_nagios
拟合变量
shell> editor vbotka.freebsd_nagios/vars/main.yml
创建并运行剧本
shell> cat freebsd-nagios.yml
- host
【文件预览】:
ansible-freebsd-nagios-master
----defaults()
--------main()
----.ansible-lint(146B)
----.yamllint(355B)
----tasks()
--------conf()
--------rcconf()
--------audit.yml(580B)
--------packages.yml(618B)
--------nrpe.yml(1KB)
--------conf.yml(485B)
--------rcconf.yml(114B)
--------main.yml(605B)
--------debug.yml(4KB)
--------nsca.yml(1KB)
--------actions.yml(1015B)
----meta()
--------main.yml(416B)
----.travis.yml(416B)
----LICENSE(1KB)
----README.md(4KB)
----vars()
--------main.yml.sample(2KB)
----handlers()
--------nagios.yml(810B)
--------nrpe.yml(678B)
--------main.yml(119B)
--------nsca.yml(678B)
----tests()
--------test.yml(85B)
--------inventory(10B)
----templates()
--------command(18B)
--------service(18B)
--------host(18B)
--------timeperiod(18B)
--------serviceextinfo(18B)
--------servicegroup(18B)
--------contactgroup(18B)
--------hostescalation(18B)
--------serviceescalation(18B)
--------create_links_to_templates.yaml(776B)
--------hostextinfo(18B)
--------object-template.j2(113B)
--------hostgroup(18B)
--------servicedependency(18B)
--------contact(18B)
--------hostdependency(18B)
----files()
--------nagios-objects.d()