I'm new to net-snmp and MRTG but I'm working my way through it.

I have a question about the UCD-SNMP-MIB. I'm not seeing some of the available OIDs -- like memory [.4] -- and am wondering if I have to add something more to my snmpd.conf file to gain access to them.

Here is what my snmpd.conf file looks like now:

####################################################################### ####
#
# snmpd.conf
#
# - created by the snmpconf configuration program
#



rocommunity public


####################################################################### ###
#
# Check for processes running
#


proc httpd


####################################################################### ###
#
# Check disk space
#


disk /



####################################################################### ####
# SECTION: System Information Setup
#
# This section defines some of the information reported in
# the "system" mib group in the mibII tree.


# syslocation: The [typically physical] location of the system.
# Note that setting this value here means that when trying to
# perform an snmp SET operation to the sysLocation.0 variable will make
# the agent return the "notWritable" error code. IE, including
# this token in the snmpd.conf file will disable write access to
# the variable.
# arguments: location_string


syslocation  4616Cohen


Here's what it gives as available at the OID .1.3.6.1.4.1.2021:

[ibb-80:~] bw% snmpwalk -v 2c -c public localhost .1.3.6.1.4.1.2021
UCD-SNMP-MIB::prIndex.1 = INTEGER: 1
UCD-SNMP-MIB::prNames.1 = STRING: httpd
UCD-SNMP-MIB::prMin.1 = INTEGER: 0
UCD-SNMP-MIB::prMax.1 = INTEGER: 0
UCD-SNMP-MIB::prCount.1 = INTEGER: 2
UCD-SNMP-MIB::prErrorFlag.1 = INTEGER: 0
UCD-SNMP-MIB::prErrMessage.1 = STRING:
UCD-SNMP-MIB::prErrFix.1 = INTEGER: 0
UCD-SNMP-MIB::prErrFixCmd.1 = STRING:
UCD-SNMP-MIB::dskIndex.1 = INTEGER: 1
UCD-SNMP-MIB::dskPath.1 = STRING: /
UCD-SNMP-MIB::dskDevice.1 = STRING: /dev/disk0s5
UCD-SNMP-MIB::dskMinimum.1 = INTEGER: 100000
UCD-SNMP-MIB::dskMinPercent.1 = INTEGER: -1
UCD-SNMP-MIB::dskTotal.1 = INTEGER: 78144248
UCD-SNMP-MIB::dskAvail.1 = INTEGER: 18425096
UCD-SNMP-MIB::dskUsed.1 = INTEGER: 59463152
UCD-SNMP-MIB::dskPercent.1 = INTEGER: 76
UCD-SNMP-MIB::dskPercentNode.1 = INTEGER: 76
UCD-SNMP-MIB::dskErrorFlag.1 = INTEGER: 0
UCD-SNMP-MIB::dskErrorMsg.1 = STRING:
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.49
UCD-SNMP-MIB::laLoad.2 = STRING: 0.40
UCD-SNMP-MIB::laLoad.3 = STRING: 0.32
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: 48
UCD-SNMP-MIB::laLoadInt.2 = INTEGER: 40
UCD-SNMP-MIB::laLoadInt.3 = INTEGER: 31
UCD-SNMP-MIB::laLoadFloat.1 = Opaque: Float: 0.485840
UCD-SNMP-MIB::laLoadFloat.2 = Opaque: Float: 0.402832
UCD-SNMP-MIB::laLoadFloat.3 = Opaque: Float: 0.315918
UCD-SNMP-MIB::laErrorFlag.1 = INTEGER: 0
UCD-SNMP-MIB::laErrorFlag.2 = INTEGER: 0
UCD-SNMP-MIB::laErrorFlag.3 = INTEGER: 0
UCD-SNMP-MIB::laErrMessage.1 = STRING:
UCD-SNMP-MIB::laErrMessage.2 = STRING:
UCD-SNMP-MIB::laErrMessage.3 = STRING:
UCD-DLMOD-MIB::dlmodNextIndex.0 = INTEGER: 1
UCD-SNMP-MIB::versionIndex.0 = INTEGER: 1
UCD-SNMP-MIB::versionTag.0 = STRING: 5.0.8
UCD-SNMP-MIB::versionDate.0 = STRING: $Date: 2003/05/29 00:03:08 $
UCD-SNMP-MIB::versionCDate.0 = STRING: Wed Aug 11 16:05:58 2004
UCD-SNMP-MIB::versionIdent.0 = STRING: $Id: versioninfo.c,v 1.1.1.2 2003/05/29 00:03:08 rbraun Exp $
UCD-SNMP-MIB::versionConfigureOptions.0 = STRING: " --prefix=/usr --mandir=/usr/share/man --infodir=/usr/share/info --with-libwrap --with-defaults --prefix=/usr --with-persistent-directory=/var/db/ucd-snmp --with-mib-modules=host"
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: 0
UCD-SNMP-MIB::snmperrErrMessage.0 = STRING:
[ibb-80:~] bw%

This is running on Mac OS X 10.3.5.

Thanks.

bw

---
Bill Whitacre
[EMAIL PROTECTED]



-------------------------------------------------------
SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media
100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33
Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift.
http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285
_______________________________________________
Net-snmp-users mailing list
[EMAIL PROTECTED]
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users

Reply via email to