Code: Select all
...
CDEF:cdefec=ec,0,* \
CDEF:cdefed=ed,0,* \
CDEF:cdefee= \
CDEF:cdefei= \
AREA:cdefa#00BF47FF:"" \
AREA:cdefb#00FF00FF:"":STACK \
...
Moderators: Developers, Moderators
Code: Select all
...
CDEF:cdefec=ec,0,* \
CDEF:cdefed=ed,0,* \
CDEF:cdefee= \
CDEF:cdefei= \
AREA:cdefa#00BF47FF:"" \
AREA:cdefb#00FF00FF:"":STACK \
...
Please develop based on the SVN code that's cutrrently available. Then post the diff's and I'll see what I can do.skatter wrote:Any chance that this will get merged into autom8?
Code: Select all
10/09/2014 12:39:34 PM - AUTOM8 TRACE: Poller[0] build_aggregrate_rule_query returns: SELECT * FROM (SELECT host.*, host_template.name, graph_templates_graph.title, graph_templates_graph.title_cache , MAX(CASE WHEN field_name='Index' THEN field_value ELSE NULL END) AS 'Index', MAX(CASE WHEN field_name='desc' THEN field_value ELSE NULL END) AS 'desc', MAX(CASE WHEN field_name='ifname' THEN field_value ELSE NULL END) AS 'ifname', MAX(CASE WHEN field_name='ifalias' THEN field_value ELSE NULL END) AS 'ifalias', MAX(CASE WHEN field_name='iftype' THEN field_value ELSE NULL END) AS 'iftype', host_snmp_cache.snmp_index AS snmp_index FROM host_snmp_cache LEFT JOIN host ON (host_snmp_cache.host_id=host.id) LEFT JOIN host_template ON (host.host_template_id=host_template.id) LEFT JOIN graph_local ON (graph_local.host_id = host_snmp_cache.host_id AND graph_local.snmp_query_id = host_snmp_cache.snmp_query_id AND graph_local.snmp_index = host_snmp_cache.snmp_index) LEFT JOIN graph_templates_graph ON (graph_local.id = graph_templates_graph.local_graph_id) WHERE graph_local.snmp_query_id=15 AND graph_local.graph_template_id=52 AND ( host.description LIKE '%ca%') GROUP BY graph_local.host_id, graph_local.snmp_query_id, graph_local.snmp_index ORDER BY description, host_snmp_cache.snmp_index) AS a WHERE ( 1!=1 )
Users browsing this forum: No registered users and 1 guest