Re: NET-SNMP 5.3 and Fedora Core 5 (traffic update every 30 seconds)

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; ...


Go Back   Usenet Forums > Networking and Network Related > SNMP Users

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 08-21-2006
Gilson Soares
 
Posts: n/a
Default Re: NET-SNMP 5.3 and Fedora Core 5 (traffic update every 30 seconds)

--===============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>&nbsp;</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>&nbsp;</div>
<div>I tried figure out if the problem is in Linux. I found &quot;/proc/net/dev&quot; that updates continuously the values for traffic.</div>
<div>(try &quot;watch -n1 -d cat /proc/net/dev&quot;).</div>
<div>&nbsp;</div>
<div>I'm still suspecting that &quot;30 seconds refresh&quot; is inside the sources.</div>
<div>&nbsp;</div>
<div>Really thanks</div>
<div>-Gilson <br><br><br>&nbsp;</div>
<div><span class="gmail_quote">On 8/21/06, <b class="gmail_sendername">Dave Shield</b> &lt;<a href="mailto:D.T.Shield@csc.liv.ac.uk">D.T.Shield@ csc.liv.ac.uk</a>&gt; 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 &lt;<a href="mailto:gilson.soares@gmail.com">gilson.soare s@gmail.com</a>&gt; wrote:
<br>&gt; 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>&nbsp;&nbsp; netsnmp_cache_create( 30, .... );<br><br>The other is in 'ifTable/ifTable_data_access.h', where there's a definition<br>&nbsp;&nbsp; #define IFTABLE_CACHE_TIMEOUT&nbsp;&nbsp; 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==--

Reply With Quote
Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT +1. The time now is 07:43 PM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0