• Deutsch
  • English
  • Anmeldung OTOBO Community
+49 (0)9427 68 39 000
OTOBO
  • SOFTWARE
    • Software | Überblick
    • IT Service Management
    • Customer Service Management
    • Enterprise Service Management
    • Demo
    • Download
    • Dokumentation
  • SERVICES
    • Überblick Services
    • Beratung
    • Training
    • Entwicklung
    • OTRS Migration zu OTOBO
    • Support
    • Managed Service
    • Support-Portal
  • UNTERNEHMEN
    • Über uns
    • Karriere
    • Partner
    • Kontakt
    • Newsletter
  • RESSOURCEN
  • COMMUNITY
    • Open Source
    • Community Forum
    • Download
    • Dokumentation
    • OTOBO übersetzen
  • Click to open the search input field Click to open the search input field Suche
  • Menü Menü
Topic Resolution: Investigating
Ansicht von 1 Antwort-Thread
  • Autor
    Beiträge
    • 6. April 2023 um 16:41 Uhr - Views: 1173 #15038
      Roy Otten
      Teilnehmer

        Hello,

        I am trying to create some custom reports based on information in Otobo.
        We are using the CMDB functionality, and now I am trying to create a report with a 3rd party reporting tool.

        In the configitem and configitem_history tables I do see some of the information, but just a bare minimum.
        Not even close to what we have stored in CMDB.

        Where would I have to look to get the rest of the information?

        Hopefully someone can point me in the right direction :)

         

        Thank you

      • 7. April 2023 um 15:23 Uhr #15040
        Roy Otten
        Teilnehmer

          okay, I found out that it is in the xml_storage table.

          I managed to make it work using the following views:

          CREATE VIEW vw_cmdb_users
          AS
          SELECT distinct CONCAT(UCASE(LEFT(b.xml_content_value, 3)), LCASE(SUBSTRING(b.xml_content_value, 4))) as username
          FROM otobo.configitem a
          left join otobo.xml_storage b on a.last_version_id = b.xml_key
          where b.xml_type =’ITSM::ConfigItem::22′ and b.xml_content_key like ‚%owner%‘ and (xml_content_value not like ‚%{%}%‘ and length(xml_content_value) > 1)

          CREATE VIEW vw_assets_per_user
          as
          SELECT a.configitem_number,
          c.username
          FROM otobo.configitem a
          left join otobo.xml_storage b on a.last_version_id = b.xml_key
          inner join vw_cmdb_users c on lower(b.xml_content_value) = lower(c.username)
          where b.xml_type =’ITSM::ConfigItem::22′ and length(b.xml_content_value) > 1

           

          CREATE VIEW vw_configitem_details
          as
          SELECT a.configitem_number,
          replace(Replace(Replace(Replace(Replace(Replace(Replace(Replace(Replace(Replace(Replace(replace(replace(replace(b.xml_content_key,’\“,“),'[1]{Version}[1]{‚,“),‘}[1]{Content}‘,“),’9′,“),’8′,“),’7′,“),’6′,“),’5′,“),’4′,“),’3′,“),’2′,“),’1′,“),’0′,“),‘}[]{‚,‘ ‚) as hw_type,
          b.xml_content_value as ‚hw_detail‘
          FROM otobo.configitem a
          left join otobo.xml_storage b on a.last_version_id = b.xml_key
          where b.xml_type =’ITSM::ConfigItem::22′ and b.xml_content_value not like ‚%{%}%‘ and length(b.xml_content_value) > 1 and xml_content_key not like ‚%TagKey%‘

           

          This might help someone else who is trying to query this information.

           

      • Autor
        Beiträge
      Ansicht von 1 Antwort-Thread
      • Du musst angemeldet sein, um auf dieses Thema antworten zu können.

      Foren durchsuchen

      Anmeldung

      Anmeldung

      Konto erstellen
      Passwort vergessen?

      Login via Social

      Profil

      Bitte vervollständigen Sie nach der Registrierung Ihr Profil, das vereinfacht die spätere Kommunikation enorm. Ihre Profileinstellung finden Sie, wenn Sie auf Ihr Avatarbild klicken.

      Sie können Ihren Avatar ändern, indem Sie sich mit Ihrer E-Mail-Adresse unter gravatar.com registrieren.

      Letzte Aktivitäten

      • Dynamische Felder in AgentTicketNote mit ACL verstecken
      • FAQ: kaputtes Copy & Paste von Bildern zwischen Artikeln
      • Benachrichtigung „Ticket wurde mir entzogen“ möglich?
      • Statistik Anzahl Tickets pro Agent
      • Docker: Ändern des redis Hosts

      Unternehmen

      Über uns
      Karriere
      Stellenbörse
      Partner werden
      Kontakt
      Newsletter

      OTOBO | Simplify work and create exceptional service experiences.

      Die Source Code Owner und Maintainer hinter OTOBO.

      Software

      Service Management-Plattform
      OTOBO Demo
      OTOBO Download
      OTOBO Dokumentation

      Security-Problem melden:
      security@otobo.org

      Services

      Support-Portal
      Beratung
      Training
      Support
      Managed Services
      Erweiterung
      OTRS Migration
      Partner finden

      Community

      Open Source
      Community Forum
      Mitmachen
      OTOBO Developer
      OTOBO@GitHub

      © 2026 Rother OSS GmbH | All rights reserved.
      • Cookie-Einstellungen
      • Impressum
      • Datenschutz
      • Haftungsausschluss
      Nach oben scrollen Nach oben scrollen Nach oben scrollen