2009-04-24 Esteban Sánchez <estebans@artica.es>
* godmode/agentes/module_manager.php: Added extra parameter to enterprise_hook call. * include/functions_modules.php: Added get_network_component_group_name() git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1655 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
This commit is contained in:
parent
e654b051a5
commit
c3cb427651
|
@ -1,3 +1,10 @@
|
||||||
|
2009-04-24 Esteban Sánchez <estebans@artica.es>
|
||||||
|
|
||||||
|
* godmode/agentes/module_manager.php: Added extra parameter to
|
||||||
|
enterprise_hook call.
|
||||||
|
|
||||||
|
* include/functions_modules.php: Added get_network_component_group_name()
|
||||||
|
|
||||||
2009-04-24 Manuel Arostegui <marostegui@artica.es>
|
2009-04-24 Manuel Arostegui <marostegui@artica.es>
|
||||||
|
|
||||||
* operation/agentes/status_monitor.php: Fixed bug #2779382
|
* operation/agentes/status_monitor.php: Fixed bug #2779382
|
||||||
|
|
|
@ -54,7 +54,9 @@ if ($wmi_available)
|
||||||
$modules['wmiserver'] = __('Create a new WMI Server module');
|
$modules['wmiserver'] = __('Create a new WMI Server module');
|
||||||
if ($prediction_available)
|
if ($prediction_available)
|
||||||
$modules['predictionserver'] = __('Create a new prediction Server module');
|
$modules['predictionserver'] = __('Create a new prediction Server module');
|
||||||
enterprise_hook ('set_enterprise_module_types', array (&$modules));
|
if (!isset ($local_components))
|
||||||
|
$local_components = false;
|
||||||
|
enterprise_hook ('set_enterprise_module_types', array (&$modules, $local_components));
|
||||||
print_select ($modules, 'moduletype', '', '', '', '', false, false, false);
|
print_select ($modules, 'moduletype', '', '', '', '', false, false, false);
|
||||||
print_input_hidden ('edit_module', 1);
|
print_input_hidden ('edit_module', 1);
|
||||||
echo '</td>';
|
echo '</td>';
|
||||||
|
|
|
@ -156,6 +156,20 @@ function get_network_component_groups ($id_module_components = 0) {
|
||||||
return $retval;
|
return $retval;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Get the name of a network components group.
|
||||||
|
*
|
||||||
|
* @param int Network components group id.
|
||||||
|
*
|
||||||
|
* @return string The name of the components group.
|
||||||
|
*/
|
||||||
|
function get_network_component_group_name ($id_network_component_group) {
|
||||||
|
if (empty ($id_network_component_group))
|
||||||
|
return false;
|
||||||
|
|
||||||
|
return @get_db_value ('name', 'tnetwork_component_group', 'id_sg', $id_network_component_group);
|
||||||
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Deletes a module from an agent.
|
* Deletes a module from an agent.
|
||||||
*
|
*
|
||||||
|
|
Loading…
Reference in New Issue