i-doit / knowledge-base Goto Github PK
View Code? Open in Web Editor NEWi-doit docs
Home Page: http://kb.i-doit.com
License: Creative Commons Attribution Share Alike 4.0 International
i-doit docs
Home Page: http://kb.i-doit.com
License: Creative Commons Attribution Share Alike 4.0 International
Add ID-10582
GER
EN
Things to note here:
php8 is shipped by default
php-mcrypt is no longer needed
In the /etc/php8/apache2/php.ini file,session.save_path
=/var/lib/php8
is specified, but this folder is not writable by the wwwrun user by default. With openSUSE it works
GER
EN
Add infos that it is working etc.
GER
EN
A new console.php command is needed to configre the common JDisc server settings via i-doit console
Check ID-10100
As a user of i-doit and JDisc, I want to blacklist/whitelist defined layer-3-nets and ip addresse/ranges for the import from JDisc. Some addresses originate from changing ip-addresses which are dynamic by the provider so they also create new layer-3-nets and information, that is not needed in i-doit.
Check ID-8391
Needs to be changed on complete page
[commandArguments]
[commandArguments]
GER
EN
See ID-8969
Ger: Die Experteneinstellung “maxlength.list.placeholder” muss erhöht werden, damit viele Objekte in Listen referenziert werden können.
En: The expert setting "maxlength.list.placeholder" must be increased to be able to reference lots of referenced objects in lists.
Add hotfix WORKFLOW-51
Missing APT packages to install ``` sudo apt install libapache2-mod-fcgid php8.1-bcmath php8.1-cli php8.1-common php8.1-curl php8.1-fpm php8.1-gd php8.1-ldap php8.1-mbstring php8.1-mysql php8.1-opcache php8.1-pgsql php8.1-soap php8.1-xml php8.1-zip ```
PHP 8.1 FPM enabled in Apache2
a2enmod proxy_fcgi setenvif
a2enconf php8.1-fpm
sudo service apache2 restart
Modify Apache i-doit.conf
sudo nano /etc/apache2/sites-available/i-doit.conf
Change the PHP version from 7.4 to 8.1 in the following line
SetHandler "proxy:unix:/var/run/php/php8.1-fpm.sock|fcgi://localhost/"
Restart apache2
sudo service apache2 restart
Copy PHP i-doit.ini to the new PHP folder
sudo cp -i /etc/php/7.4/mods-available/i-doit.ini /etc/php/8.1/mods-available/i-doit.ini
Check the new i-doit.ini to see if the max_input_vars and post_max_size values are correct, otherwise change them
sudo cat /etc/php/8.1/mods-available/i-doit.ini | grep max_input_vars
sudo cat /etc/php/8.1/mods-available/i-doit.ini | grep post_max_size
Modify the variables in all three php.ini files
sudo find / -name -f php.ini
Activate the new PHP version 8.1
sudo update-alternatives --set php /usr/bin/php8.1
Restart PHP 8.1
sudo service php8.1-fpm restart
Restart Apache
sudo service apache2 restart
German
English
JDisc mapping error ID-10424
Templates are not displayed when the for e.g. Nagios Add-on is installed ID-10534
Plase care @ljuergenliemke :>
Add ID-10576
We need to remove the endpoints, that have been “deprecated" and will be removed in 2.0:
From API-453
See intern document
This endpoint can be called with cmdb.cabling.read
and retrieves the information which connector is connected of a cable object.
Call Example:
{
"jsonrpc": "2.0",
"method": "cmdb.cabling.read",
"id": 1,
"params": {
"objID": 2821,
"apikey": [{api-key}]
}
}
Response Example:
{
"id": 1,
"jsonrpc": "2.0",
"result": {
"start": {
"presentation": "server11 > server_output11",
"connector": {
"id": 2,
"title": "server_output11",
"type": "C__CATG__CONNECTOR",
"inOutput": "Output"
},
"ciObject": {
"id": 162,
"title": "server11",
"type": "Server",
"typeConstant": "C__OBJTYPE__SERVER"
}
},
"end": {
"presentation": "switch_classic > input_switch11",
"connector": {
"id": 3,
"title": "input_switch11",
"type": "C__CATG__CONNECTOR",
"inOutput": "Input"
},
"ciObject": {
"id": 172,
"title": "switch_classic",
"type": "Switch",
"typeConstant": "C__OBJTYPE__SWITCH"
}
}
}
}
Hello,
I was looking at the category documentation for Operating System and noticed that it may be outdated.
This is because:
assigned_version_for_report
, assigned_databases
, installDate
int
(except for description
), even though it seems like the API might also accept strings for some of those values, e.g., for assigned_version
.See here from the administration page:
I noticed this because I wondered why every expected request argument is int
, even though you can insert string values in the web UI, for example in assigned_version
.
This issue probably also applies to other categories too.
Additional question:
My API client uses "cmdb.category_info.read"
to find out the data type that is expected for "cmdb.category.save"
.
In the case of the attribute assigned_version
, we can see (in the response down below) that
response["result"]["assigned_version"]["data"]["type"] = "int"
(and its a "dialog_plus"
).
So it seems like it only accepts int
, but we have seen above in the administration that it should also accept string
. Is it true, that the API also accepts strings? Currently, I have no way to test this out. And how is it possible to know only from API responses, that the data type for assigned_version
and other attributes is int
OR string
?
Running this RPC
{
"jsonrpc": "2.0",
"method": "cmdb.category_info.read",
"params": {
"apikey": "...",
"category": "C__CATG__OPERATING_SYSTEM"
},
"id": 1
}
also returns
{
"id": 1,
"jsonrpc": "2.0",
"result": {
"application": {...},
"application_type": {...},
"application_priority": {...},
"assigned_license": {...},
"assigned_license_key": {...},
"assigned_it_service": {...},
"assigned_variant": {...},
"assigned_version": {
"title": "Version number",
"check": {
"mandatory": null
},
"info": {
"title": "LC__CATG__VERSION_TITLE",
"type": "dialog_plus",
"primaryField": false,
"backwardCompatible": false
},
"data": {
"type": "int",
"field": "isys_catg_application_list__isys_catg_version_list__id",
"sourceTable": "isys_catg_version_list",
"references": [
"isys_catg_version_list",
"isys_catg_version_list__id"
],
"readOnly": false,
"joins": [
{},
{},
{}
],
"index": true,
"select": {}
},
"ui": {
"id": "C__CATG__OPERATING_SYSTEM_VERSION",
"type": "popup",
"default": "-1",
"params": {
"p_strPopupType": "dialog_plus",
"p_strClass": "input-small",
"p_arData": {}
}
},
"format": {
"callback": [
"isys_global_application_export_helper",
"applicationAssignedVersion"
]
}
},
"assigned_version_for_report": {...},
"assigned_databases": {...},
"installDate": {...},
"description": {...}
}
}
The main change here will be, that i-doit will no longer login users automatically. Meaning every user will first be moved to the login page. Here they will have the chance to login with a username and password.
If SSO is configured, they will see the “SSO Login” button below the inputs when clicking this, they will be redirected with the GET Parameter use-sso=1
. This should then trigger the default SSO logic.
Meaning: for customers who still want to be logged in directly, this would be the workaround: open i-doit with a URL like http://your-idoit.int/?use-sso=1
GER
EN
Since i am still waiting for an reply from the SUSE Support, i will mark the guide as outdated and link to our issue #423
To make it more flexible for the user we decided to add a matching profile for each JDisc Type as column.
Check ID-9819
GER
EN
See intern document
Missing installation guide for nmap on unix and windows.
Needed for Ping etc. at the IP list.
Add ID-10590
Update the software development page regarding "API erweitern" with new structure of the upcoming API 2.0
API 2.0
Possible errors:
-Upgrade after a crash is not supported.
-Generic error
-Database corrupt
-Failed to start MariaDB
Solution:
This error also happens when your Database data is corrupt. You may fix this issue by moving your Db data files (ib_logfile0 and ib_logfile1) mentioned below to another location. ib_logfile0 and ib_logfile1 are system tablespace for the InnoDB infrastructure. These files contains several classes for information vital for InnoDB. You may read about these files here.
Before following below steps please keep a copy of files (ib_logfile0 and ib_logfile1) so you may restore your data in case it is lost:
Follow below steps:
Login to server via SSH with root access.
Navigate to /var/lib/mysql.
If you see files like, ib_logfile0 and ib_logfile1, rename or move them to some other folder.
Stop and start the MySQL service by running sudo service mysql stop and sudo service mysql start
And then
Systemctl status mariadb.service
Add API method for Documents Add-on
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.