Re: 5.4 Open Issues

This is a discussion on Re: 5.4 Open Issues within the SNMP Coders forums, part of the Networking and Network Related category; On 10/10/06, Bruce Shaw <Bruce.Shaw@gov.ab.ca> wrote: > >3) hrStorageIndexes > Locking ...


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

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 10-10-2006
Dave Shield
 
Posts: n/a
Default Re: 5.4 Open Issues

On 10/10/06, Bruce Shaw <Bruce.Shaw@gov.ab.ca> wrote:
> >3) hrStorageIndexes


> Locking the beginning of the disk entries into index 30 assumes nobody would
> 'be stupid'/'is insane'/'has a server overworked' enough to have more than
> 29 swap entries. That's not a good assumption.


Agreed.

One approach would be for the disk entries to default to starting at
30, but allow extra swap entries to push this starting point onwards.

An alternative would be to use 10-29 for swap, then 30+ for disks,
followed by any "overflow" swap. That would probably be my
preference, though it's harder to code.


> There's also nothing in the MIB about it.


There can't be. HostRes indexes are completely arbitrary (and don't
even need to be consistent from one run of the agent to the next).
Having things come in blocks is simply a convenience for the
programmer (and the N/W admin)

> Why can't they just be contiguous?


The downside of that is that it makes disk indexes unhelpfully changeable.
Adding a new swap file or partition would affect all the disk settings
- either immediately (which probably isn't allowed) or when the agent
next starts up (which is confusing).

Having a fixed starting point makes the common situation much easier
to deal with.

I propose that this is something to think about for future releases
(either 5.4.x or 5.5, I'm not immediately sure which). But it's not
worth delaying the 5.4 release for.
(Now where have you heard that comment before! :-))

Dave

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?p...rge&CID=DEVDEV
_______________________________________________
Net-snmp-coders mailing list
Net-snmp-coders@lists.sourceforge.net
https://lists.sourceforge.net/lists/...et-snmp-coders
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 06:57 AM.


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