Management of Zabbix mediatypes.
| codeauthor: | Raymond Kuiper <qix@the-wired.net> |
|---|
Ensures that the mediatype does not exist, eventually deletes the mediatype.
| Parameters: |
|
|---|
delete_mediatype:
zabbix_mediatype.absent:
- name: 'Email' 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: [email protected]
© 2019 SaltStack.
Licensed under the Apache License, Version 2.0.
https://docs.saltstack.com/en/latest/ref/states/all/salt.states.zabbix_mediatype.html