Hello,
it should be possible to formulate a SQL statement which lists all hosts, that have no action defined for them. If working together with multiple admins, it would be nice to tell them where they missed something.
I took a look into the tables, but I haven't found the glue between hosts, triggers and actions so far.
This gives all hosts, that are of interest:
and these are all actions:
Maybe someone has done this before and can help me?
We are using Zabbix 2.0.x with postgres.
thx and regards,
tvtue
it should be possible to formulate a SQL statement which lists all hosts, that have no action defined for them. If working together with multiple admins, it would be nice to tell them where they missed something.
I took a look into the tables, but I haven't found the glue between hosts, triggers and actions so far.
This gives all hosts, that are of interest:
Code:
SELECT host,status FROM hosts WHERE status=0;
Code:
SELECT actionid,name FROM actions WHERE eventsource=0 AND status=0;
We are using Zabbix 2.0.x with postgres.
thx and regards,
tvtue
Comment