I haven't sent in my modifications yet b/c I wanted to go over a few
things.  While porting the host-resources MIB, I noticed that an snmpwalk
through the IF-MIB caused the daemon to hang.  The method being used in
mibII/interfaces.c didn't work reliably with AIX 5 (at least with 5.2).  
The only way that I have found to get reliable interface info from AIX is
through libperfstat, so I changed the code to use it for aix5.  However, I
have not done enough research into the matter to know whether this was the
best course of action.

The rest of the HR MIB (excluding software and processes) was pretty
strait forward.  However, FSType didn't quite work the way we expected it
to.  When the daemon is starts, it caches up the information from
getmntent.  When subsequent calls are made to FSType, the answer reflects
the filesystem's type at startup.  We wanted to be able to detect when
GPFS becomes unmounted by seeing if the filesystem type changes to the
underlying type.  To accomplish this, I borrowed from the hrStorageUsed
code and call fstat to get the filesystem type every time.  Does this go 
against the original intent of the code?

Thanks,

Steven.

-- 
Steven M. Carter                "A foolish consistency is the hobgoblin of
Oak Ridge National Laboratory    little minds, adored by little statesmen
[EMAIL PROTECTED]                 and philosophers and divines." -- Emerson


-------------------------------------------------------
This SF.Net email sponsored by Black Hat Briefings & Training.
Attend Black Hat Briefings & Training, Las Vegas July 24-29 - 
digital self defense, top technical experts, no vendor pitches, 
unmatched networking opportunities. Visit www.blackhat.com
_______________________________________________
Net-snmp-coders mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/net-snmp-coders

Reply via email to