Your default  /etc/snmp/snmpd.conf probably has these lines:

Code:

view    systemview    included   .1.3.6.1.2.1.1
view    systemview    included   .1.3.6.1.2.1.25.1.1



As I understand it, these lines limit what your snmpd daemon can return in 
response to a query.  So SNMP queries have view acces to only PART of the tree. 
  I removed both of those lines and replaced it with: 

Code:

view    systemview    included   .1




As far as I can tell, my RHEL4 systems store stuff like memBuffer under the 
.1.3.6.1.4 branch of the SNMP MIB, not  .1.3.6.1.2

Code:

$    cat /etc/issue
Red Hat Desktop release 4 (Nahant Update 5)
Kernel \r on an \m
$    /bin/snmpwalk -v2c -c publicish localhost  .1.3.6.1.4.1.2021.4
UCD-SNMP-MIB::memIndex.0 = INTEGER: 0
UCD-SNMP-MIB::memErrorName.0 = STRING: swap
UCD-SNMP-MIB::memTotalSwap.0 = INTEGER: 8388600
UCD-SNMP-MIB::memAvailSwap.0 = INTEGER: 8388176
UCD-SNMP-MIB::memTotalReal.0 = INTEGER: 1555752
UCD-SNMP-MIB::memAvailReal.0 = INTEGER: 43336
UCD-SNMP-MIB::memTotalFree.0 = INTEGER: 8431512
UCD-SNMP-MIB::memMinimumSwap.0 = INTEGER: 16000
UCD-SNMP-MIB::memShared.0 = INTEGER: 0
UCD-SNMP-MIB::memBuffer.0 = INTEGER: 110728
UCD-SNMP-MIB::memCached.0 = INTEGER: 365648
UCD-SNMP-MIB::memSwapError.0 = INTEGER: 0
UCD-SNMP-MIB::memSwapErrorMsg.0 = STRING:




And as for what those numbers mean:

Code:

$    /usr/bin/snmptranslate .1.3.6.1.4
SNMPv2-SMI::private
$    /usr/bin/snmptranslate .1.3.6.1.2
SNMPv2-SMI::mgmt
$




Hope this helps.
David




-------------------- m2f --------------------

Read this topic online here:
http://community.zenoss.com/forums/viewtopic.php?p=23528#23528

-------------------- m2f --------------------



_______________________________________________
zenoss-users mailing list
[email protected]
http://lists.zenoss.org/mailman/listinfo/zenoss-users

Reply via email to