Changed verbosity level of the warning "snmpTrapOID not found" to 5.
This commit is contained in:
parent
09ddd9aa93
commit
660a4594e5
|
@ -212,7 +212,7 @@ sub pandora_snmptrapd {
|
|||
$oid = $type_desc if ($oid eq '' || $oid eq '.');
|
||||
|
||||
if (!defined($oid)) {
|
||||
logger($pa_config, "[W] snmpTrapOID not found (Illegal SNMPv1 trap?)", 1);
|
||||
logger($pa_config, "[W] snmpTrapOID not found (Illegal SNMPv1 trap?)", 5);
|
||||
return;
|
||||
}
|
||||
|
||||
|
@ -224,7 +224,7 @@ sub pandora_snmptrapd {
|
|||
$oid = shift @data;
|
||||
|
||||
if (!defined($oid)) {
|
||||
logger($pa_config, "[W] snmpTrapOID not found (Illegal SNMPv2 trap?)", 1);
|
||||
logger($pa_config, "[W] snmpTrapOID not found (Illegal SNMPv2 trap?)", 5);
|
||||
return;
|
||||
}
|
||||
$oid =~ s/.* = OID: //;
|
||||
|
|
Loading…
Reference in New Issue