2006-10-30 Sancho Lerena <slerena@artica.es>

* /bin/pandora_snmpconsole.pl: Now type description will be used if
        no user value is provided. More descriptive SNMP console without MIB
        translation (for 1.3 will be a basic MIB translation to descriptive
        OID).


git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@242 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
This commit is contained in:
slerena 2006-10-31 12:26:12 +00:00
parent f91c1a801a
commit 390c4f0d49
1 changed files with 1 additions and 1 deletions

View File

@ -147,7 +147,7 @@ sub pandora_snmptrapd {
} else { # not custom OID type, deleting old values in these vars
$custom_oid="";
$custom_type="";
$custom_value="";
$custom_value="type_desc";
}
$sql_insert = "insert into ttrap (timestamp, source, oid, type, value, oid_custom, value_custom, type_custom) values ('$timestamp', '$source', '$oid', $type, '$value', '$custom_oid', '$custom_value', '$custom_type')";
logger ($pa_config,"Received SNMP Trap from $source",2);