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:
Ramon Novoa 2009-03-04 09:08:10 +00:00
parent b92e874d23
commit 76a8627ded
2 changed files with 6 additions and 1 deletions

View File

@ -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

View File

@ -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