DCImanager 6
en En
es Es

Security event logging

The platform records information about events in the journald system log. Events include all actions performed by users and platform services. To obtain information about security events (login attempts, access rights changes, etc.), filter the contents of the system log. The article provides an example of a Python script for filtering.

Script logic

The script identifies security events and outputs information about them to the console. To identify a security event, the script compares the journald entry with the patterns from the filters variable.

By default, the script identifies the following events:

  • logging into the platform;
  • logging out of the platform;
  • creating an account;
  • deleting an account;
  • changing the role of an account;
  • creating a key for key-based authorization;
  • key-based authorization;
  • resetting an account password;
  • locking and unlocking an account;
  • creating and deleting a group;
  • adding to and removing from a group;
  • deleting an active session;
  • adding and deleting an SSH key;
  • enabling and disabling maintenance mode;
  • blocking and unblocking the server;
  • enabling and disabling automatic change of the server boot order in BIOS/UEFI;
  • changing the mechanism or order of server boot in BIOS/UEFI;
  • changing the main IP address of the server;
  • creating a network connection;
  • deleting a network connection;
  • assigning an IP address to the server;
  • editing the server's IP address settings;
  • deleting the server's IP address;
  • editing the switch port settings;
  • enabling and disabling the switch port;
  • turning the PDU port on and off;
  • turning the server on, off, and restarting it;
  • editing the server BIOS settings;
  • creating a server profile;
  • editing a server profile;
  • linking a profile to a server;
  • applying profile settings to a server

To exclude certain events, remove them from the filters variable. Event descriptions are provided in the comments to the variable values.

The message template may contain placeholders of the form: <parameter>. The script will display information about the event if the journald message contains any number of characters in place of the placeholders. 

The script example is not a ready-made solution, but only demonstrates the possibility of exporting messages from journald. You can modify the script algorithm to suit your needs.

Script example

Script code

Preparing and running the script

To run the script:

  1. Connect to the server with the platform via SSH. For more information about connecting via SSH, see Workstation setup.
  2. Create a file named example_filter.py with the script code.
  3. Run the script:
    python3 example_filter.py

Examples of output

Logging into the platform

Example output
Oct 07 08:20:10 DCI6-18781.example.com proxy[14966]: Begin processing request target: '/public/token', content length:  46
Oct 07 08:20:10 DCI6-18781.example.com dci_auth_v4[2937]: SELECT auth_user.ip_list AS `ip_list` FROM auth_user WHERE ((auth_user.id='100001' AND auth_user.ip_list IS NOT NULL))
Oct 07 08:20:10 DCI6-18781.example.com dci_input[2937]: 10.60.1.1 — - [07/Oct/2025:08:20:10 +0000] "POST /auth/v4/public/token HTTP/2.0" 400 82 "https://172.31.48.32/auth/login" "Mozilla/5.0 (X11; Linux x86_64; rv:143.0) Gecko/20100101 Firefox/143.0" "-"

Logging out of the platform

Example output
Oct 07 08:22:11 DCI6-18781.example.com proxy[14951]: Begin processing request target: '/public/global/whoami/method/DELETE/target/%2Ftoken%2F10000005%2D4e39c62f%2D7c45%2D432c%2Da8a9%2D6c943f30d378', content length: --
Oct 07 08:22:11 DCI6-18781.example.com proxy[14966]: Auth response body: {"lang":"en","owner_email":"user@example.com","owner_id":100001,"roles":["@admin"],"session":"10000005-4e39c62f-7c45-432c-a8a9-6c943f30d378","trustee_email":"user@example.com","trustee_id":100001,"xsrf_token":"10000005-4e39c62f-7c45-432c-a8a9-6c943f30d378"}
Oct 07 08:22:11 DCI6-18781.example.com dci_auth_v4[2937]: DELETE FROM auth_token WHERE auth_token.id='10000005'
Oct 07 08:22:11 DCI6-18781.example.com dci_input[2937]: 10.60.1.1 — - [07/Oct/2025:08:22:11 +0000] "DELETE /auth/v4/token/10000005-4e39c62f-7c45-432c-a8a9-6c943f30d378 HTTP/2.0" 200 4 "https://172.31.48.32/dci/dashboard" "Mozilla/5.0 (X11; Linux x86_64; rv:143.0) Gecko/20100101 Firefox/143.0" "-"

Creating an account

Example output
Oct 07 11:38:10 DCI-reference.example.com dci_writer[158498]: request method: POST url: /user version: HTTP/1.0
Oct 07 11:38:10 DCI-reference.example.com dci_writer[158498]: Got header: [internal-auth]eyJsYW5nIjoicnUiLCJvd25lcl9lbWFpbCI6ImEub2JlcnNodEBpc3BzeXN0ZW0uY29tIiwib3duZXJfaWQiOjEwMDAwMCwicm9sZXMiOlsiQGFkbWluIl0sInNlc3Npb24iOiIxMDAwMDAwNC1lZTQ4ZjdhYS0zMWJlLTRlYmMtYmY3Zi0xYTUyZmYxNGVkYzQiLCJ0cnVzdGVlX2VtYWlsIjoiYS5vYmVyc2h0QGlzcHN5c3RlbS5jb20iLCJ0cnVzdGVlX2lkIjoxMDAwMDAsInhzcmZfdG9rZW4iOiIxMDAwMDAwNC1lZTQ4ZjdhYS0zMWJlLTRlYmMtYmY3Zi0xYTUyZmYxNGVkYzQifQ==
Oct 07 11:38:10 DCI-reference.example.com dci_writer[158498]: Got header: [x-forwarded-for]10.60.1.1, 127.0.0.1
Oct 07 11:38:10 DCI-reference.example.com dci_writer[158498]: RequestBody: {"email":"user2@example.com","password":"*","role":"@user"}
Oct 07 11:38:10 DCI-reference.example.com dci_writer[158498]: User 'user2@example.com' created in auth with result: '{"id":100005,"uuid":"508ea979-abd0-432c-bcdb-323f298c9fc7"}'

Deleting an account

Example output
Oct 07 12:06:50 DCI-reference.example.com dci_writer[158498]: request method: DELETE url: /user/100005 version: HTTP/1.0
Oct 07 12:06:50 DCI-reference.example.com dci_writer[158498]: Got header: [internal-auth]eyJsYW5nIjoicnUiLCJvd25lcl9lbWFpbCI6ImEub2JlcnNodEBpc3BzeXN0ZW0uY29tIiwib3duZXJfaWQiOjEwMDAwMCwicm9sZXMiOlsiQGFkbWluIl0sInNlc3Npb24iOiIxMDAwMDAwNC1l
ZTQ4ZjdhYS0zMWJlLTRlYmMtYmY3Zi0xYTUyZmYxNGVkYzQiLCJ0cnVzdGVlX2VtYWlsIjoiYS5vYmVyc2h0QGlzcHN5c3RlbS5jb20iLCJ0cnVzdGVlX2lkIjoxMDAwMDAsInhzcmZfdG9rZW4iOiIxMDAwMDAwNC1lZTQ4ZjdhYS0zMWJlLTRlYmMtYmY3Zi0xYTUyZmYxNGVkYzQifQ==
Oct 07 12:06:50 DCI-reference.example.com dci_writer[158498]: Got header: [x-forwarded-for]10.60.1.1, 127.0.0.1, 127.0.0.1
Oct 07 12:06:50 DCI-reference.example.com dci_auth_v4[1113]: DELETE FROM auth_user WHERE auth_user.id='100005'

Changing the role of an account

Example output
Oct 07 13:43:27 DCI-reference.example.com msgsender_writer[156993]: request method: POST url: /user/100007 version: HTTP/1.0
Oct 07 13:43:27 DCI-reference.example.com dci_writer[158498]: Got header: [internal-auth]eyJsYW5nIjoicnUiLCJvd25lcl9lbWFpbCI6ImEub2JlcnNodEBpc3BzeXN0ZW0uY29tIiwib3duZXJfaWQiOjEwMDAwMCwicm9sZXMiOlsiQGFkbWluIl0sInNlc3Npb24iOiIxMDAwMDAwNC1lZTQ4ZjdhYS0zMWJlLTRlYmMtYmY3Zi0xYTUyZmYxNGVkYzQiLCJ0cnVzdGVlX2VtYWlsIjoiYS5vYmVyc2h0QGlzcHN5c3RlbS5jb20iLCJ0cnVzdGVlX2lkIjoxMDAwMDAsInhzcmZfdG9rZW4iOiIxMDAwMDAwNC1lZTQ4ZjdhYS0zMWJlLTRlYmMtYmY3Zi0xYTUyZmYxNGVkYzQifQ==
Oct 07 13:43:27 DCI-reference.example.com dci_writer[158498]: Got header: [x-forwarded-for]10.60.1.1, 127.0.0.1, 127.0.0.1
Oct 07 13:43:27 DCI-reference.example.com dci_auth_v4[1113]: UPDATE auth_user SET `roles`='[\"@admin\"]' WHERE id = '100007'

Creating a key for key-based authorization

Example output
Oct 07 14:14:48 DCI-reference.example.com proxy[157914]: Begin processing request target: '/user/user2@example.com/key', content length:  2
Oct 07 14:14:48 DCI-reference.example.com proxy[157914]: Auth response body: {"lang":"ru","owner_email":"user@example.com","owner_id":100000,"roles":["@admin"],"session":"00000000-ffffffff-0000-ffff-0000-ffffffffffff","trustee_ema
il":"user@example.com","trustee_id":100000,"xsrf_token":"00000000-ffffffff-0000-ffff-0000-ffffffffffff"}
Oct 07 14:14:48 DCI-reference.example.com dci_auth_v4[1113]: INSERT INTO auth_key (`id`,`name`,`user`,`expires_at`) VALUES('3','6450bfdd19e4d4bda2bcefca0aaff0d92e5a1c34c862503c8d5927e81c1bf569','100007','2025-10-07 15:14:48')
Oct 07 14:14:48 DCI-reference.example.com dci_input[1113]: 127.0.0.1 — - [07/Oct/2025:14:14:48 +0000] "POST /api/auth/v4/user/user2@example.com/key HTTP/1.1" 201 57 "-" "curl/7.81.0" "10.60.1.1"

Key-based authorization

Example output
Oct 07 15:53:32 DCI-reference.example.com proxy[157914]: Begin processing request target: '/public/key', content length:  49
Oct 07 15:53:32 DCI-reference.example.com dci_auth_v4[1113]: INSERT INTO auth_token (`id`,`name`,`owner`,`trustee`,`last_used`,`created_at`,`expires_at`,`client_ip`,`description`,`need_2fa`,`user_agent`) VALUES('10000013','133edfa75b6ae76a7996d03c19c0b230633a5f0be12d0291688c1eabdc1adc91','100007','100007','2025-10-07 15:53:32','2025-10-07 15:53:32',NULL,'10.60.1.1','created by /public/key at 1759852412 with key 4','0','curl/7.81.0')
Oct 07 15:53:32 DCI-reference.example.com dci_input[1113]: 127.0.0.1 — - [07/Oct/2025:15:53:32 +0000] "POST /api/auth/v4/public/key HTTP/1.1" 201 106 "-" "curl/7.81.0" "10.60.1.1"

Resetting an account password

Example output
Oct 07 16:14:28 DCI-reference.example.com proxy[157914]: Begin processing request target: '/user/100007/password', content length:  27
Oct 07 16:14:28 DCI-reference.example.com proxy[157914]: Auth response body: {"lang":"ru","owner_email":"user@example.com","owner_id":100000,"roles":["@admin"],"session":"00000000-ffffffff-0000-ffff-0000-ffffffffffff","trustee_email":"user@example.com","trustee_id":100000,"xsrf_token":"00000000-ffffffff-0000-ffff-0000-ffffffffffff"}
Oct 07 16:14:28 DCI-reference.example.com dci_auth_v4[1113]: UPDATE auth_user SET `password`='$5$7ig49ITk$HreIz2aseGYGdfUHr0oVX2nl.G83zvUCL.5CyPDRkLC' WHERE id = '100007'
Oct 07 16:14:28 DCI-reference.example.com dci_input[1113]: 127.0.0.1 — - [07/Oct/2025:16:14:28 +0000] "POST /auth/v4/user/100007/password HTTP/1.1" 200 4 "https://172.31.48.200/dci/users/all?filter=~&sort=id:desc;&page=1:25;" "Mozilla/5.0 (X11; Linux x86_64; rv:143.0) Gecko/20100101 Firefox/143.0" "10.60.1.1"

Locking and unlocking an account

Example output
Oct 07 16:43:06 DCI-reference.example.com proxy[157914]: Begin processing request target: '/user/100007/suspend', content length:  2
Oct 07 16:43:06 DCI-reference.example.com proxy[157914]: Auth roles: {"lang":"ru","owner_email":"user@example.com","owner_id":100000,"roles":["@admin"],"session":"00000000-ffffffff-0000-ffff-0000-ffffffffffff","trustee_email":"user@example.com","trustee_id":100000,"xsrf_token":"00000000-ffffffff-0000-ffff-0000-ffffffffffff"}
Oct 07 16:43:06 DCI-reference.example.com dci_auth_v4[1113]: UPDATE auth_user SET `state`='disabled' WHERE id = '100007'
Oct 07 16:43:06 DCI-reference.example.com dci_input[1113]: 127.0.0.1 — - [07/Oct/2025:16:43:06 +0000] "POST /auth/v4/user/100007/suspend HTTP/1.1" 200 4 "-" "-" "10.60.1.1, 127.0.0.1"

Creating and deleting a group

Example output
Oct 07 17:52:36 DCI-reference.example.com proxy[157914]: Begin processing request target: '/public/global/whoami/method/POST/target/%2Facl', content length: --
Oct 07 17:52:36 DCI-reference.example.com proxy[157914]: Auth response body: {"lang":"ru","owner_email":"user@example.com","owner_id":100000,"roles":["@admin"],"session":"00000000-ffffffff-0000-ffff-0000-ffffffffffff","trustee_email":"user@example.com","trustee_id":100000,"xsrf_token":"00000000-ffffffff-0000-ffff-0000-ffffffffffff"}
Oct 07 17:52:36 DCI-reference.example.com dci_auth_v4[1113]: INSERT INTO auth_acl (`id`,`name`,`ip_list`) VALUES('3','admins','[\"118.42.86.53\"]')
Oct 07 17:52:36 DCI-reference.example.com dci_input[1113]: 10.60.1.1 — - [07/Oct/2025:17:52:36 +0000] "POST /auth/v4/acl HTTP/2.0" 201 10 "https://172.31.48.200/dci/users/group" "Mozilla/5.0 (X11; Linux x86_64; rv:143.0) Gecko/20100101 Firefox/143.0" "-"

Adding to and removing from a group

Example output
Oct 07 18:39:53 DCI-reference.example.com proxy[157913]: Begin processing request target: '/user/100000/method/POST/target/%2Facl%2F3%2Fuser%2F100007', content length: --
Oct 07 18:39:53 DCI-reference.example.com proxy[157914]: Auth roles: {"lang":"ru","owner_email":"user@example.com","owner_id":100000,"roles":["@admin"],"session":"00000000-ffffffff-0000-ffff-0000-ffffffffffff","trustee_email":"user@example.com","trustee_id":100000,"xsrf_token":"00000000-ffffffff-0000-ffff-0000-ffffffffffff"}
Oct 07 18:39:53 DCI-reference.example.com dci_auth_v4[1113]: INSERT INTO auth_user2acl (`id`,`user`,`acl`) VALUES('1','100007','3')
Oct 07 18:39:53 DCI-reference.example.com dci_input[1113]: 127.0.0.1 — - [07/Oct/2025:18:39:53 +0000] "POST /auth/v4/acl/3/user/100007 HTTP/1.1" 201 10 "-" "-" "10.60.1.1, 127.0.0.1"

Deleting an active session

Example output
Oct 07 19:00:55 DCI-reference.example.com proxy[157913]: Begin processing request target: '/public/global/whoami/method/DELETE/target/%2Fsession%2F10000003', content length: --
Oct 07 19:00:55 DCI-reference.example.com proxy[157914]: Auth response body: {"lang":"ru","owner_email":"user@example.com","owner_id":100000,"roles":["@admin"],"session":"00000000-ffffffff-0000-ffff-0000-ffffffffffff","trustee_email":"user@example.com","trustee_id":100000,"xsrf_token":"00000000-ffffffff-0000-ffff-0000-ffffffffffff"}
Oct 07 19:00:55 DCI-reference.example.com dci_auth_v4[1113]: DELETE FROM auth_token WHERE auth_token.id='10000003'
Oct 07 19:00:55 DCI-reference.example.com dci_input[1113]: 127.0.0.1 — - [07/Oct/2025:19:00:55 +0000] "DELETE /auth/v4/session/10000003 HTTP/1.1" 200 15 "https://172.31.48.200/dci/users/auth-sessions?filter=~&sort=~&page=1:25;" "Mozilla/5.0 (X11; Linux x86_64; rv:143.0) Gecko/20100101 Firefox/143.0" "10.60.1.1"

Adding and deleting an SSH key

Example output
Oct 07 19:37:35 DCI-reference.example.com proxy[157913]: Begin processing request target: '/public/global/whoami/method/POST/target/%2Fself%2Fsshkey', content length: --
Oct 07 19:37:35 DCI-reference.example.com proxy[157914]: Auth response body: {"lang":"en","owner_email":"user2@example.com","owner_id":100007,"roles":["@user"],"session":"10000014-34162156-9288-4b28-9a2c-1223fd06ac2b","trustee_email":"user2@example.com","trustee_id":100007,"xsrf_token":"10000014-34162156-9288-4b28-9a2c-1223fd06ac2b"}
Oct 07 19:37:35 DCI-reference.example.com dci_auth_v4[1113]: INSERT INTO auth_user_sshkey (`id`,`name`,`owner`,`ssh_pub_key`) VALUES('1','SSH server key','100007','ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIJm3EyZN20idnn+9sscr6qs6g04cDlQmM8rjrINW9fhm')
Oct 07 19:37:35 DCI-reference.example.com dci_input[1113]: 127.0.0.1 — - [07/Oct/2025:19:50:36 +0000] "POST /auth/v4/self/sshkey HTTP/1.1" 201 10 "https://172.31.48.200/auth/user/ssh" "Mozilla/5.0 (X11; Linux x86_64; rv:143.0) Gecko/2010
0101 Firefox/143.0" "10.60.1.1"

Enabling and disabling maintenance mode

Example output
Nov 01 19:54:01 DCI-reference.example.com proxy[56184]: Begin processing request target: '/server/12', content length:  20
Nov 01 19:54:01 DCI-reference.example.com dci_writer[160279]: RequestBody: {"maintenance":true}
Nov 01 19:54:01 DCI-reference.example.com dci_writer[160279]: db: id=0x7bd790201740 query='UPDATE dci_server SET maintenance='1' WHERE id=12' duration=120
Nov 01 19:54:01 DCI-reference.example.com dci_input[1113]: 10.60.1.1 — - [01/Nov/2025:19:54:01 +0000] "POST /dci/v3/server/12 HTTP/2.0" 200 19 "https://172.31.48.200/dci/server/list?filter=~&sort=id:desc;&page=1:25;" "Mozilla/5.0 (X11; Linux x86_64; rv:144.0) Gecko/20100101 Firefox/144.0" "-"

Blocking and unblocking the server

Example output
Nov 02 21:46:37 dci6.isptech.ru proxy[2188826]: Begin processing request target: '/server/31/suspend', content length:  2
Nov 02 21:46:37 dci6.isptech.ru dci_writer[2209537]: db: id=0x7f581c031f50 query='UPDATE dci_server SET state='suspending' WHERE id=31' duration=7260
Nov 02 21:46:37 dci6.isptech.ru dci_input[1262]: 10.60.1.1 — - [02/Nov/2025:21:46:37 +0000] "POST /dci/v3/server/31/suspend HTTP/2.0" 200 53 "https://172.31.52.10/dci/server/list?filter=~&sort=id:desc;&page=1:250;" "Mozilla/5.0 (X11; Linux x86_64; rv:144.0) Gecko/20100101 Firefox/144.0" "-"

Enabling and disabling automatic change of the server boot order in BIOS/UEFI

Example output
Nov 04 14:36:37 DCI-reference.example.com proxy[56184]: Begin processing request target: '/setting/operation_change_boot_order', content length:  18
Nov 04 14:36:38 DCI-reference.example.com dci_writer[160279]: db: id=0x7bd790024c60 query='UPDATE isp_settings SET value='false' WHERE name='operation_change_boot_order'' duration=1082
Nov 04 14:36:38 DCI-reference.example.com dci_input[1113]: 10.60.1.1 — - [04/Nov/2025:14:36:38 +0000] "POST /api/dci/v3/setting/operation_change_boot_order HTTP/2.0" 200 39 "-" "curl/7.81.0" "-"

Changing the mechanism or order of server boot in BIOS/UEFI

Example output
Nov 04 16:41:42 DCI-reference.example.com proxy[56184]: Begin processing request target: '/server/12', content length:  44
Nov 04 16:41:42 DCI-reference.example.com dci_writer[160279]: RequestBody: {"settings":{"boot_mode":"auto","efi":true}}
Nov 04 16:41:42 DCI-reference.example.com dci_writer[160279]: db: id=0x7bd7880ac8c0 query='UPDATE dci_server SET settings='{\"boot_mode\":\"auto\",\"efi\":true}' WHERE id=12' duration=173
Nov 04 16:41:42 DCI-reference.example.com dci_input[1113]: 127.0.0.1 — - [04/Nov/2025:16:41:42 +0000] "POST /api/dci/v3/server/12 HTTP/1.1" 200 19 "-" "curl/7.81.0" "10.60.1.1"

Changing the main IP address of the server

Example output
Nov 05 14:02:52 DCI-reference.example.com proxy[56184]: Begin processing request target: '/server/12', content length:  16
Nov 05 14:02:52 DCI-reference.example.com dci_writer[160279]: RequestBody: {"main_ipv4":10}
Nov 05 14:02:52 DCI-reference.example.com dci_writer[160279]: db: id=0x7bd79000bcb0 query='UPDATE dci_server SET main_ipv4=10 WHERE id=12' duration=107
Nov 05 14:02:52 DCI-reference.example.com dci_input[1113]: 127.0.0.1 — - [05/Nov/2025:14:02:52 +0000] "POST /dci/v3/server/12 HTTP/1.1" 200 19 "-" "-" "10.60.1.1, 127.0.0.1"

Creating a network connection

Example output
Nov 05 15:21:01 dci6.isptech.ru proxy[2188826]: Begin processing request target: '/server/30/switch_connection', content length:  22
Nov 05 15:21:01 dci6.isptech.ru dci_writer[2209537]: RequestBody: {"switch_port_id":287}
Nov 05 15:21:01 dci6.isptech.ru dci_writer[2209537]: db: id=0x7f581c061400 query='UPDATE dci_switch_port SET connection_type='server' WHERE id=287' duration=200
Nov 05 15:21:01 dci6.isptech.ru dci_input[1262]: 127.0.0.1 — - [05/Nov/2025:15:21:01 +0000] "POST /dci/v3/server/30/switch_connection HTTP/1.1" 200 9 "https://172.31.52.10/dci/server/30/connections" "Mozilla/5.0 (X11; Linux x86_64; rv:144.0) Gecko/20100101 Firefox/144.0" "10.60.1.1"

Deleting a network connection

Example output
Nov 05 15:30:42 dci6.isptech.ru proxy[2188826]: No schema handler for target: DELETE /server/30/switch_connection/29
Nov 05 15:30:42 dci6.isptech.ru dci_writer[2209537]: db: id=0x7f5814033770 query='DELETE FROM dci_server_to_switch_port WHERE id=29' duration=721
Nov 05 15:30:42 dci6.isptech.ru dci_input[1262]: 127.0.0.1 — - [05/Nov/2025:15:30:42 +0000] "DELETE /dci/v3/server/30/switch_connection/29 HTTP/1.1" 200 9 "https://172.31.52.10/dci/server/30/connections" "Mozilla/5.0 (X11; Linux x86_64; rv:144.0) Gecko/20100101 Firefox/144.0" "10.60.1.1"

Assigning an IP address to the server

Example output
Nov 05 16:50:09 DCI-reference.example.com proxy[56184]: Begin processing request target: '/server/12/ip', content length:  63
Nov 05 16:50:09 DCI-reference.example.com dci_writer[160279]: RequestBody: {"domain":"server-006.example.com","family":"ipv4","ip_pool":2}
Nov 05 16:50:09 DCI-reference.example.com dci_writer[160279]: db: id=0x7bd78800a9f0 query='INSERT INTO dci_server_ip (id,domain,ip_pool,family,server) VALUES(11,'server-006.example.com',2,'ipv4',12)' duration=245
Nov 05 16:50:09 DCI-reference.example.com dci_input[1113]: 127.0.0.1 — - [05/Nov/2025:16:50:09 +0000] "POST /dci/v3/server/12/ip HTTP/1.1" 200 20 "-" "-" "10.60.1.1, 127.0.0.1"

Editing the server's IP address settings

Example output
Nov 05 17:05:47 DCI-reference.example.com proxy[56184]: Begin processing request target: '/ip/11', content length:  42
Nov 05 17:05:47 DCI-reference.example.com dci_writer[160279]: db: id=0x7bd78830aba0 query='UPDATE dci_server_ip SET status='in_progress',domain='server-006-edited.example.com' WHERE id=11' duration=1237
Nov 05 17:05:47 DCI-reference.example.com dci_input[1113]: 127.0.0.1 — - [05/Nov/2025:17:05:47 +0000] "POST /dci/v3/ip/11 HTTP/1.1" 200 20 "-" "-" "10.60.1.1, 127.0.0.1"

Deleting the server's IP address

Example output
Nov 05 17:20:47 DCI-reference.example.com proxy[56184]: No schema handler for target: DELETE /server/12/ip/11
Nov 05 17:20:47 DCI-reference.example.com dci_writer[160279]: db: id=0x7bd788040f60 query='UPDATE dci_server_ip SET status='deleting' WHERE id=11' duration=1021
Nov 05 17:20:47 DCI-reference.example.com dci_input[1113]: 127.0.0.1 — - [05/Nov/2025:17:20:47 +0000] "DELETE /dci/v3/server/12/ip/11 HTTP/1.1" 200 20 "https://172.31.48.200/dci/server/12/ip/v4" "Mozilla/5.0 (X11; Linux x86_64; rv:144.0) Gecko/20100101 Firefox/144.0" "10.60.1.1"

Editing the switch port settings

Example output
Nov 05 17:50:37 dci6.isptech.ru proxy[2188826]: Begin processing request target: '/switch/11/port/287', content length:  45
Nov 05 17:50:37 dci6.isptech.ru dci_writer[2209537]: db: id=0x7f581c1294e0 query='UPDATE dci_switch_port SET note='' WHERE id=287' duration=4505
Nov 05 17:50:37 dci6.isptech.ru dci_input[1262]: 127.0.0.1 — - [05/Nov/2025:17:50:37 +0000] "POST /dci/v3/switch/11/port/287 HTTP/1.1" 200 22 "-" "-" "10.60.1.1, 127.0.0.1"

Enabling and disabling the switch port

Example output
Nov 05 18:41:49 dci6.isptech.ru proxy[2188826]: Begin processing request target: '/switch/11/port/287/down', content length:  2
Nov 05 18:41:50 dci6.isptech.ru dci_input[1262]: 10.60.1.1 — - [05/Nov/2025:18:41:50 +0000] "POST /dci/v3/switch/11/port/287/down HTTP/2.0" 200 48 "https://172.31.52.10/dci/devices/switch/11/ports?filter=~&sort=oper_status:desc;&page=1:100;" "Mozilla/5.0 (X11; Linux x86_64; rv:144.0) Gecko/20100101 Firefox/144.0" "-"

Turning the PDU port on and off

Example output
Nov 05 19:24:22 dci6.isptech.ru proxy[2188826]: Begin processing request target: '/pdu/4/port/24/down', content length:  2
Nov 05 19:24:22 dci6.isptech.ru dci_input[1262]: 10.60.1.1 — - [05/Nov/2025:19:24:22 +0000] "POST /dci/v3/pdu/4/port/24/down HTTP/2.0" 200 47 "https://172.31.52.10/dci/devices/pdu/4/ports" "Mozilla/5.0 (X11; Linux x86_64; rv:144.0) Gecko/20100101 Firefox/144.0" "-"

Turning the server on, off, and restarting it

Example output
Nov 05 19:49:42 DCI-reference.example.com proxy[56184]: Begin processing request target: '/server/6/power_on', content length:  2
Nov 05 19:49:42 DCI-reference.example.com dci_input[1113]: 10.60.1.1 — - [05/Nov/2025:19:49:42 +0000] "POST /dci/v3/server/6/power_on HTTP/2.0" 200 19 "https://172.31.48.200/dci/server/6/settings/main" "Mozilla/5.0 (X11; Linux x86_64; rv:144.0) Gecko/20100101 Firefox/144.0" "-"

Editing the server BIOS settings

Example output
Nov 06 10:27:17 dci6.isptech.ru proxy[2188826]: Begin processing request target: '/ipmi/17/bios_attr', content length:  18
Nov 06 10:27:17 dci6.isptech.ru dci_writer[2209537]: RequestBody: {"attributes":{}}
Nov 06 10:27:17 dci6.isptech.ru dci_input[1262]: 127.0.0.1 — - [06/Nov/2025:10:27:17 +0000] "POST /api/dci/v3/ipmi/17/bios_attr HTTP/1.1" 400 64 "-" "curl/7.81.0" "10.60.1.1"

Creating a server profile

Example output
Nov 06 11:06:20 DCI-reference.example.com proxy[56184]: Begin processing request target: '/server_profile', content length:  59
Nov 06 11:06:20 DCI-reference.example.com dci_writer[160279]: RequestBody: {"location":1,"model":"hp-gen9","name":"HP GEN9","note":""}
Nov 06 11:06:20 DCI-reference.example.com dci_writer[160279]: db: id=0x7bd78830adf0 query='INSERT INTO dci_server_profile (id,location,name,model) VALUES(2,1,'HP GEN9','hp-gen9')' duration=191
Nov 06 11:06:20 DCI-reference.example.com dci_input[1113]: 127.0.0.1 — - [06/Nov/2025:11:06:20 +0000] "POST /dci/v3/server_profile HTTP/1.1" 200 8 "https://172.31.48.200/dci/server/profile?filter=~&sort=~&page=1:25;" "Mozilla/5.0 (X11; Linux x86_64; rv:144.0) Gecko/20100101 Firefox/144.0" "10.60.1.1"

Editing a server profile

Example output
Nov 06 12:26:46 DCI-reference.example.com proxy[56184]: Begin processing request target: '/server_profile/2', content length:  96
Nov 06 12:26:46 DCI-reference.example.com dci_writer[160279]: request method: POST url: /server_profile/2 version: HTTP/1.0
Nov 06 12:26:46 DCI-reference.example.com dci_writer[160279]: RequestBody: {"bios_attributes":{"NWSK001":"NWSK001Enabled"},"location":1,"model":"hp-gen9","name":"HP GEN9"}
Nov 06 12:26:46 DCI-reference.example.com dci_writer[160279]: db: id=0x7bd7900885b0 query='UPDATE dci_server_profile SET bios_attributes='{\"NWSK001\":\"NWSK001Enabled\"}' WHERE id=2' duration=196
Nov 06 12:26:46 DCI-reference.example.com dci_input[1113]: 127.0.0.1 — - [06/Nov/2025:12:26:46 +0000] "POST /dci/v3/server_profile/2 HTTP/1.1" 200 8 "https://172.31.48.200/dci/server/profile/2/bios/advanced/network_stack_configuration" "Mozilla/5.0 (X11; Linux x86_64; rv:144.0) Gecko/20100101 Firefox/144.0" "10.60.1.1"

Linking a profile to a server

Example output
Nov 06 12:43:16 DCI-reference.example.com proxy[56184]: Begin processing request target: '/server/5/server_profile', content length:  23
Nov 06 12:43:16 DCI-reference.example.com dci_writer[160279]: RequestBody: {"server_profile_id":2}
Nov 06 12:43:16 DCI-reference.example.com dci_writer[160279]: db: id=0x7bd788089910 query='INSERT INTO dci_server_profile_to_server (id,server,profile) VALUES(2,5,2)' duration=5087
Nov 06 12:43:16 DCI-reference.example.com dci_input[1113]: 127.0.0.1 — - [06/Nov/2025:12:43:16 +0000] "POST /dci/v3/server/5/server_profile HTTP/1.1" 200 8 "-" "-" "10.60.1.1, 127.0.0.1"

Applying profile settings to a server

Example output
Nov 06 12:54:00 DCI-reference.example.com proxy[56184]: Begin processing request target: '/server/5/server_profile/2', content length:  2
Nov 06 12:54:00 DCI-reference.example.com dci_input[1113]: 127.0.0.1 — - [06/Nov/2025:12:54:00 +0000] "POST /dci/v3/server/5/server_profile/2 HTTP/1.1" 200 8 "-" "-" "10.60.1.1, 127.0.0.1"
Useful tips

Related topics:

The article was last updated on 12.01.2025. The article was prepared by technical writers of ISPsystem