2011-11-15 Sancho lerena <slerena@artica.es>
* godmode/snmpconsole/snmp_trap_generator.php: Fixed tool to generate SNMP Traps. Was broken due a re-placement at last-time. git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@5138 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
This commit is contained in:
parent
f0cc0c4cc9
commit
58c98d54a2
|
@ -1,3 +1,9 @@
|
|||
2011-11-15 Sancho lerena <slerena@artica.es>
|
||||
|
||||
* godmode/snmpconsole/snmp_trap_generator.php: Fixed tool to generate
|
||||
SNMP Traps. Was broken due a re-placement at last-time.
|
||||
|
||||
|
||||
2011-11-14 Juan Manuel Ramon <juanmanuel.ramon@artica.es>
|
||||
|
||||
* include/javascript/pandora.js: Added ajax callback for metaconsole
|
||||
|
|
|
@ -25,6 +25,7 @@ if (! check_acl ($config['id_user'], 0, "LW")) {
|
|||
return;
|
||||
}
|
||||
|
||||
include "include/functions_snmp.php";
|
||||
$snmp_host_address = (string) get_parameter ("snmp_host_address", 'localhost');
|
||||
$snmp_community = (string) get_parameter ("snmp_community", 'public');
|
||||
$snmp_oid = (string) get_parameter ("snmp_oid", '');
|
||||
|
@ -49,7 +50,7 @@ if($generate_trap) {
|
|||
__('Could not be generated'));
|
||||
}
|
||||
|
||||
$traps_generator = '<form method="POST" action="index.php?sec=snmpconsole&sec2=operation/snmpconsole/snmp_view&refr='.$config["refr"].'&pure='.$config["pure"].'">';
|
||||
$traps_generator = '<form method="POST" action="index.php?sec=gsnmpconsole&sec2=godmode/snmpconsole/snmp_trap_generator">';
|
||||
$table->width = '90%';
|
||||
$table->size = array ();
|
||||
$table->data = array ();
|
||||
|
@ -84,4 +85,4 @@ unset($table);
|
|||
$traps_generator .= '</form>';
|
||||
|
||||
echo $traps_generator;
|
||||
?>
|
||||
?>
|
||||
|
|
Loading…
Reference in New Issue