2012-06-08 Juan Manuel Ramon <juanmanuel.ramon@artica.es>
* godmode/reporting/reporting_builder.php: Fixed update of custom graph items. o git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6453 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
This commit is contained in:
parent
e899a68a77
commit
4608084d21
|
@ -1,3 +1,8 @@
|
|||
2012-06-08 Juan Manuel Ramon <juanmanuel.ramon@artica.es>
|
||||
|
||||
* godmode/reporting/reporting_builder.php: Fixed update of custom
|
||||
graph items.
|
||||
|
||||
2012-06-08 Junichi Satoh <junichi@rworks.jp>
|
||||
|
||||
* include/functions_config.php, godmode/setup/setup.php: Fixed that
|
||||
|
|
|
@ -427,6 +427,7 @@ switch ($action) {
|
|||
|
||||
$values['id_agent'] = get_parameter('id_agent');
|
||||
$values['id_gs'] = get_parameter('id_custom_graph');
|
||||
|
||||
$values['id_agent_module'] = '';
|
||||
if (isset($values['type'])) {
|
||||
if (($values['type'] == 'alert_report_agent') or ($values['type'] == 'event_report_agent'))
|
||||
|
@ -464,12 +465,15 @@ switch ($action) {
|
|||
break;
|
||||
}
|
||||
|
||||
// If metaconsole is activated
|
||||
if ($config['metaconsole'] == 1) {
|
||||
$id_gs = substr ($values['id_gs'], 0, strpos ($values['id_gs'], '|'));
|
||||
if ($id_gs !== false) {
|
||||
$server_name = strstr($values ['id_gs'], '|');
|
||||
$values ['id_gs'] = $id_gs;
|
||||
$values['server_name'] = substr ($server_name, 1, strlen($server_name));
|
||||
}
|
||||
}
|
||||
|
||||
if (($values['type'] == 'sql') OR ($values['type'] == 'sql_graph_hbar') OR ($values['type'] == 'sql_graph_vbar') OR ($values['type'] == 'sql_graph_pie')) {
|
||||
$values['treport_custom_sql_id'] = get_parameter('id_custom');
|
||||
|
|
Loading…
Reference in New Issue