salt.states.zabbix_hostgroup module
Management of Zabbix host groups.
-
salt.states.zabbix_hostgroup.
absent
(name)
Ensures that the host group does not exist, eventually delete host group.
Parameters: |
- name -- name of the host group
- _connection_user -- Optional - zabbix user (can also be set in opts or pillar, see module's docstring)
- _connection_password -- Optional - zabbix password (can also be set in opts or pillar, see module's docstring)
- _connection_url -- Optional - url of zabbix frontend (can also be set in opts, pillar, see module's docstring)
|
delete_testing_host_group:
zabbix_hostgroup.absent:
- name: 'My hostgroup name'
-
salt.states.zabbix_hostgroup.
present
(name)
Ensures that the host group exists, eventually creates new host group.
Parameters: |
- name -- name of the host group
- _connection_user -- Optional - zabbix user (can also be set in opts or pillar, see module's docstring)
- _connection_password -- Optional - zabbix password (can also be set in opts or pillar, see module's docstring)
- _connection_url -- Optional - url of zabbix frontend (can also be set in opts, pillar, see module's docstring)
|
create_testing_host_group:
zabbix_hostgroup.present:
- name: 'My hostgroup name'