2009-03-04 Ramon Novoa <rnovoa@artica.es>
* lib/PandoraFMS/DB.pm: Fixed alert recovery custom fields. field3_recovery was not being properly set. git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1503 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
This commit is contained in:
parent
bf487e7bec
commit
3a7d93b3b6
|
@ -1,3 +1,8 @@
|
|||
2009-03-04 Ramon Novoa <rnovoa@artica.es>
|
||||
|
||||
* lib/PandoraFMS/DB.pm: Fixed alert recovery custom fields.
|
||||
field3_recovery was not being properly set.
|
||||
|
||||
2009-02-20 Evi Vanoost <vanooste@rcbi.rochester.edu>
|
||||
|
||||
* bin/pandora_snmpconsole: Fixed SNMP console going down while
|
||||
|
|
|
@ -594,7 +594,7 @@ sub execute_alert ($$$$$$$$$) {
|
|||
# Recovery fields, thanks to Kato Atsushi
|
||||
if ($alert_mode == 0){
|
||||
$field2 = $alert->{'field2_recovery'} ne "" ? $alert->{'field2_recovery'} : "[RECOVER]" . $field2;
|
||||
$field2 = $alert->{'field3_recovery'} ne "" ? $alert->{'field2_recovery'} : "[RECOVER]" . $field3;
|
||||
$field3 = $alert->{'field3_recovery'} ne "" ? $alert->{'field3_recovery'} : "[RECOVER]" . $field3;
|
||||
}
|
||||
|
||||
# Alert macros
|
||||
|
|
Loading…
Reference in New Issue