Idea ID: 2779097

publish driver cache statistics in cn=monitor

Status: Already Offered
IDM currently publishes ProcessedOperationsCounts in cn=monitor but no information about a driver's cache. When queried via dxcmd for "Get driver cache statistics" IDM return both the ProcessedOperationsCounts along with the age and number of transactions in a driver's cache.
Especially the age of the oldest transaction and the total number of transactions in the cache are vital in determining the health of a driver.

Tags:

  • Hi,

    Does this only works when the driver is in stopped state?
    I'm currently running on IDM 4.8.5.0 AE, driver in the running state does not give back this values.

    Regarding the Driver Admin Guide you need to perform a SubTree search on the driver, this only returns these values:

  • Hello Norbert,

    This is available in 4.8 as well. Can you check if your drivers are in stopped state prior to querying for the cache statistics ?

    thanks

    hari

  • Hi Harinath,

    would that be new in 4.9?

    It's neither documented for 4.9 (https://www.netiq.com/documentation/identity-manager-49/driver_admin/data/b1n6z40d.html#b1n6z40d) nor does it work in 4.8.7:

    # extended LDIF
    #
    # LDAPv3
    # base <cn=cache,cn=subscriber,cn=ProcessedOperationsCount,cn=SCIM,cn=drivers,cn=driverSet_Stats,cn=IDM,cn=Monitor> with scope baseObject
    # filter: (objectclass=*)
    # requesting: ALL
    #
    
    # search result
    search: 2
    result: 32 No such object
    text: NDS error: no such entry (-601)
    
    # numResponses: 1
    
    
    # extended LDIF
    #
    # LDAPv3
    # base <cn=subscriber,cn=ProcessedOperationsCount,cn=SCIM,cn=drivers,cn=driverSet_Stats,cn=IDM,cn=Monitor> with scope baseObject
    # filter: (objectclass=*)
    # requesting: ALL
    #
    
    # search result
    search: 2
    result: 32 No such object
    text: NDS error: no such entry (-601)
    
    # numResponses: 1
    
    
    # extended LDIF
    #
    # LDAPv3
    # base <cn=ProcessedOperationsCount,cn=SCIM,cn=drivers,cn=driverSet_Stats,cn=IDM,cn=Monitor> with scope baseObject
    # filter: (objectclass=*)
    # requesting: ALL
    #
    
    # search result
    search: 2
    result: 32 No such object
    text: NDS error: no such entry (-601)
    
    # numResponses: 1
    
    
    # extended LDIF
    #
    # LDAPv3
    # base <cn=SCIM,cn=drivers,cn=driverSet_Stats,cn=IDM,cn=Monitor> with scope baseObject
    # filter: (objectclass=*)
    # requesting: ALL
    #
    
    # SCIM, drivers, driverSet_Stats, IDM, Monitor
    dn: cn=SCIM,cn=drivers,cn=driverSet_Stats,cn=IDM,cn=Monitor
    startOption: autostart
    type: local
    uptime: 14 days 16 hours 29 minutes 50 seconds 688 milliseconds
    driver-state: running
    DriverDN: CN=SCIM,CN=driverset1,O=system
    objectclass: Top
    objectclass: extensibleObject
    
    # search result
    search: 2
    result: 0 Success
    
    # numResponses: 2
    # numEntries: 1

  • The CN=Monitor has the following for driver cache

    # cache, subscriber, ProcessedOperationsCount, Delimited Text Driver Test 02, d
    rivers, driverSet_Stats, IDM, Monitor
    dn: cn=cache,cn=subscriber,cn=ProcessedOperationsCount,cn=Delimited Text Drive
    r Test 02,cn=drivers,cn=driverSet_Stats,cn=IDM,cn=Monitor
    unprocessed-size: 1252
    size: 1252
    newest: 20240605112008.206Z
    oldest: 20240524102215.678Z
    objectclass: Top
    objectclass: extensibleObject

    Beleive this is what is needed. Can you confirm ?

  • Is there any possibility to implement this ?