2010-11-19 Ramon Novoa <rnovoa@artica.es>
* lib/PandoraFMS/Core.pm: Added a missing paremeter to pandora_generate_alert in pandora_module_unknown. Fixes bug #3111191. git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3605 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
This commit is contained in:
parent
5acbc25484
commit
569f86e096
|
@ -1,3 +1,9 @@
|
|||
2010-11-19 Ramon Novoa <rnovoa@artica.es>
|
||||
|
||||
* lib/PandoraFMS/Core.pm: Added a missing paremeter to
|
||||
pandora_generate_alert in pandora_module_unknown. Fixes
|
||||
bug #3111191.
|
||||
|
||||
2010-11-19 Ramon Novoa <rnovoa@artica.es>
|
||||
|
||||
* lib/PandoraFMS/Core.pm: Fixed regexp alerts. The patch to detect
|
||||
|
|
|
@ -2115,7 +2115,7 @@ sub pandora_module_unknown ($$) {
|
|||
|
||||
# Generate alerts
|
||||
if (pandora_inhibit_alerts ($pa_config, $agent, $dbh, 0) == 0) {
|
||||
pandora_generate_alerts ($pa_config, 0, 3, $agent, $module, time (), $dbh, undef, 0, 'unknown');
|
||||
pandora_generate_alerts ($pa_config, 0, 3, $agent, $module, time (), $dbh, undef, undef, 0, 'unknown');
|
||||
} else {
|
||||
logger($pa_config, "Alerts inhibited for agent '" . $agent->{'nombre'} . "'.", 10);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue