Menu

Docekrized iTop and OCS integration problem

AskeyPLL
2022-07-08
2024-04-24
  • AskeyPLL

    AskeyPLL - 2022-07-08

    Hi everyone,

    I have a two containers in docker. On iTop, application I have a little problem with synchro type.
    Please check out my example configuration:

    • first container is OCS inventory server (ocs for dockerized image is version 2.7.0)
    • second container is dedicated database mariadb for OCS
    • third container is iTop with plugins (plugins from TeemIP and OCS integration)
      iTop i s version 3.0.1 with plugins at latest version
      I don't install only one plugin from TeemIP -> it's "Network management extended"
    • all ockerized application have same subnet interface and that's here all it's work fine

    iTop container situation

    When i try this synchro type:

    --collect_only

    I received this log, but rest log it's fine

    log-collect

    [Warning] [OCSLogicalInterfaceTeemIpCollector] The column "speed" is used neither for update nor for reconciliation.
    [Warning] [OCSVirtualMachineTeemIpCollector] The column "tickets_list" is used neither for update nor for reconciliation.
    [Warning] [OCSServerTeemIpCollector] The column "tickets_list" is used neither for update nor for reconciliation
    [Warning] [OCSPCTeemIpCollector] The column "tickets_list" is used neither for update nor for reconciliation.

    and after type that parameter:

    --synchro_only

    I received this log:

    log-synchro

    [OCSPCCollector] The column tickets_list is used for storing the OCS ID in order to display the OCS tab on PCs. You can safely ignore the warning about it.

    PHP Warning: Invalid argument supplied for foreach() in /var/www/html/extensions/ocsng-data-collector/core/lookuptable.class.inc.php on line 60

    [Warning] No mapping found with key: 'Demo_x.x.x.x.', 'ipaddress_id' will be set to zero.

    [Warning] No mapping found with key: 'Demo_x.x.x.x', 'managementip_id' will be set to zero.

    It's funny situation beacuse I set up my own param.local.xml in conf folder and collectors folder and I don't know why I see everytime object Demo_x.x.x.x . Please check my param.local.xml

    conf/param.local.xml

    param.local.xml

    collectors/param.local.xml

    param.local.xml

    In iTop Welcome portal management I see this log synchronization in follow section:

    Configuration -> Synchro Data Source -> "example:object"-> Status -> Replicas logs

    Objects:

    for
    OCSng:PC

    Unable to create destination object: Unexpected value for attribute 'org_id': Null not allowed: issues = {0=>Unexpected value for attribute 'org_id': Null not allowed}, class = PC, id =

    for
    OCSng:Server

    Unable to create destination object: Unexpected value for attribute 'org_id': Null not allowed: issues = {0=>Unexpected value for attribute 'org_id': Null not allowed}, class = Server, id =

    for
    OCSng:ServerPhysicalInterface

    Unable to create destination object: Unexpected value for attribute 'connectableci_id': Null not allowed: issues = {0=>Unexpected value for attribute 'connectableci_id': Null not allowed}, class = PhysicalInterface, id =

    for
    OCSng:PCPhysicalInterface

    Unable to create destination object: Unexpected value for attribute 'connectableci_id': Null not allowed: issues = {0=>Unexpected value for attribute 'connectableci_id': Null not allowed}, class = PhysicalInterface, id =

    for
    OCSng:LogicalInterface

    Unable to create destination object: Unexpected value for attribute 'virtualmachine_id': Null not allowed: issues = {0=>Unexpected value for attribute 'virtualmachine_id': Null not allowed}, class = LogicalInterface, id =

    Where I frogot something? I've spend all week for this integration :/
    After synchro, How i can import all receive data to CI objects in iTop automatically or manually?

    Many thanks.
    Adrian.

     

    Last edit: AskeyPLL 2022-07-08
  • adsdf

    adsdf - 2024-04-24

    hello @community

    I am facing same issue I have two Diff Server I can run exec.php but getting attached error please help if anyone is active on this community

    Dharmin Fadia

     

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.