Community

    • Register
    • Login
    • Search
    • Categories
    • Recent
    • Popular
    • Users
    • Search
    1. Home
    2. vqh
    3. Posts
    V
    • Profile
    • Following 0
    • Followers 0
    • Topics 0
    • Posts 47
    • Best 0
    • Controversial 0
    • Groups 0

    Posts made by vqh

    • RE: Spaltenüberschriften in Reports - dynamic_property_callback

      Hallo JS,

      in i-doit werden alle Attribute die mit einer Maßeinheit gekoppelt sind mit der kleinsten Einheit umgerechnet und in die Datenbank geschrieben. Deshalb muss das von dir ausgewählte Attribut extra umgerechnet werden und das machen wir über den Weg das wir während der Ausgabe eine Funktion aufrufen die im Alias steckt. Deshalb bekommst du bei deinem Beispiel die Zahl 85 wenn du den Alias überschreibst.
      Um dein Problem zu lösen kannst du einfach die Language Konstante die im Alias steckt ersetzen.

      Beispiel:
      Von 'isys_cmdb_dao_category_g_memory::dynamic_property_callback_total_capacity::isys_catg_memory_list__isys_obj__id::LC__CATG__CMDB_MEMORY_TOTALCAPACITY'
      Nach 'isys_cmdb_dao_category_g_memory::dynamic_property_callback_total_capacity::isys_catg_memory_list__isys_obj__id::RAM-GesamtKapazität'

      Ich hoffe das ich dir dabei helfen konnte.

      Gruß,
      vqh

      posted in Betrieb
      V
      vqh
    • RE: Report manager - liste aller server plus eine custom kategorie - sql error

      Hallo frisbee23,

      das Problem ist das wir noch nicht PHP 7.1 kompatibel sind. Laut den Systemvoraussetzungen aus unserer Knowledge Base (https://kb.i-doit.com/display/de/Systemvoraussetzungen) ist PHP 7.1 noch nicht dabei.
      Das eigentliche Probleme konnte ich zwar herausfinden aber das würde dir glaub ich nicht viel weiterhelfen da es noch andere Stellen gibt die nicht PHP 7.1 konform sind.
      Wir hatten glaub ich auch dein Support Ticket schon verarbeitet und entsprechende Tickets erstellt für die PHP 7.1 Kompatibilität.

      MfG,
      Quyen

      posted in Betrieb
      V
      vqh
    • RE: Problem bei der Ausgabe mit dem Dokumentemodul (Darstellungsschwierigkeiten)

      Hallo Christoph,

      wieviele Einträge sind denn in dieser Kategorie? Welche Version von i-doit und vom Dokumente Add-On verwendest du?

      Gruß,
      vqh

      posted in Betrieb
      V
      vqh
    • RE: Controller search_index fullindex PHP Fatal error Class not found

      Hallo Dominic,

      danke für die Information. Anscheinend wurde in der i-doit 1.9.2 Open Version eine Abfrage nicht hinzugefügt die das verhindern sollte.
      Versuch mal folgendes:
      1. Erstelle ein Backup von der Datei [i-doit Root Verzeichnis]/src/classes/modules/cmdb/dao/category/global/isys_cmdb_dao_category_g_location.class.php
      2. Öffne die Datei [i-doit Root Verzeichnis]/src/classes/modules/cmdb/dao/category/global/isys_cmdb_dao_category_g_location.class.php
      3. Ersetz die Zeilen 232 - 234 mit folgenden Code Zeilen:

      $enclosureSorting = 'desc';
      
      if (class_exists('isys_cmdb_dao_category_s_enclosure'))
      {
          $enclosureSorting = isys_cmdb_dao_category_s_enclosure::instance(isys_application::instance()->database)
              ->get_data(null, $parentObjectId)
              ->get_row_value('isys_cats_enclosure_list__slot_sorting');
      }
      

      4. Speichere die Änderungen und schließe die Datei
      5. Führe den Controller für den Suchindex erneut auf

      Ich hoffe das dies die Lösung für das Problem ist.

      Gruß,
      vqh

      posted in Entwicklung
      V
      vqh
    • RE: Changing Language in json api

      Hello ali,

      here is an example how you can get the global category General and Model via API:

      API Call:

      [
        {
             params:
             {
                 apikey: 12345,
                 category: 'C__CATG__GLOBAL',
                 objID: 9999
             },
             method: 'cmdb.category.read',
             version: '2.0'
        },
        {
             params:
             {
                 apikey: 12345,
                 category: 'C__CATG__MODEL',
                 objID: 9999
             },
             method: 'cmdb.category.read',
             version: '2.0'
        }
      ]
      

      And here is the response you would get:

      [
          {
              "jsonrpc": "2.0",
              "result": [
                  {
                      "id": "3307",
                      "objID": "3307",
                      "title": "Test Client 1",
                      "status": {
                          "id": "2",
                          "title": "Normal",
                          "const": "",
                          "title_lang": "LC__CMDB__RECORD_STATUS__NORMAL"
                      },
                      "created": "2017-01-10 13:28:24",
                      "created_by": "admin",
                      "changed": "2017-08-29 15:06:11",
                      "changed_by": "admin",
                      "purpose": null,
                      "category": null,
                      "sysid": "SYSID_1484051304",
                      "cmdb_status": {
                          "id": "6",
                          "title": "in operation",
                          "const": "C__CMDB_STATUS__IN_OPERATION",
                          "title_lang": "LC__CMDB_STATUS__IN_OPERATION"
                      },
                      "type": {
                          "id": "10",
                          "title": "Client",
                          "const": "C__OBJTYPE__CLIENT",
                          "title_lang": "LC__CMDB__OBJTYPE__CLIENT"
                      },
                      "tag": null,
                      "description": ""
                  }
              ],
              "error": null,
              "id": null
          },
          {
              "jsonrpc": "2.0",
              "result": [
                  {
                      "id": "166",
                      "objID": "3307",
                      "manufacturer": {
                          "id": "15",
                          "title": "Acer",
                          "const": null,
                          "title_lang": "Acer"
                      },
                      "title": {
                          "id": "157",
                          "title": "AL2223W",
                          "const": null,
                          "title_lang": "AL2223W"
                      },
                      "productid": "ProductID-1010101",
                      "service_tag": "Service-Tag 020202",
                      "serial": "abcdefg",
                      "firmware": "1.0",
                      "description": ""
                  }
              ],
              "error": null,
              "id": null
          }
      ]
      

      I hope that this is helpful to you.

      best regards,
      vqh

      posted in Development
      V
      vqh
    • RE: Changing Language in json api

      Hello ali,

      thank you for using our json api. Unfortunately that is not possible, because the keys which you want to change are just attribute keys which serves only as an identifier of the attribute from the category.
      If you want the get detailed info about the category we have a separate api call which is: cmdb.category_info.read
      For Example:

      
      {
          "params": 
           {
                "apikey": "12345", 
                "language": "en", 
                "category": "C__CATG__CPU"
           }, 
           "method": "cmdb.category_info.read", 
           "version": "2.0"
      }
      
      

      Response:

      
      {
          "jsonrpc": "2.0",
          "result": {
              "title": {
                  "title": "Title",
                  "info": {
                      "primary_field": false,
                      "type": "text",
                      "backward": false,
                      "title": "LC__CMDB__CATG__CPU_TITLE",
                      "description": "Title"
                  },
                  "data": {
                      "type": "text",
                      "readonly": false,
                      "index": false,
                      "field": "isys_catg_cpu_list__title"
                  },
                  "ui": {
                      "type": "text",
                      "default": null,
                      "params": {
                          "p_nMaxLen": 255
                      },
                      "id": "C__CATG__CPU_TITLE"
                  },
                  "format": null,
                  "check": {
                      "mandatory": false
                  }
              },
              "manufacturer": {
                  "title": "Manufacturer",
                  "info": {
                      "primary_field": false,
                      "type": "dialog_plus",
                      "backward": false,
                      "title": "LC__CATG__STORAGE_CONTROLLER_MANUFACTURER",
                      "description": "Manufacturer"
                  },
                  "data": {
                      "type": "int",
                      "readonly": false,
                      "index": false,
                      "field": "isys_catg_cpu_list__isys_catg_cpu_manufacturer__id",
                      "source_table": "isys_catg_cpu_manufacturer",
                      "references": [
                          "isys_catg_cpu_manufacturer",
                          "isys_catg_cpu_manufacturer__id"
                      ],
                      "select": [],
                      "join": [
                          [],
                          []
                      ]
                  },
                  "ui": {
                      "type": "popup",
                      "params": {
                          "p_strPopupType": "dialog_plus",
                          "p_strTable": "isys_catg_cpu_manufacturer"
                      },
                      "default": "-1",
                      "id": "C__CATG__CPU_MANUFACTURER"
                  },
                  "format": {
                      "callback": [
                          "isys_export_helper",
                          "dialog_plus"
                      ]
                  },
                  "check": {
                      "mandatory": null
                  }
              },
              "type": {
                  "title": "Type",
                  "info": {
                      "primary_field": false,
                      "type": "dialog_plus",
                      "backward": false,
                      "title": "LC__CMDB__CATG__CPU_TYPE",
                      "description": "Type"
                  },
                  "data": {
                      "type": "int",
                      "readonly": false,
                      "index": false,
                      "field": "isys_catg_cpu_list__isys_catg_cpu_type__id",
                      "source_table": "isys_catg_cpu_type",
                      "references": [
                          "isys_catg_cpu_type",
                          "isys_catg_cpu_type__id"
                      ],
                      "select": [],
                      "join": [
                          [],
                          []
                      ]
                  },
                  "ui": {
                      "type": "popup",
                      "params": {
                          "p_strPopupType": "dialog_plus",
                          "p_strTable": "isys_catg_cpu_type"
                      },
                      "default": "-1",
                      "id": "C__CATG__CPU_TYPE"
                  },
                  "format": {
                      "callback": [
                          "isys_export_helper",
                          "dialog_plus"
                      ]
                  },
                  "check": {
                      "mandatory": null
                  }
              },
              "frequency": {
                  "title": "CPU frequency",
                  "info": {
                      "primary_field": false,
                      "type": "float",
                      "backward": false,
                      "title": "LC__CMDB__CATG__FREQUENCY",
                      "description": "CPU frequency"
                  },
                  "data": {
                      "type": "float",
                      "readonly": false,
                      "index": false,
                      "field": "isys_catg_cpu_list__frequency",
                      "source_table": "isys_catg_cpu_frequency",
                      "select": [],
                      "join": [
                          [],
                          []
                      ]
                  },
                  "ui": {
                      "type": "text",
                      "default": null,
                      "params": {
                          "p_strPlaceholder": "0.00",
                          "p_strTable": "isys_catg_cpu_frequency",
                          "p_strClass": "input-medium"
                      },
                      "id": "C__CATG__CPU_FREQUENCY"
                  },
                  "format": {
                      "callback": [
                          "isys_export_helper",
                          "convert",
                          [
                              "frequency"
                          ]
                      ],
                      "unit": "frequency_unit"
                  },
                  "check": {
                      "mandatory": false
                  }
              },
              "frequency_unit": {
                  "title": "CPU frequency unit",
                  "info": {
                      "primary_field": false,
                      "type": "dialog",
                      "backward": false,
                      "title": "LC__CMDB__CATG__CPU_FREQUENCY_UNIT",
                      "description": "frequency unit"
                  },
                  "data": {
                      "type": "int",
                      "readonly": false,
                      "index": false,
                      "field": "isys_catg_cpu_list__isys_frequency_unit__id",
                      "source_table": "isys_frequency_unit",
                      "references": [
                          "isys_frequency_unit",
                          "isys_frequency_unit__id"
                      ],
                      "select": [],
                      "join": [
                          [],
                          []
                      ]
                  },
                  "ui": {
                      "type": "dialog",
                      "params": {
                          "p_strTable": "isys_frequency_unit",
                          "p_bDbFieldNN": 0,
                          "p_strClass": "input-mini"
                      },
                      "default": "-1",
                      "id": "C__CATG__CPU_FREQUENCY_UNIT"
                  },
                  "format": {
                      "callback": [
                          "isys_export_helper",
                          "dialog"
                      ]
                  },
                  "check": {
                      "mandatory": null
                  }
              },
              "cores": {
                  "title": "CPU cores",
                  "info": {
                      "primary_field": false,
                      "type": "int",
                      "backward": false,
                      "title": "LC__CMDB__CATG__CPU_CORES",
                      "description": "CPU cores"
                  },
                  "data": {
                      "type": "int",
                      "readonly": false,
                      "index": false,
                      "field": "isys_catg_cpu_list__cores"
                  },
                  "ui": {
                      "type": "text",
                      "params": {
                          "p_strPlaceholder": "0",
                          "default": "0",
                          "p_strClass": "input-mini"
                      },
                      "default": null,
                      "id": "C__CATG__CPU_CORES"
                  },
                  "format": null,
                  "check": {
                      "mandatory": false
                  }
              },
              "description": {
                  "title": "Description",
                  "info": {
                      "primary_field": false,
                      "type": "commentary",
                      "backward": false,
                      "title": "LC__CMDB__LOGBOOK__DESCRIPTION",
                      "description": "Description"
                  },
                  "data": {
                      "type": "text_area",
                      "readonly": false,
                      "index": false,
                      "field": "isys_catg_cpu_list__description"
                  },
                  "ui": {
                      "type": "textarea",
                      "default": null,
                      "id": "C__CMDB__CAT__COMMENTARY_04"
                  },
                  "format": null,
                  "check": {
                      "mandatory": false
                  }
              }
          },
          "id": null
      }
      

      You can find more information about custom languages in https://kb.i-doit.com/display/en/Localization.

      best regards,
      vqh

      posted in Development
      V
      vqh
    • RE: [i-doit 1.9.1 PRO] CSV-Import führt zu Phantom-Einträgen

      Hallo Tobias,

      ich habe das mal bei uns überprüft und konnte das auch Datenbank Technisch feststellen das eine Leere Zuweisung erstellt wurde in der Kategorie Kontaktzuweisung.
      Ich habe dazu ein Ticket erstellt und wird in einer der kommenden Versionen gefixt sein.

      Mfg,
      vqh

      posted in Entwicklung
      V
      vqh
    • RE: Data from OCS are not updated in i-doit

      Hello Matt,

      maybe you found a small bug in the OCS Inventory import. To verify it could you please try the category "Memory" in i-doit to see if its updating properly? For example deleting an entry in the category "Memory".

      Best regards,
      Quyen

      posted in Operating
      V
      vqh
    • RE: Data from OCS are not updated in i-doit

      Hello Matt,

      thank you for your interest in our product. Can you specify which categories should have been updated for the second OCS import? Is it possible to provide us with the log file which will be created in [i-doit Root folder]/log/ when you set the Logging to "detailed (slower)" or "detailed+debug (very slow & memory intensive)"?

      Best regards,

      Quyen

      posted in Operating
      V
      vqh
    • RE: New object from template - Idoit Open 1.9 und php7.0

      Hi,

      anscheinend ist die SimpleXml Unterstützung nicht aktiv. Bitte schau mal über die phpinfo nach ob die SimpleXml Unterstützung aktiv ist.
      Über die Linux Konsole kannst du das mit folgenden Befehl nachschauen:
      php -i | grep Simplexml

      Falls diese fehlt muss diese nachinstalliert werden dann sollte es auch wieder klappen.

      Gruß
      vqh

      posted in Betrieb
      V
      vqh
    • RE: JSON RPC - filter nach Kategorie

      Hallo Robin,

      leider ist es im Aktuellen Zustand nicht möglich dies über diesen Filter zu lösen da der Filter für das Attribut "Kategorie" nicht gesetzt ist bzw. überprüft wird.
      In dem Fall muss du leider durch die Objekte durch iterieren und jeweils die Kategorie "Allgemein" auslesen und den Wert "Kategorie" überprüfen.
      Besser wäre es natürlich dies über einen Call zu lösen. Ich werde das nochmal mit den Kollegen besprechen ob wir da etwas machen werden oder nicht.

      Gruß,
      vqh

      posted in Entwicklung
      V
      vqh
    • RE: Fehlermeldung bei Steckdosenleiste / PDU - Branch

      Hallo Jürgen,

      danke das du uns darauf aufmerksam gemacht hast. Ich habe dir auch im Anhang einen Fix dafür hinterlegt der die Richtige Methode an der genannte Stelle aufruft.
      Die Datei kannst du dann einfach in den Ordner [i-doit Root Verzeichnis]/src/classes/modules/cmdb/ui/specific/ reinkopieren und entpacken.

      Gruß,
      vqh

      isys_cmdb_ui_category_s_pdu_branch.class.php.zip

      posted in Entwicklung
      V
      vqh
    • RE: Dokumente-Modul: Handbuch für Switch

      Hallo M-Fischer,

      ich hab mir die Problematik mal angeschaut und konnte auch feststellen wo das Problem ist. Das Problem ist dieser Join:

      
      LEFT JOIN isys_catg_port_list AS j15 ON j15.isys_catg_port_list__isys_obj__id = j5.isys_obj__id
      
      

      Dieser veranlasst das alle Ports des verbundenen Objekts geholt werden anstatt nur den verbundenen Port. Man müsste diesen Join wie folgt umändern:

      
      LEFT JOIN isys_catg_port_list AS j15 ON j15.isys_catg_port_list__isys_catg_connector_list__id = j4.isys_catg_connector_list__id
      
      

      Momentan ist eine Darstellung wie du die gerne haben willst nur über die Reports möglich wenn man den genannten Join abändert.
      So würde die Query am Ende aussehen:

      
      SELECT 
      obj_main.isys_obj__id AS '__id__', 
      obj_main.isys_obj__title AS 'LC__UNIVERSAL__TITLE###1', 
      j10.isys_catg_port_list__title AS 'LC__CMDB__CATG__TITLE###39', 
      j14.isys_obj__title AS 'LC__UNIVERSAL__TITLE#LC__CMDB__CONNECTED_WITH###1', 
      j15.isys_catg_port_list__title AS 'LC__CMDB__CATG__TITLE#LC__CMDB__CONNECTED_WITH###39' 
      
      FROM isys_obj AS obj_main 
      INNER JOIN isys_cmdb_status AS obj_main_status ON obj_main_status.isys_cmdb_status__id = obj_main.isys_obj__isys_cmdb_status__id 
      LEFT JOIN isys_catg_port_list AS j10 ON j10.isys_catg_port_list__isys_obj__id = obj_main.isys_obj__id 
      LEFT JOIN isys_catg_connector_list AS j6 ON j6.isys_catg_connector_list__id = j10.isys_catg_port_list__isys_catg_connector_list__id 
      LEFT JOIN isys_catg_connector_list AS j4 ON j4.isys_catg_connector_list__isys_cable_connection__id = j6.isys_catg_connector_list__isys_cable_connection__id AND j4.isys_catg_connector_list__id != j6.isys_catg_connector_list__id  
      LEFT JOIN isys_obj AS j5 ON j5.isys_obj__id = j4.isys_catg_connector_list__isys_obj__id 
      LEFT JOIN isys_obj AS j14 ON j14.isys_obj__id = j5.isys_obj__id 
      LEFT JOIN isys_catg_port_list AS j15 ON j15.isys_catg_port_list__isys_catg_connector_list__id = j4.isys_catg_connector_list__id
      LEFT JOIN isys_obj AS j16 ON j16.isys_obj__id = j5.isys_obj__id 
      LEFT JOIN isys_obj_type AS j17 ON j17.isys_obj_type__id = obj_main.isys_obj__isys_obj_type__id 
      
      WHERE TRUE 
      
       AND  ( (j17.isys_obj_type__id != '60' ) AND (j17.isys_obj_type__id != '60' ) AND (j17.isys_obj_type__id != '63' ) ) ORDER BY obj_main.isys_obj__title DESC;
      
      

      Was du an der Stelle machen könntest ist diesen Report über den Report-Manager zu erstellen und diesen kannst du dann im Dokumente Modul einbetten. Um diesen Report nur für das ausgewählte Objekt auszuführen muss du in der WHERE-Bedingung diesen Zusatz hinzufügen:

      
      AND obj_main.isys_obj__id = 'OBJEKT-ID'
      
      

      Beispiel:

      
      SELECT 
      obj_main.isys_obj__id AS '__id__', 
      obj_main.isys_obj__title AS 'LC__UNIVERSAL__TITLE###1', 
      j10.isys_catg_port_list__title AS 'LC__CMDB__CATG__TITLE###39', 
      j14.isys_obj__title AS 'LC__UNIVERSAL__TITLE#LC__CMDB__CONNECTED_WITH###1', 
      j15.isys_catg_port_list__title AS 'LC__CMDB__CATG__TITLE#LC__CMDB__CONNECTED_WITH###39' 
      
      FROM isys_obj AS obj_main 
      INNER JOIN isys_cmdb_status AS obj_main_status ON obj_main_status.isys_cmdb_status__id = obj_main.isys_obj__isys_cmdb_status__id 
      LEFT JOIN isys_catg_port_list AS j10 ON j10.isys_catg_port_list__isys_obj__id = obj_main.isys_obj__id 
      LEFT JOIN isys_catg_connector_list AS j6 ON j6.isys_catg_connector_list__id = j10.isys_catg_port_list__isys_catg_connector_list__id 
      LEFT JOIN isys_catg_connector_list AS j4 ON j4.isys_catg_connector_list__isys_cable_connection__id = j6.isys_catg_connector_list__isys_cable_connection__id AND j4.isys_catg_connector_list__id != j6.isys_catg_connector_list__id  
      LEFT JOIN isys_obj AS j5 ON j5.isys_obj__id = j4.isys_catg_connector_list__isys_obj__id 
      LEFT JOIN isys_obj AS j14 ON j14.isys_obj__id = j5.isys_obj__id 
      LEFT JOIN isys_catg_port_list AS j15 ON j15.isys_catg_port_list__isys_catg_connector_list__id = j4.isys_catg_connector_list__id
      LEFT JOIN isys_obj AS j16 ON j16.isys_obj__id = j5.isys_obj__id 
      LEFT JOIN isys_obj_type AS j17 ON j17.isys_obj_type__id = obj_main.isys_obj__isys_obj_type__id 
      
      WHERE TRUE 
      AND  ( (j17.isys_obj_type__id != '60' ) AND (j17.isys_obj_type__id != '60' ) AND (j17.isys_obj_type__id != '63' ) ) 
      AND obj_main.isys_obj__id = 469560
      ORDER BY obj_main.isys_obj__title DESC;
      
      

      Ich hoffe das ich dir damit etwas helfen konnte.

      Gruß,
      vqh

      posted in Betrieb
      V
      vqh
    • RE: Dokumente: Layout durcheinander

      Hallo MaM,

      ich hab mir dein Problem mal angeschaut im Dokumente Modul. Da die Kopfzeile immer die selbe höhe hat könnte man nicht einfach den Wert unter den Optionen beim Attribut "Abstand: oberer Rand" nicht erhöhen?
      Ich hab da ein Screenshot hinterlegt wo du das finden kannst.

      Viele Grüße
      vqh

      Bildschirmfoto_2017-02-21_um_11_52_16.gif

      posted in Betrieb
      V
      vqh
    • RE: [1.6.3] Direkte Verlinkung von URLs in Report-Ergebnissen - funktioniert nicht

      Hallo jkondek,

      ich habe mir mal die Änderung angeschaut die im Ticket #2764 gemacht wurde. Bei der Änderung wurde das Dynamische Attribut für "Website" mit dem Statischen Attribut getauscht. D. h. das der Wert der angezeigt wird nicht mehr dynamisch über ein Callback aufbereitet wird sondern direkt vom Datenbankfeld entnommen.
      Versuch mal das Attribut vom Report zu entfernen und dann wieder neu hinzufügen.

      Gruß,
      VQH

      Abfrage-Editor-Organisation-Website.gif

      posted in Entwicklung
      V
      vqh
    • RE: Patchverbindung setzen

      Hallo René,

      mir sind einige Dinge aufgefallen die bei deinem API-Aufruf nicht notwendig sind bzw. eine Fehlermeldung verursachen.
      Unter dem Abschnitt "params" sind die Parameter "objID" und "id" die sich überschneiden. Parameter "name" ist nicht notwendig da nur Anschlüsse verbunden werden.
      Unter dem Abschnitt "data" brauchst du lediglich die IDs zu den Anschlüssen die Verbunden werden sollen.

      Hier der Aufruf für deinen Fall:

      
      {"method":"cmdb.category.update","id":1,
        "params": {
      	"apikey":"xxxx",
      	"objID":"116",
          "category":"C__CATG__CONNECTOR",
          "data": {
              "id": "13",
              "assigned_connector":"29"
          }
        },
        "version":"2.0"
      }
      
      

      Ich hoffe das ich dir helfen konnte.

      VG,
      VQHoang

      posted in Entwicklung
      V
      vqh
    • RE: Patchfeld-Belegungsplan drucken

      hi,

      kannst du ein Screenshot zu den Attributen und der Bedingung vom Report machen? Dann kann ich mir das genauer anschauen woran es genau liegt.

      posted in Betrieb
      V
      vqh
    • RE: Report - where licenses are innstalled

      Hello Jan,

      I build a small query example for you where you can retrieve all installed licenses for the object type "Server".
      You can create a report via SQL-Editor and paste this query into the textarea.

      Query:

      SELECT
      obj_main.isys_obj__id AS 'id',
      obj_main.isys_obj__title AS 'LC__UNIVERSAL__TITLE###1',
      j2.isys_obj_type__title AS 'LC__REPORT__FORM__OBJECT_TYPE###1',
      j10.isys_obj__title AS 'LC__UNIVERSAL__TITLE#LC__CMDB__CATG__APPLICATION_OBJ_APPLICATION###1',
      j11.isys_obj_type__title AS 'LC__REPORT__FORM__OBJECT_TYPE#LC__CMDB__CATG__APPLICATION_OBJ_APPLICATION###1',
      j13.isys_obj__title AS 'LC__UNIVERSAL__TITLE#LC__CMDB__CATG__LIC_ASSIGN__LICENSE###1',
      j14.isys_obj_type__title AS 'LC__REPORT__FORM__OBJECT_TYPE#LC__CMDB__CATG__LIC_ASSIGN__LICENSE###1',
      j6.isys_cats_lic_list__key AS 'LC__CMDB__CATS__LICENCE_KEY#LC__CMDB__CATG__LIC_ASSIGN__LICENSE###26'

      FROM isys_obj AS obj_main
      INNER JOIN isys_cmdb_status AS obj_main_status ON obj_main_status.isys_cmdb_status__id = obj_main.isys_obj__isys_cmdb_status__id
      INNER JOIN isys_obj_type AS j2 ON j2.isys_obj_type__id = obj_main.isys_obj__isys_obj_type__id
      INNER JOIN isys_catg_application_list AS j4 ON j4.isys_catg_application_list__isys_obj__id = obj_main.isys_obj__id
      INNER JOIN isys_connection AS j3 ON j3.isys_connection__id = j4.isys_catg_application_list__isys_connection__id
      INNER JOIN isys_obj AS job3 ON j3.isys_connection__isys_obj__id = job3.isys_obj__id
      INNER JOIN isys_cats_lic_list AS j6 ON j6.isys_cats_lic_list__id = j4.isys_catg_application_list__isys_cats_lic_list__id
      INNER JOIN isys_obj AS j8 ON j8.isys_obj__id = j6.isys_cats_lic_list__isys_obj__id
      INNER JOIN isys_obj AS j10 ON j10.isys_obj__id = job3.isys_obj__id
      INNER JOIN isys_obj_type AS j11 ON j11.isys_obj_type__id = j10.isys_obj__isys_obj_type__id
      INNER JOIN isys_obj AS j13 ON j13.isys_obj__id = j6.isys_cats_lic_list__isys_obj__id
      INNER JOIN isys_obj_type AS j14 ON j14.isys_obj_type__id = j13.isys_obj__isys_obj_type__id

      WHERE TRUE

      AND  ( (j2.isys_obj_type__id != '60' ) AND (j2.isys_obj_type__id != '60' ) ) AND ( (j8.isys_obj__id != ''  AND j8.isys_obj__id  IS NOT  NULL ) AND (j2.isys_obj_type__id = '5' ) ) ORDER BY obj_main.isys_obj__title ASC ;

      I had to modify the query a little because it showed me all keys of the assigned license. I hope that this report is helpful for you.

      best regards
      Quyen

      report_example_installed_licenses.png

      posted in Operating
      V
      vqh
    • RE: Report meldet SQL-Fehler

      Hallo StefanP,

      danke das du den Fehler gefunden hast. Dieser Fehler wird ab dem nächsten Minor Release gefixt sein. Wenn du den Namen noch mit ausgeben willst musst du wenn du das Attribut ausgewählt hast auf die Lupe drücken dann öffnet sich ein weiterer Selektor wo du dann unter Allgemein den Namen auswählen kannst.

      Gruß
      vqh

      posted in Entwicklung
      V
      vqh
    • RE: Fehlermeldung beim Aufruf der 'Views' unter 'Reports'

      Hallo bambini4,

      werden die Report-Views vom Typ IT-Grundschutz-Katalog bei dir genutzt? Wenn nicht dann kannst du die PHP Dateien:

      • isys_report_view_itgs_measure_cost.class.php
      • isys_report_view_itgs_measure_implementation.class.php
      • isys_report_view_itgs_obj_analysis.class.php
      • isys_report_view_itgs_untouched_obj.class.php
        unter *[idoitRoot]\src\classes\report\views* entfernen.
        Andernfalls musst du in den genannten Dateien überall wo ein Methodenaufruf wie Objekt->Methodenname(&$parameter1, …); das &-Zeichen bei allen Parametern entfernen da diese Art von Aufruf seit der PHP Version 5.4 entfernt wurde.
        Bei deiner Fehlermeldung ist es beim Aufruf $this->buildLocationTree(&$l_locationTree, $p_objID);.

      Viele Grüße,
      vqh

      posted in Betrieb
      V
      vqh