I followed the "small" section of documentation (32.6 Monitoring the Server With SNMP) in the "Oracle® Fusion Middleware Administrator's for Oracle Unified Directory 11g Release 2 (11.1.2) E22648-10" Guide. I did the following to the SNMP connector on my OUD server via ./dsconfig:
--set enabled:true --set listen-port:8085
...and restarted the ds by using stop-ds and start-ds.
I found the ../snmp/mib/rfc2605.txt also referenced. Using the internal MIB name in the rfc2605.txt file and snmptranslate I found the entries that included the word bind:
snmptranslate -Ts -m DIRECTORY-SERVER-MIB | grep -i "bind"
.iso.org.dod.internet.mgmt.mib-2.dsMIB.dsApplIfOpsTable.dsApplIfOpsEntry.dsApplIfUnauthBinds
.iso.org.dod.internet.mgmt.mib-2.dsMIB.dsApplIfOpsTable.dsApplIfOpsEntry.dsApplIfSimpleAuthBinds
.iso.org.dod.internet.mgmt.mib-2.dsMIB.dsApplIfOpsTable.dsApplIfOpsEntry.dsApplIfStrongAuthBinds
.iso.org.dod.internet.mgmt.mib-2.dsMIB.dsApplIfOpsTable.dsApplIfOpsEntry.dsApplIfBindSecurityErrors
Using the dsApplIfSimpleAuthBinds line and snmpwalk, I get the following results:
snmpwalk -On -v 1 -c OUD@OUD -m DIRECTORY-SERVER-MIB 192.168.1.10:8085 .iso.org.dod.internet.mgmt.mib-2.dsMIB.dsApplIfOpsTable.dsApplIfOpsEntry.dsApplIfSimpleAuthBinds
.1.3.6.1.2.1.66.2.1.4.1.1 = Counter32: 1
.1.3.6.1.2.1.66.2.1.4.1.2 = Counter32: 1
.1.3.6.1.2.1.66.2.1.4.1.3 = Counter32: 1
Taking each of the numerical object-IDs above and snmpget I also get:
snmpget -OQ -v 1 -c OUD@OUD -m DIRECTORY-SERVER-MIB 192.168.1.10:8085 .1.3.6.1.2.1.66.2.1.4.1.1
DIRECTORY-SERVER-MIB::dsApplIfSimpleAuthBinds.1.1 = 1
snmpget -OQ -v 1 -c OUD@OUD -m DIRECTORY-SERVER-MIB 192.168.1.10:8085 .1.3.6.1.2.1.66.2.1.4.1.2
DIRECTORY-SERVER-MIB::dsApplIfSimpleAuthBinds.1.2 = 1
snmpget -OQ -v 1 -c OUD@OUD -m DIRECTORY-SERVER-MIB 192.168.1.10:8085 .1.3.6.1.2.1.66.2.1.4.1.3
DIRECTORY-SERVER-MIB::dsApplIfSimpleAuthBinds.1.3 = 1
Next I perform numerous successful ldapseach commands and bind with my oud admin account or a typical user account and run the previous indicated snmpget commands again and the SimpleAuthBinds items (1.1, 1.2 & 1.3) still equal 1.
Why are the SimpleAuthBinds items (or at least one of them) counter(s) not increasing.
Thanks,
D