Dear forum members,
I've already looked at a number of pages on Google, and i looked the documentation too about whether a change to the system configuration could be logged. But I didn't find any way to do that.
My question would be, is it possible to set this up at all? If so, where can this be done?
Thank you for your answers!
Regards,
kassaik
[SOLVED] Logging of system configuration changes
Moderator: crythias
-
- Znuny newbie
- Posts: 2
- Joined: 02 Sep 2020, 11:14
- Znuny Version: 6.0.16
- Real Name: Kristof Kassai
[SOLVED] Logging of system configuration changes
Last edited by kassaik on 03 Sep 2020, 08:14, edited 1 time in total.
-
- Administrator
- Posts: 4251
- Joined: 18 Dec 2007, 12:23
- Znuny Version: Znuny and Znuny LTS
- Real Name: Roy Kaldung
- Company: Znuny
- Contact:
Re: Logging of system configuration changes
Hi,
Changes and the optional comments on the system configuration are availabe in the table sysconfig_deployment, no GUI option so far in the Community Edition.
- Roy
Changes and the optional comments on the system configuration are availabe in the table sysconfig_deployment, no GUI option so far in the Community Edition.
- Roy
Znuny and Znuny LTS running on CentOS / RHEL / Debian / SLES / MySQL / PostgreSQL / Oracle / OpenLDAP / Active Directory / SSO
Use a test system - always.
Do you need professional services? Check out https://www.znuny.com/
Do you want to contribute or want to know where it goes ?
Use a test system - always.
Do you need professional services? Check out https://www.znuny.com/
Do you want to contribute or want to know where it goes ?
-
- Znuny superhero
- Posts: 658
- Joined: 24 Feb 2012, 03:58
- Znuny Version: LTS and Features
- Real Name: Mo Azfar
- Location: Kuala Lumpur, MY
- Contact:
Re: Logging of system configuration changes
Either you can manually check exported modified configuration (System Configuration > Import/Export > Export)
or running the sql.
As a basic, the below sql should do
SQL For Current Changes (Unique)
SQL For All the System Configuration Changes (may contains multiple value per name)
or running the sql.
As a basic, the below sql should do
SQL For Current Changes (Unique)
Code: Select all
SELECT
sm.NAME,
sm.effective_value AS MODIFIED_VALUE,
sd.effective_value AS DEFAULT_VALUE,
sm.change_time AS MODIFIED_TIME,
CONCAT_WS(' ', u.first_name, u.last_name) AS MODIFIED_BY
FROM sysconfig_modified sm
JOIN sysconfig_default sd ON (sm.sysconfig_default_id=sd.id)
JOIN users u ON (sm.change_by=u.id)
SQL For All the System Configuration Changes (may contains multiple value per name)
Code: Select all
SELECT
smv.name,
smv.effective_value AS MODIFIED_VALUE,
sdv.effective_value AS DEFAULT_VALUE,
smv.change_time AS MODIFIED_TIME,
CONCAT_WS(' ', u.first_name, u.last_name) AS MODIFIED_BY
FROM sysconfig_modified_version smv
JOIN sysconfig_default_version sdv ON (smv.sysconfig_default_version_id=sdv.id)
JOIN users u ON (smv.change_by=u.id)
ORDER BY smv.name
My Github
OTRS CE/LTS Discord Channel
Cant Update Package Anymore ? Check This
Professional OTRS, Znuny & OTOBO services: efflux.de/en
Free and premium add-ons: English
OTRS CE/LTS Discord Channel
Cant Update Package Anymore ? Check This
Professional OTRS, Znuny & OTOBO services: efflux.de/en
Free and premium add-ons: English
-
- Znuny newbie
- Posts: 2
- Joined: 02 Sep 2020, 11:14
- Znuny Version: 6.0.16
- Real Name: Kristof Kassai
Re: Logging of system configuration changes
Thank you so much for the quick answers Roy and Skullz!
I knew what was in the database, I would be interested at the level of linux files. In this case, it stays in the database.
Thanks again!
Regards,
kassaik
I knew what was in the database, I would be interested at the level of linux files. In this case, it stays in the database.
Thanks again!
Regards,
kassaik