View Full Version : Triggers like actions
realuser
13-08-2010, 23:30
I can create an action which depends on any trigger firing off in a set of groups. Thus, if I have groups web_cluster1 and web_cluster2, any trigger on either of those can fire off an action_web.
So far, so good.
What I can't seem to do in a similarly flexible and future-proofed way, is build a trigger which looks at any arbitrary trigger from any one of a number of groups.
I can manually build such a trigger, if I can somehow shoehorn every single other trigger into its parameter list.
I can write an external SQL script which directly queries the database.
Am I missing something or is this genuinely not there as a feature?
Version: 1.6.4
The goal is to build a top level dashboard which looks a bit like the system status widget, but a bit more flexible. Is there a good way of doing this? Am I barking up the wrong tree?
so the functional idea would be to have a way to visually indicate a problem in an arbitrary subset of monitored metrics - like several specific host groups ?
i don't think that is possible with the current frontend. might be possible with api 1.8, but that would require custom implementation anyway. might work as a feature request, though :)
realuser
16-08-2010, 18:28
so the functional idea would be to have a way to visually indicate a problem in an arbitrary subset of monitored metrics - like several specific host groups ?
More or less, yes.
I can hack this up with sufficiently complex trigger formulae, but that fails the moment more machines get added to a group, or machines are removed, or even the monitoring templates change.
Is there a way to put the system status widget from the dashboard in a separate screen, or is it an exclusive preserve of the dashboard?
Is there any way of wildcarding in trigger specifications? I could achieve what I wanted if that were possible.
The surrounding discussion is that our monitoring team have thousands of systems to monitor, so they absolutely need a simple, drillable interface.
Is there a way to put the system status widget from the dashboard in a separate screen, or is it an exclusive preserve of the dashboard?
it's not currently possible to reuse dashboard widgets in screens
Is there any way of wildcarding in trigger specifications? I could achieve what I wanted if that were possible.
no, i don't think that is possible currently :)
The surrounding discussion is that our monitoring team have thousands of systems to monitor, so they absolutely need a simple, drillable interface.
some approaches you could try :
1. in latest versions of zabbix a new dashboard widget has appeared - "host status". it gives you overview of how many hosts in a specific group have any problems. you can click on individual entries and get to more detailed views. you can also filter it all by hostgroup, severity etc;
2. you could create network maps that include hostgroups, then another layer of maps that include those maps and so on - then you could get single network map that would give a high level overview, and you could click downstream to get to the actual list of individual problems.