PDA

View Full Version : Notify by event severity and something else?


cevyn
22-12-2008, 17:19
I have email notification going out based on high and disaster.

Bu what I would like to do is send emails to the SQL guy (with a SQL zabbix id) for "high" and "disaster" events that relate to SQL.

And also send emails to the network guy (with a NETWORK zabbix id) for "high" and "disaster" events that relate to network .

AS I understand it now Zabbix would send emails to both IDs for all "high" and "disaster" events. Correct?

Any thoughts on this ?, I doubt I'm the only person with a team to respond rather than just a one man show.

Alexei
22-12-2008, 19:29
You may use different notification conditions for SQL and network related events. Depending on your naming conventions, the condition can be based on:

1. Application name (Net - network, SQL - sql)
2. Trigger names (Trigger name like 'SQL')
3. Host name (in case if you name your hosts like 'sql_005' or 'switch_34')
4. Host groups
5. Something else?

In other words there are many ways of doing this, choose one.

cevyn
22-12-2008, 20:46
You may use different notification conditions for SQL and network related events. Depending on your naming conventions, the condition can be based on:

1. Application name (Net - network, SQL - sql)
2. Trigger names (Trigger name like 'SQL')
3. Host name (in case if you name your hosts like 'sql_005' or 'switch_34')
4. Host groups
5. Something else?

In other words there are many ways of doing this, choose one.

I'm glad it is available. But as I'm learning Zabbix I don't quite undrsatnd where I would specify this . I thought maybe if a check the template name under config for ACTION. Perhaps in ACTION condition. But not sure what and where to code for it. I'm thinking I could check template and then email the right person depending upon what template is used. Or if I included a keyword tag in the msg txt to route to the appropriate email account. I just cannot quite see the mechanics of how to make this work. Sorry I usually need to see an example of something before it makes sense to me.

Alexei
22-12-2008, 20:51
I was talking about action conditions.