2010-10-15 Miguel de Dios <miguel.dedios@artica.es>
* godmode/agentes/module_manager_editor_network.php: added lines to unblock SNMP community when the module is adopt. git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3407 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
This commit is contained in:
parent
9738bbd51b
commit
70f09fccb4
|
@ -1,3 +1,8 @@
|
|||
2010-10-15 Miguel de Dios <miguel.dedios@artica.es>
|
||||
|
||||
* godmode/agentes/module_manager_editor_network.php: added lines to unblock
|
||||
SNMP community when the module is adopt.
|
||||
|
||||
2010-10-14 Sergio Martin <sergio.martin@artica.es>
|
||||
|
||||
* operation/agentes/ver_agente.php: Safe output the list of
|
||||
|
|
|
@ -53,7 +53,16 @@ $snmp_versions['3'] = 'v. 3';
|
|||
|
||||
$data = array ();
|
||||
$data[0] = __('SNMP community');
|
||||
$data[1] = print_input_text ('snmp_community', $snmp_community, '', 15, 60, true, $disabledBecauseInPolicy);
|
||||
$adopt = false;
|
||||
if (isset($id_agent_module)) {
|
||||
$adopt = isModuleAdopt($id_agent_module);
|
||||
}
|
||||
if (!$adopt) {
|
||||
$data[1] = print_input_text ('snmp_community', $snmp_community, '', 15, 60, true, $disabledBecauseInPolicy);
|
||||
}
|
||||
else {
|
||||
$data[1] = print_input_text ('snmp_community', $snmp_community, '', 15, 60, true, false);
|
||||
}
|
||||
|
||||
$data[2] = _('SNMP version');
|
||||
|
||||
|
|
Loading…
Reference in New Issue