From: Christos Tsantilas Date: Thu, 3 Feb 2011 15:13:43 +0000 (+0200) Subject: SMP SNMP X-Git-Tag: take03^2~37 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=08723f8a014d62c38c4fac205f42068c0df7823a;p=thirdparty%2Fsquid.git SMP SNMP The attached patch implements aggregation of SNMP responses, similar to how we aggregate some cache manager stats. The code contains changes that allow us to share some of the classes between Cache Manager and SNMP code: * implement the following base classes under the ipc directory/module: - Ipc::Forwarder (ipc/Forwarder{.cc,.h} files) - Ipc::Inquirer (ipc/Inquirer{.cc,.h} files) - Ipc::Request (ipc/Request{.cc,.h} files) - Ipc::Response (ipc/Response{.cc,.h} files) * fix the Mgr::Forwarder, Mgr::Inquirer, Mgr::Request and Mgr::Response classes to be implemented as kid classes of the equivalent Icp::* classes. Also implements for the SNMP the same mechanism used for cache manager: The SNMP requests forwarder to coordinator which collects the statistics from kids and aggregate them. This is a Measurement Factory project --- 08723f8a014d62c38c4fac205f42068c0df7823a