Hi Zabbix
I have several printers of the same brand, so I created a template for those. That template has some default triggers (like: toner black empty or paper tray empty).
Some printers are in offices and some are on more remote locations. I would want to send an email to the closest person to that remote location if something needs to be replaced.
I tried to create one big Action to accomplish that and then differentiate in the operation conditions but that does not seem to work...
So if I understand Zabbix correctly, I will have to create an action for each printer and each trigger individually?
Or is there a way to create one big trigger to rule them all?
I have several printers of the same brand, so I created a template for those. That template has some default triggers (like: toner black empty or paper tray empty).
Some printers are in offices and some are on more remote locations. I would want to send an email to the closest person to that remote location if something needs to be replaced.
I tried to create one big Action to accomplish that and then differentiate in the operation conditions but that does not seem to work...
Code:
ACTION: send mail when toner is empty Operation: - if hostname = ABC - send mail to person A - if hostname = XYZ - send mail to person B
Code:
ACTION: send mail when toner for printer ABC is empty Operation: send mail to person A
Code:
ACTION: send mail when paper for printer ABC is empty Operation: send mail to person A
Code:
ACTION: send mail when toner for printer XYZ is empty Operation: send mail to person B
Code:
ACTION: send mail when paper for printer XYZ is empty Operation: send mail to person B


Comment