Hi Everyone,
How Zabbix is handling emails in general? I mean I have very specific requirements to send emails but to a person as a item name/value - this isn't possible with standard email notifications as they need to be predefined in actions for triggers.
I have to monitor AD env and last changed password to send them email for a specific group (will use PS to monitor this) - there will be items created with their email as an item and time as a metric. When it got to 2 weeks before expiry - need to send them email. I could do it with powershell itself but I rather keep it in zabbix to control times with triggers etc.
Now - I have email configured and emails are working fine (exchange emails) for registered users - but users who need to be notified won't be in Zabbix.
So i used this guide with email component:
https://www.zabbix.com/documentation...s/media/script to see if I can just do it as a script but i got a broken pipe where the "email" command is. (email - command not found obviously)
I rather not install the email component (docker env, could do rebuilding etc. it but I'm lazy lol and I don't want to break dependencies i blow this project out of proportion to what it needs to do) - so real question is how exactly zabbix is sending emails so i could "expand" or copy this as a form of additional script where I can put recipient as an item value/name?
How Zabbix is handling emails in general? I mean I have very specific requirements to send emails but to a person as a item name/value - this isn't possible with standard email notifications as they need to be predefined in actions for triggers.
I have to monitor AD env and last changed password to send them email for a specific group (will use PS to monitor this) - there will be items created with their email as an item and time as a metric. When it got to 2 weeks before expiry - need to send them email. I could do it with powershell itself but I rather keep it in zabbix to control times with triggers etc.
Now - I have email configured and emails are working fine (exchange emails) for registered users - but users who need to be notified won't be in Zabbix.
So i used this guide with email component:
https://www.zabbix.com/documentation...s/media/script to see if I can just do it as a script but i got a broken pipe where the "email" command is. (email - command not found obviously)
I rather not install the email component (docker env, could do rebuilding etc. it but I'm lazy lol and I don't want to break dependencies i blow this project out of proportion to what it needs to do) - so real question is how exactly zabbix is sending emails so i could "expand" or copy this as a form of additional script where I can put recipient as an item value/name?
Comment