From: Davis McPherson (davmcphe) Date: Wed, 29 Jul 2020 23:30:38 +0000 (+0000) Subject: Merge pull request #2361 in SNORT/snort3 from ~DAVMCPHE/snort3:host_attribute_peg_cou... X-Git-Tag: 3.0.2-4~11 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4c450754b2d6c4097bdd91be908ec03e9a4546f1;p=thirdparty%2Fsnort3.git Merge pull request #2361 in SNORT/snort3 from ~DAVMCPHE/snort3:host_attribute_peg_counts to master Squashed commit of the following: commit 3c8c6ce0fbce7fc2810698bfae92053444f27c7f Author: davis mcpherson Date: Wed Jul 29 15:18:36 2020 -0400 utils: keep deprecated attribute table pegcounts --- diff --git a/src/utils/stats.cc b/src/utils/stats.cc index 71fc19bb7..18a52e21e 100644 --- a/src/utils/stats.cc +++ b/src/utils/stats.cc @@ -220,6 +220,8 @@ const PegInfo proc_names[] = { CountType::SUM, "inspector_deletions", "number of times inspectors were deleted" }, { CountType::SUM, "daq_reloads", "number of times daq configuration was reloaded" }, { CountType::SUM, "attribute_table_reloads", "number of times hosts attribute table was reloaded" }, + { CountType::SUM, "attribute_table_hosts", "number of hosts added to the attribute table" }, + { CountType::SUM, "attribute_table_overflow", "number of host additions that failed due to attribute table full" }, { CountType::END, nullptr, nullptr } }; diff --git a/src/utils/stats.h b/src/utils/stats.h index 2c492989d..17160f89c 100644 --- a/src/utils/stats.h +++ b/src/utils/stats.h @@ -81,6 +81,8 @@ struct ProcessCount PegCount inspector_deletions; PegCount daq_reloads; PegCount attribute_table_reloads; + PegCount attribute_table_hosts; // FIXIT-D - remove when host attribute pegs updated + PegCount attribute_table_overflow; // FIXIT-D - remove when host attribute pegs updated }; extern ProcessCount proc_stats;