2014-03-27 Vanessa Gil <vanessa.gil@artica.es>

* extras/pandoradb_migrate_5.0_to_5.1.mysql.sql:
	Fixed error with 'talert_snmp' order fields.

	* include/help/en/help_field_match_snmp.php
	  include/help/es/help_field_match_snmp.php: Changed help.


git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@9653 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
This commit is contained in:
vgilc 2014-03-27 11:21:48 +00:00
parent 64306ce66d
commit a84b74898d
4 changed files with 27 additions and 19 deletions

View File

@ -1,3 +1,11 @@
2014-03-27 Vanessa Gil <vanessa.gil@artica.es>
* extras/pandoradb_migrate_5.0_to_5.1.mysql.sql:
Fixed error with 'talert_snmp' order fields.
* include/help/en/help_field_match_snmp.php
include/help/es/help_field_match_snmp.php: Changed help.
2014-03-27 Vanessa Gil <vanessa.gil@artica.es> 2014-03-27 Vanessa Gil <vanessa.gil@artica.es>
* pandoradb.oracle.sql * pandoradb.oracle.sql

View File

@ -98,13 +98,13 @@ ALTER TABLE `talert_snmp` ADD COLUMN `order_7` int(10) unsigned NOT NULL default
ALTER TABLE `talert_snmp` ADD COLUMN `order_8` int(10) unsigned NOT NULL default 8; ALTER TABLE `talert_snmp` ADD COLUMN `order_8` int(10) unsigned NOT NULL default 8;
ALTER TABLE `talert_snmp` ADD COLUMN `order_9` int(10) unsigned NOT NULL default 9; ALTER TABLE `talert_snmp` ADD COLUMN `order_9` int(10) unsigned NOT NULL default 9;
ALTER TABLE `talert_snmp` ADD COLUMN `order_10` int(10) unsigned NOT NULL default 10; ALTER TABLE `talert_snmp` ADD COLUMN `order_10` int(10) unsigned NOT NULL default 10;
ALTER TABLE `talert_snmp` ADD COLUMN `order_1` int(10) unsigned NOT NULL default 11; ALTER TABLE `talert_snmp` ADD COLUMN `order_11` int(10) unsigned NOT NULL default 11;
ALTER TABLE `talert_snmp` ADD COLUMN `order_2` int(10) unsigned NOT NULL default 12; ALTER TABLE `talert_snmp` ADD COLUMN `order_12` int(10) unsigned NOT NULL default 12;
ALTER TABLE `talert_snmp` ADD COLUMN `order_3` int(10) unsigned NOT NULL default 13; ALTER TABLE `talert_snmp` ADD COLUMN `order_13` int(10) unsigned NOT NULL default 13;
ALTER TABLE `talert_snmp` ADD COLUMN `order_4` int(10) unsigned NOT NULL default 14; ALTER TABLE `talert_snmp` ADD COLUMN `order_14` int(10) unsigned NOT NULL default 14;
ALTER TABLE `talert_snmp` ADD COLUMN `order_5` int(10) unsigned NOT NULL default 15; ALTER TABLE `talert_snmp` ADD COLUMN `order_15` int(10) unsigned NOT NULL default 15;
ALTER TABLE `talert_snmp` ADD COLUMN `order_6` int(10) unsigned NOT NULL default 16; ALTER TABLE `talert_snmp` ADD COLUMN `order_16` int(10) unsigned NOT NULL default 16;
ALTER TABLE `talert_snmp` ADD COLUMN `order_7` int(10) unsigned NOT NULL default 17; ALTER TABLE `talert_snmp` ADD COLUMN `order_17` int(10) unsigned NOT NULL default 17;
ALTER TABLE `talert_snmp` ADD COLUMN `order_8` int(10) unsigned NOT NULL default 18; ALTER TABLE `talert_snmp` ADD COLUMN `order_18` int(10) unsigned NOT NULL default 18;
ALTER TABLE `talert_snmp` ADD COLUMN `order_9` int(10) unsigned NOT NULL default 19; ALTER TABLE `talert_snmp` ADD COLUMN `order_19` int(10) unsigned NOT NULL default 19;
ALTER TABLE `talert_snmp` ADD COLUMN `order_10` int(10) unsigned NOT NULL default 20; ALTER TABLE `talert_snmp` ADD COLUMN `order_20` int(10) unsigned NOT NULL default 20;

View File

@ -6,7 +6,7 @@
<h1>Custom OID/Data #1-20</h1> <h1>Custom OID/Data #1-20</h1>
<p>These are regular expressions that try to match binding variables 1 to 20. If there is a match, the alert is fired. The value of the variable is stored in the corresponding _snmp_fx_ macro (_snmp_f1_, _snmp_f2_, ...). Even though only twenty variables can be searched for matches, _snmp_fx_ macros are set for all of them (_snmp_f11_, _snmp_f12_, ...).</p> <p>These are regular expressions that try to match varbinds 1 to 20. If there is a match, the alert is fired. The value of the variable is stored in the corresponding _snmp_fx_ macro (_snmp_f1_, _snmp_f2_, ...). Even though only twenty variables can be searched for matches, _snmp_fx_ macros are set for all of them (_snmp_f11_, _snmp_f12_, ...).</p>
<table width=100%> <table width=100%>
@ -30,11 +30,11 @@ That is, if we want to make an alert seeking values "Uno" in the first var
<img src="../images/help/trap.png" width='520' height='220'> <img src="../images/help/trap.png" width='520' height='220'>
</tr> </tr>
<tr> <tr>
<p>Alert generated (an internal audit) will have this text: <p>Alert generated (an internal audit) will have this text:</p>
SNMP Alert of 192.168.5.2 with OID .1.3.6.1.4.1.2789.2005 <p>SNMP Alert of 192.168.5.2 with OID .1.3.6.1.4.1.2789.2005
Binding 1: “uno” Binding 3: “tres” Binding 5: “cinco” Binding 7: “siete” Varbind 1: “cien” Varbind 3: “tres” Varbind 5: “veinte” Varbind 7: “sesenta”</p>
Thus, if the trap has 200 variables, you can use up to 20 filters variables (bindings) and take the value of up to 20 variables, regardless if they are in the 10, 50, or 170 position.</p> <p>Thus, if the trap has 200 variables, you can use up to 20 filters variables (varbinds) and take the value of up to 20 variables, regardless if they are in the 10, 50, or 170 position.</p>
</tr> </tr>
</table> </table>

View File

@ -28,11 +28,11 @@
<img src="../images/help/trap.png" width='520' height='220'> <img src="../images/help/trap.png" width='520' height='220'>
</tr> </tr>
<tr> <tr>
<p>La alerta generada, un evento de auditoria tiene este texto: <p>La alerta generada, un evento de auditoria tiene este texto:</p>
SNMP Alert of 192.168.5.2 with OID .1.3.6.1.4.1.2789.2005 <p>SNMP Alert of 192.168.5.2 with OID .1.3.6.1.4.1.2789.2005
Binding 1: “uno” Binding 3: “tres” Binding 5: “cinco” Binding 7: “siete” Varbind 1: “cien” Varbind 3: “tres” Varbind 5: “veinte” Varbind 7: “sesenta”</p>
De esta manera, si el trap tiene 200 variables, se pueden usar hasta 20 filtros de variables (bindings) y tomar el valor de hasta 20 variables, independientemente si están en la posición 10, 50, o 170.</p> <p>De esta manera, si el trap tiene 200 variables, se pueden usar hasta 20 filtros de variables (Varbinds) y tomar el valor de hasta 20 variables, independientemente si están en la posición 10, 50, o 170.</p>
</tr> </tr>
</table> </table>