Changed verbosity level of the warning "snmpTrapOID not found" to 5.

This commit is contained in:
Hirofumi Kosaka 2017-06-20 16:52:06 +09:00
parent 09ddd9aa93
commit 660a4594e5
1 changed files with 2 additions and 2 deletions

View File

@ -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: //;