Management of Zabbix mediatypes.
| codeauthor: | Raymond Kuiper <qix@the-wired.net> |
|---|
salt.states.zabbix_mediatype.absent(name, **kwargs)¶Ensures that the mediatype does not exist, eventually deletes the mediatype.
| Parameters: |
|
|---|
delete_mediatype:
zabbix_mediatype.absent:
- name: 'Email'
salt.states.zabbix_mediatype.present(name, mediatype, **kwargs)¶Creates new mediatype. NOTE: This function accepts all standard mediatype properties: keyword argument names differ depending on your zabbix version, see: https://www.zabbix.com/documentation/3.0/manual/api/reference/host/object#host_inventory
| Parameters: |
|
|---|
make_new_mediatype:
zabbix_mediatype.present:
- name: 'Email'
- mediatype: 0
- smtp_server: smtp.example.com
- smtp_hello: zabbix.example.com
- smtp_email: zabbix@example.com
Docs for previous releases are available on readthedocs.org.
Latest Salt release: 2018.3.3
salt.states.zabbix_hostgroup module