2010-08-12 Sergio Martin <sergio.martin@artica.es>

* godmode/agentes/massive_operations.php: Added the massive operation
	to add snmp modules to an agent



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3130 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
This commit is contained in:
zarzuelo 2010-08-12 09:52:50 +00:00
parent a591153ff5
commit baf4b6c28e
2 changed files with 12 additions and 1 deletions

View File

@ -1,3 +1,8 @@
2010-08-12 Sergio Martin <sergio.martin@artica.es>
* godmode/agentes/massive_operations.php: Added the massive operation
to add snmp modules to an agent
2010-08-11 Sergio Martin <sergio.martin@artica.es>
* godmode/agentes/module_manager_editor.php: Changed the old way of

View File

@ -49,6 +49,12 @@ if($tab == 'edit_modules')
else
$editmoduletab['active'] = false;
/* Collection */
$modulessnmpTab = enterprise_hook('massive_modules_snmp_tab');
if ($modulessnmpTab == -1)
$modulessnmpTab = "";
/* Delete Modules */
$deletemoduletab['text'] = '<a href="index.php?sec=gagente&sec2=godmode/agentes/massive_operations&tab=delete_modules">'
. print_image ("images/delete_modules.png", true, array ("title" => __('Delete modules')))
@ -111,7 +117,7 @@ if ($policiesTab == -1)
$onheader = array('copy_modules' => $copymoduletab, 'edit_modules' => $editmoduletab,
'delete_modules' => $deletemoduletab, 'delete_agents' => $deleteagenttab,
'add_modules_snmp' => $modulessnmpTab, 'delete_modules' => $deletemoduletab, 'delete_agents' => $deleteagenttab,
'add_action_alerts' => $addactionalerttab, 'delete_action_alerts' => $deleteactionalerttab,
'add_alerts' => $addalerttab, 'delete_alerts' => $deletealerttab, 'policies' => $policiesTab);