Now as with 2.0.0 we again have template->host trigger dependency, old question comes. How do you make dependencies on appropriate router when you have complex network?
Like: using one template for all hosts as usual, every host could have custom macro with value representing his gateway, one trigger 'Server is unreachable' (in template) which could use those host macro values to achieve dependency on host's router.
Simple answer could be to have separate template for each network/router with 'server is unreachable' trigger in each, but if I use dependency on 'server is unreachable' for other triggers in global template for all hosts, than those big templates have to be cloned also and it becomes nightmare to maintain.
Any better ideas?
Like: using one template for all hosts as usual, every host could have custom macro with value representing his gateway, one trigger 'Server is unreachable' (in template) which could use those host macro values to achieve dependency on host's router.
Simple answer could be to have separate template for each network/router with 'server is unreachable' trigger in each, but if I use dependency on 'server is unreachable' for other triggers in global template for all hosts, than those big templates have to be cloned also and it becomes nightmare to maintain.
Any better ideas?