2011-11-04 Koichiro Kikuchi <koichiro@rworks.jp>
* pandora_server/lib/PandoraFMS/Core.pm: Added missing safe_output to decode str_critical/str_warning. git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@5111 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
This commit is contained in:
parent
deb7064b1b
commit
9c809b2b26
|
@ -1,3 +1,8 @@
|
|||
2011-11-04 Koichiro Kikuchi <koichiro@rworks.jp>
|
||||
|
||||
* lib/PandoraFMS/Core.pm: Added missing safe_output to decode
|
||||
str_critical/str_warning.
|
||||
|
||||
2011-10-28 Dario Rodriguez <dario.rodriguez@artica.es>
|
||||
|
||||
* util/recon_scripts/snmpdevices.pl: Fixed a bug related to main loop
|
||||
|
|
|
@ -1904,7 +1904,7 @@ sub get_module_status ($$$) {
|
|||
my ($data, $module, $module_type) = @_;
|
||||
my ($critical_min, $critical_max, $warning_min, $warning_max) =
|
||||
($module->{'min_critical'}, $module->{'max_critical'}, $module->{'min_warning'}, $module->{'max_warning'});
|
||||
my ($critical_str, $warning_str) = ($module->{'str_critical'}, $module->{'str_warning'});
|
||||
my ($critical_str, $warning_str) = map { safe_output($_) } ($module->{'str_critical'}, $module->{'str_warning'});
|
||||
|
||||
# Was the module status set in the XML data file?
|
||||
if (defined ($module->{'status'})) {
|
||||
|
|
Loading…
Reference in New Issue