>From the displays it looks like the issue is  the agent is not
configured to allow access to these objects. Is that  normal AIX
permissions or related to net-snmp configuration ? 
 
Thanks for the help. 
 
Steve 
 
../agent/mibgroup/ucd-snmp
# ls -l | grep disk
-rw-r--r--   1 1274     1274          26470 Sep 28 2011  disk.c
-rw-r--r--   1 1274     1274            632 Sep 28 2011  disk.h
-rw-r--r--   1 1274     1274          12110 Sep 28 2011  disk_hw.c
-rw-r--r--   1 1274     1274            674 Sep 28 2011  disk_hw.h
-rw-r--r--   1 1274     1274          43553 Sep 28 2011  diskio.c
-rw-r--r--   1 1274     1274           1133 Sep 28 2011  diskio.h
 
../agent/mibgroup/hardware/fsys
# ls -l
total 104
-rw-r--r--   1 1274     1274           5009 Sep 28 2011 
fsys_getfsstats.c
-rw-r--r--   1 1274     1274           4691 Sep 28 2011  fsys_mntctl.c
-rw-r--r--   1 1274     1274           7480 Sep 28 2011  fsys_mntent.c
-rw-r--r--   1 1274     1274            390 Sep 28 2011  fsys_void.c
-rw-r--r--   1 1274     1274           8310 Sep 28 2011  hw_fsys.c
-rw-r--r--   1 1274     1274             56 Sep 28 2011  hw_fsys.h
-rw-r--r--   1 1274     1274           3548 Sep 28 2011  mnttypes.h
-rw-r--r--   1 1274     1274           3199 Sep 28 2011  mounts.h
 
# snmpwalk -v2c -c private hostname ucdavis
UCD-SNMP-MIB::prIndex.1 = INTEGER: 1
UCD-SNMP-MIB::prNames.1 = STRING: /usr/sbin/cron
UCD-SNMP-MIB::prMin.1 = INTEGER: 1
UCD-SNMP-MIB::prMax.1 = INTEGER: 0
UCD-SNMP-MIB::prCount.1 = INTEGER: 0
UCD-SNMP-MIB::prErrorFlag.1 = INTEGER: error(1)
UCD-SNMP-MIB::prErrMessage.1 = STRING: No /usr/sbin/cron process
running
UCD-SNMP-MIB::prErrFix.1 = INTEGER: noError(0)
UCD-SNMP-MIB::prErrFixCmd.1 = STRING:
UCD-SNMP-MIB::memIndex.0 = INTEGER: 0
UCD-SNMP-MIB::memErrorName.0 = STRING: swap
UCD-SNMP-MIB::memTotalSwap.0 = INTEGER: 4194304 kB
UCD-SNMP-MIB::memAvailSwap.0 = INTEGER: 4193360 kB
UCD-SNMP-MIB::memTotalReal.0 = INTEGER: 4194304 kB
UCD-SNMP-MIB::memAvailReal.0 = INTEGER: 2975488 kB
UCD-SNMP-MIB::memTotalFree.0 = INTEGER: 7168848 kB
UCD-SNMP-MIB::memMinimumSwap.0 = INTEGER: 16000 kB
UCD-SNMP-MIB::memSwapError.0 = INTEGER: noError(0)
UCD-SNMP-MIB::memSwapErrorMsg.0 = STRING:
UCD-SNMP-MIB::dskIndex.1 = INTEGER: 0
UCD-SNMP-MIB::dskIndex.2 = INTEGER: 1
UCD-SNMP-MIB::dskIndex.3 = INTEGER: 2
UCD-SNMP-MIB::dskIndex.4 = INTEGER: 3
UCD-SNMP-MIB::dskPath.1 = STRING: /dev/hd4
UCD-SNMP-MIB::dskPath.2 = STRING: /dev/hd2
UCD-SNMP-MIB::dskPath.3 = STRING: /
UCD-SNMP-MIB::dskPath.4 = STRING: /usr
UCD-SNMP-MIB::dskDevice.1 = STRING:
UCD-SNMP-MIB::dskDevice.2 = STRING:
UCD-SNMP-MIB::dskDevice.3 = STRING:
UCD-SNMP-MIB::dskDevice.4 = STRING:
UCD-SNMP-MIB::dskMinimum.1 = INTEGER: -1
UCD-SNMP-MIB::dskMinimum.2 = INTEGER: -1
UCD-SNMP-MIB::dskMinimum.3 = INTEGER: -1
UCD-SNMP-MIB::dskMinimum.4 = INTEGER: -1
UCD-SNMP-MIB::dskMinPercent.1 = INTEGER: 10
UCD-SNMP-MIB::dskMinPercent.2 = INTEGER: 10
UCD-SNMP-MIB::dskMinPercent.3 = INTEGER: 10
UCD-SNMP-MIB::dskMinPercent.4 = INTEGER: 10
UCD-SNMP-MIB::dskTotal.1 = INTEGER: 0
UCD-SNMP-MIB::dskTotal.2 = INTEGER: 0
UCD-SNMP-MIB::dskTotal.3 = INTEGER: 0
UCD-SNMP-MIB::dskTotal.4 = INTEGER: 0
UCD-SNMP-MIB::dskAvail.1 = INTEGER: 0
UCD-SNMP-MIB::dskAvail.2 = INTEGER: 0
UCD-SNMP-MIB::dskAvail.3 = INTEGER: 0
UCD-SNMP-MIB::dskAvail.4 = INTEGER: 0
UCD-SNMP-MIB::dskUsed.1 = INTEGER: 0
UCD-SNMP-MIB::dskUsed.2 = INTEGER: 0
UCD-SNMP-MIB::dskUsed.3 = INTEGER: 0
UCD-SNMP-MIB::dskUsed.4 = INTEGER: 0
UCD-SNMP-MIB::dskPercent.1 = INTEGER: 0
UCD-SNMP-MIB::dskPercent.2 = INTEGER: 0
UCD-SNMP-MIB::dskPercent.3 = INTEGER: 0
UCD-SNMP-MIB::dskPercent.4 = INTEGER: 0
UCD-SNMP-MIB::dskPercentNode.1 = INTEGER: 0
UCD-SNMP-MIB::dskPercentNode.2 = INTEGER: 0
UCD-SNMP-MIB::dskPercentNode.3 = INTEGER: 0
UCD-SNMP-MIB::dskPercentNode.4 = INTEGER: 0
UCD-SNMP-MIB::dskTotalLow.1 = Gauge32: 0
UCD-SNMP-MIB::dskTotalLow.2 = Gauge32: 0
UCD-SNMP-MIB::dskTotalLow.3 = Gauge32: 0
UCD-SNMP-MIB::dskTotalLow.4 = Gauge32: 0
UCD-SNMP-MIB::dskTotalHigh.1 = Gauge32: 0
UCD-SNMP-MIB::dskTotalHigh.2 = Gauge32: 0
UCD-SNMP-MIB::dskTotalHigh.3 = Gauge32: 0
UCD-SNMP-MIB::dskTotalHigh.4 = Gauge32: 0
UCD-SNMP-MIB::dskAvailLow.1 = Gauge32: 0
UCD-SNMP-MIB::dskAvailLow.2 = Gauge32: 0
UCD-SNMP-MIB::dskAvailLow.3 = Gauge32: 0
UCD-SNMP-MIB::dskAvailLow.4 = Gauge32: 0
UCD-SNMP-MIB::dskAvailHigh.1 = Gauge32: 0
UCD-SNMP-MIB::dskAvailHigh.2 = Gauge32: 0
UCD-SNMP-MIB::dskAvailHigh.3 = Gauge32: 0
UCD-SNMP-MIB::dskAvailHigh.4 = Gauge32: 0
UCD-SNMP-MIB::dskUsedLow.1 = Gauge32: 0
UCD-SNMP-MIB::dskUsedLow.2 = Gauge32: 0
UCD-SNMP-MIB::dskUsedLow.3 = Gauge32: 0
UCD-SNMP-MIB::dskUsedLow.4 = Gauge32: 0
UCD-SNMP-MIB::dskUsedHigh.1 = Gauge32: 0
UCD-SNMP-MIB::dskUsedHigh.2 = Gauge32: 0
UCD-SNMP-MIB::dskUsedHigh.3 = Gauge32: 0
UCD-SNMP-MIB::dskUsedHigh.4 = Gauge32: 0
UCD-SNMP-MIB::dskErrorFlag.1 = INTEGER: error(1)
UCD-SNMP-MIB::dskErrorFlag.2 = INTEGER: error(1)
UCD-SNMP-MIB::dskErrorFlag.3 = INTEGER: error(1)
UCD-SNMP-MIB::dskErrorFlag.4 = INTEGER: error(1)
UCD-SNMP-MIB::dskErrorMsg.1 = STRING: /dev/hd4: less than 10% free (=
0%)
UCD-SNMP-MIB::dskErrorMsg.2 = STRING: /dev/hd2: less than 10% free (=
0%)
UCD-SNMP-MIB::dskErrorMsg.3 = STRING: /: less than 10% free (= 0%)
UCD-SNMP-MIB::dskErrorMsg.4 = STRING: /usr: less than 10% free (= 0%)
UCD-SNMP-MIB::laIndex.1 = INTEGER: 1
UCD-SNMP-MIB::laIndex.2 = INTEGER: 2
UCD-SNMP-MIB::laIndex.3 = INTEGER: 3
UCD-SNMP-MIB::laNames.1 = STRING: Load-1
UCD-SNMP-MIB::laNames.2 = STRING: Load-5
UCD-SNMP-MIB::laNames.3 = STRING: Load-15
UCD-SNMP-MIB::laLoad.1 = STRING: 0.00
UCD-SNMP-MIB::laLoad.2 = STRING: 0.00
UCD-SNMP-MIB::laLoad.3 = STRING: 0.00
UCD-SNMP-MIB::laConfig.1 = STRING: 12.00
UCD-SNMP-MIB::laConfig.2 = STRING: 12.00
UCD-SNMP-MIB::laConfig.3 = STRING: 12.00
UCD-SNMP-MIB::laLoadInt.1 = INTEGER: 0
UCD-SNMP-MIB::laLoadInt.2 = INTEGER: 0
UCD-SNMP-MIB::laLoadInt.3 = INTEGER: 0
UCD-SNMP-MIB::laLoadFloat.1 = Opaque: Float: 0.000000
UCD-SNMP-MIB::laLoadFloat.2 = Opaque: Float: 0.000000
UCD-SNMP-MIB::laLoadFloat.3 = Opaque: Float: 0.002014
UCD-SNMP-MIB::laErrorFlag.1 = INTEGER: noError(0)
UCD-SNMP-MIB::laErrorFlag.2 = INTEGER: noError(0)
UCD-SNMP-MIB::laErrorFlag.3 = INTEGER: noError(0)
UCD-SNMP-MIB::laErrMessage.1 = STRING:
UCD-SNMP-MIB::laErrMessage.2 = STRING:
UCD-SNMP-MIB::laErrMessage.3 = STRING:
UCD-SNMP-MIB::ssIndex.0 = INTEGER: 1
UCD-SNMP-MIB::ssErrorName.0 = STRING: systemStats
UCD-SNMP-MIB::ssSwapIn.0 = INTEGER: 0 kB
UCD-SNMP-MIB::ssSwapOut.0 = INTEGER: 0 kB
UCD-SNMP-MIB::ssIOSent.0 = INTEGER: 5 blocks/s
UCD-SNMP-MIB::ssIOReceive.0 = INTEGER: 14 blocks/s
UCD-SNMP-MIB::ssSysInterrupts.0 = INTEGER: 8 interrupts/s
UCD-SNMP-MIB::ssSysContext.0 = INTEGER: 61 switches/s
UCD-SNMP-MIB::ssCpuUser.0 = INTEGER: 0
UCD-SNMP-MIB::ssCpuSystem.0 = INTEGER: 0
UCD-SNMP-MIB::ssCpuIdle.0 = INTEGER: 99
UCD-SNMP-MIB::ssCpuRawUser.0 = Counter32: 97612
UCD-SNMP-MIB::ssCpuRawNice.0 = Counter32: 0
UCD-SNMP-MIB::ssCpuRawSystem.0 = Counter32: 183002
UCD-SNMP-MIB::ssCpuRawIdle.0 = Counter32: 23954591
UCD-SNMP-MIB::ssCpuRawWait.0 = Counter32: 112574
UCD-SNMP-MIB::ssCpuRawKernel.0 = Counter32: 70428
UCD-SNMP-MIB::ssCpuRawInterrupt.0 = Counter32: 0
UCD-SNMP-MIB::ssIORawSent.0 = Counter32: 1096626
UCD-SNMP-MIB::ssIORawReceived.0 = Counter32: 3403920
UCD-SNMP-MIB::ssRawInterrupts.0 = Counter32: 1878324
UCD-SNMP-MIB::ssRawContexts.0 = Counter32: 18044278
UCD-SNMP-MIB::ssCpuRawSoftIRQ.0 = Counter32: 0
UCD-SNMP-MIB::ssRawSwapIn.0 = Counter32: 0
UCD-SNMP-MIB::ssRawSwapOut.0 = Counter32: 0
UCD-SNMP-MIB::ssCpuRawSteal.0 = Counter32: 0
UCD-SNMP-MIB::ssCpuRawGuest.0 = Counter32: 0
UCD-SNMP-MIB::ssCpuRawGuestNice.0 = Counter32: 0
UCD-DLMOD-MIB::dlmodNextIndex.0 = INTEGER: 1
UCD-SNMP-MIB::logMatchMaxEntries.0 = INTEGER: 250
UCD-SNMP-MIB::versionIndex.0 = INTEGER: 1
UCD-SNMP-MIB::versionTag.0 = STRING: 5.7.1
UCD-SNMP-MIB::versionDate.0 = STRING: $Date$
UCD-SNMP-MIB::versionCDate.0 = STRING: Fri Apr 13 08:02:24 2012
UCD-SNMP-MIB::versionIdent.0 = STRING: $Id$
UCD-SNMP-MIB::versionConfigureOptions.0 = STRING:  '--disable-shared'
'--without                                                             
-kmem-usage' '--with-default-snmp-version=2'
UCD-SNMP-MIB::versionClearCache.0 = INTEGER: 0
UCD-SNMP-MIB::versionUpdateConfig.0 = INTEGER: 0
UCD-SNMP-MIB::versionRestartAgent.0 = INTEGER: 0
UCD-SNMP-MIB::versionSavePersistentData.0 = INTEGER: 0
UCD-SNMP-MIB::versionDoDebugging.0 = INTEGER: 0
UCD-SNMP-MIB::snmperrIndex.0 = INTEGER: 0
UCD-SNMP-MIB::snmperrNames.0 = STRING: snmp
UCD-SNMP-MIB::snmperrErrorFlag.0 = INTEGER: noError(0)
UCD-SNMP-MIB::snmperrErrMessage.0 = STRING:


>>> Dave Shield <d.t.shi...@liverpool.ac.uk> 4/13/2012 5:35 AM >>>
On 12 April 2012 17:30, Stephen Grecni <sgre...@metrohealth.org>
wrote:
> I installed net-snmp 5.7.1 on AIX 5.3. (Thanks for the compile help).
When I
> run the command  snmpwalk -v2c -c private hostname dsk I do not get
anything
> returned for the UCD-SNMP-MIB::dis**  fields.

Two possibilities spring to mind:
   - either the agent is not configured to allow access to these
objects,
   - or the agent does not provide this information under AIX

You can check the first by seeing what else you can see under the
'ucd-snmp'
tree.   If the output of
         snmpwalk -v2c -c private hostname   ucdavis

is essentially empty when querying the AIX agent, then the first is
the
most likely cause.   Check the access control settings in the agent.

If the output is broadly similar for both AIX and Linux agents, but
with
individual chunks missing under AIX,  then it's more likely to be due
to
the agent implementation code   (which is highly OS-specific)

Given that you've compiled the agent yourself, it's reasonably simple
to
determine what modules are being used.
  Please list the contents of 'agent/mibgroup/ucd-snmp' and look at
the
object files (.o/.lo).   I would expect to see either disk.o  *or* 
disk_hw.o
Which is present?
   If it's disk_hw.o, then please list  'agent/mibgroup/hardware/fsys'
as well.
Which .o files are present there?


> is there documentation on configuring
> net-snmp on AIX or is it the same as other OS versions ?

It's essentially the same across all OS's.
The main difference is with what code is present, and hence which
MIB modules are implemented on particular OS's.   Given that AIX
is an environment that (AFAIK) none of the core developers have
access to,  this may well be one of the weaker systems.

Dave

MetroHealth is an Academic Health Care System committed to Our
Communities by Saving Lives, Restoring Health, Promoting Wellness, and
providing Outstanding, Life-long Care Accessible to All. Visit us at
http://www.metrohealth.org. See remarkable patient stories at 
thecomeback.org. Follow us 
on Facebook: http://www.facebook.com/MetroHealthCLE, Twitter:
http://twitter.com/MetroHealthCLE, and
YouTube:http://www.youtube.com/user/MetroHealthCLE.

This email and all attachments that may have been included are intended
only for the use of the party to whom/which the email is addressed and
may contain information that is privileged, confidential, or exempt from
disclosure under applicable law. If you are not the addressee or the
employee or 
agent of the intended recipient, you are hereby notified that you are
strictly prohibited from printing, storing, disseminating, distributing,
or copying this communication. If you have received this notification in
error, please contact the Director of Risk/Privacy Management at
(216)778-5728. For a copy of 
our Notice of Privacy Practices, please visit:
http://www.metrohealth.org/general/privacy.asp

------------------------------------------------------------------------------
For Developers, A Lot Can Happen In A Second.
Boundary is the first to Know...and Tell You.
Monitor Your Applications in Ultra-Fine Resolution. Try it FREE!
http://p.sf.net/sfu/Boundary-d2dvs2
_______________________________________________
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/listinfo/net-snmp-users

Reply via email to