Re: net-snmp 5.6.1.1 problem

Kuroishi Mitsuo <[email protected]>
Newsgroups gmane.network.net-snmp.user
Message-ID <[email protected]>
  Message-id: <[email protected]>
  From:       Simon K <[email protected]>
  Subject:    net-snmp 5.6.1.1 problem
  Date:       Thu, 18 Apr 2013 15:16:23 +0800 (SGT)

  > Hi All ,
  > 
  > I am using HP-UX machine , i compiled and installed net-snmp version 5.6.1.1 on my machine and after net-snmp installed CPU utilization is varying 10-40%
  > 
  > Machine : HP-UX
  > Architecture : 11.23
  > 
  > Please help me to solve this problem , CPU utilization 10% to 40% after installing net-snmp software .
  > 
  > Thanks & Regards,


You mean the machine is kind of busy, right?


In my case the period of scan of interface table seems too short
because of using low-end cpu machine.

You can try to modify a value as below and build again.


--- net-snmp/agent/mibgroup/if-mib/ifTable/ifTable_data_access.h
+++ net-snmp/agent/mibgroup/if-mib/ifTable/ifTable_data_access.h
@@ -46,7 +46,7 @@
      * A 10 Mbps stream can wrap if*Octets in ~57 minutes.
      * At 100 Mbps it is ~5 minutes, and at 1 Gbps, ~34 seconds.
      */
-#define IFTABLE_CACHE_TIMEOUT   3
+#define IFTABLE_CACHE_TIMEOUT   30

 #define IFTABLE_REMOVE_MISSING_AFTER     (5 * 60) /* seconds */

Regards,

--
Kuroishi Mitsuo

------------------------------------------------------------------------------
Precog is a next-generation analytics platform capable of advanced
analytics on semi-structured data. The platform includes APIs for building
apps and a phenomenal toolset for data science. Developers can use
our toolset for easy data analysis & visualization. Get a free account!
http://www2.precog.com/precogplatform/slashdotnewsletter
_______________________________________________
Net-snmp-users mailing list
[email protected]
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.