This is a discussion on Re: NET-SNMP 5.3 and Fedora Core 5 (traffic update every 30 seconds) within the SNMP Users forums, part of the Networking and Network Related category; --===============0093342923== Content-Type: multipart/alternative; boundary="----=_Part_41004_16344337.1156167505055" ------=_Part_41004_16344337.1156167505055 Content-Type: text/plain; charset=ISO-8859-1; ...
|
|||||||
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
|
|||
|
--===============0093342923==
Content-Type: multipart/alternative; boundary="----=_Part_41004_16344337.1156167505055" ------=_Part_41004_16344337.1156167505055 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline Dave, I don't believe it's these settings. I downloaded the 5.2.3 source and compared against 5.3.1. These two pieces hasn't changed. I tried figure out if the problem is in Linux. I found "/proc/net/dev" that updates continuously the values for traffic. (try "watch -n1 -d cat /proc/net/dev"). I'm still suspecting that "30 seconds refresh" is inside the sources. Really thanks -Gilson On 8/21/06, Dave Shield <D.T.Shield@csc.liv.ac.uk> wrote: > > On 18/08/06, Gilson Soares <gilson.soares@gmail.com> wrote: > > Does anyone knows how to configure NET-SNMP to be every second as before > ? > > There are two places where this appears to be controlled. > One is in 'ifTable/ifTable_interface.c:_ifTable_container_init()', > where there's a call to > netsnmp_cache_create( 30, .... ); > > The other is in 'ifTable/ifTable_data_access.h', where there's a > definition > #define IFTABLE_CACHE_TIMEOUT 15 > > Try changing one (or both) of these to 1, and re-compiling. > > Dave > ------=_Part_41004_16344337.1156167505055 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline <div>Dave,</div> <div> </div> <div>I don't believe it's these settings.</div> <div>I downloaded the 5.2.3 source and compared against 5.3.1.</div> <div>These two pieces hasn't changed.</div> <div> </div> <div>I tried figure out if the problem is in Linux. I found "/proc/net/dev" that updates continuously the values for traffic.</div> <div>(try "watch -n1 -d cat /proc/net/dev").</div> <div> </div> <div>I'm still suspecting that "30 seconds refresh" is inside the sources.</div> <div> </div> <div>Really thanks</div> <div>-Gilson <br><br><br> </div> <div><span class="gmail_quote">On 8/21/06, <b class="gmail_sendername">Dave Shield</b> <<a href="mailto:D.T.Shield@csc.liv.ac.uk">D.T.Shield@ csc.liv.ac.uk</a>> wrote:</span> <blockquote class="gmail_quote" style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid">On 18/08/06, Gilson Soares <<a href="mailto:gilson.soares@gmail.com">gilson.soare s@gmail.com</a>> wrote: <br>> Does anyone knows how to configure NET-SNMP to be every second as before ?<br><br>There are two places where this appears to be controlled.<br>One is in 'ifTable/ifTable_interface.c:_ifTable_container_init()',<br > where there's a call to<br> netsnmp_cache_create( 30, .... );<br><br>The other is in 'ifTable/ifTable_data_access.h', where there's a definition<br> #define IFTABLE_CACHE_TIMEOUT 15<br><br>Try changing one (or both) of these to 1, and re-compiling. <br><br>Dave<br></blockquote></div><br> ------=_Part_41004_16344337.1156167505055-- --===============0093342923== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=...057&dat=121642 --===============0093342923== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Net-snmp-users mailing list Net-snmp-users@lists.sourceforge.net Please see the following page to unsubscribe or change other options: https://lists.sourceforge.net/lists/...net-snmp-users --===============0093342923==-- |