PDA

View Full Version : Triggers in beta7


navtek007
01-03-2006, 02:24
A couple of questions about triggers in beta 7:

1. Can triggers still be linked in the following way

Exchange -> HOST1
Windows.Base -> HOST1

OR from a couple of post that i've seen has all this changed to the following

Exchange -> Windows.Base -> HOST1
SQL Server -> Windows.Base -> HOST2

Have I got this correct? If so what happens if I want a windows.base template for all my windows servers then that means that in this scenario that all my hosts would receive all exchange and sql server items/triggers/graphs even if they are not an exchange server? To me this doesnt sound too practical and for this reason it would probably stop me from going to beta7.

2. If I do go to beta7 from beta6 would all my current triggers be deleted?

Thanks.

bbrendon
01-03-2006, 03:12
1. your second guess is correct. there is a problem with this as you've already described. obviously you can have multiple templates, but i agree, it isn't a great solution. i wasn't sold on templates in beta6 either.

2. no, triggers are not deleted.

you should backup your database before upgrading, like a good sysadmin does :)

rickardp
01-03-2006, 09:42
We have been running zabbix for a looong time. We have gotten to the point where we have to spend much time on adding triggers and items manually on every host since templating haven't worked properly in previous versions.

Now it's time to scrap 5 years of db config and make REAL templates.
After 2 days of tedious template items and trigger copy and pasting im getting there.

I thought along the line of Connecting the host to the application and THEN to the host arch specific templates.

HOST1 -> Exchange -> Windows.Base
HOST2 -> SQL Server -> Windows.Base
HOST3 -> Windows.Base

Best regards to you zabbix users

elkor
01-03-2006, 14:07
yeah, what rick said :)

navtek007
01-03-2006, 22:04
Thanks, i didnt think of reversing the templating order.