- ajout de configurations

This commit is contained in:
Frogg 2026-05-15 15:16:59 +02:00
parent 3735bd3643
commit 0d4925e870
1 changed files with 23 additions and 11 deletions

View File

@ -23,6 +23,7 @@ CONF_LIST_CONFIG_JSON=$(cat <<EOF
{ {
"section": "CERTIFICATS", "section": "CERTIFICATS",
"items": [ "items": [
{"label": "SSL Certificat", "cmd": "/etc/ssl/wildcard"},
{"label": "Client cert list", "cmd": "/usr/local/share/ca-certificates"}, {"label": "Client cert list", "cmd": "/usr/local/share/ca-certificates"},
{"label": "Public root cert", "cmd": "/var/lib/step-ca/.step/certs/root_ca.crt", "bin": "step-ca"}, {"label": "Public root cert", "cmd": "/var/lib/step-ca/.step/certs/root_ca.crt", "bin": "step-ca"},
{"label": "ULTRA SECRET root cert", "cmd": "/var/lib/step-ca/.step/secrets/root_ca_key", "bin": "step-ca"}, {"label": "ULTRA SECRET root cert", "cmd": "/var/lib/step-ca/.step/secrets/root_ca_key", "bin": "step-ca"},
@ -36,7 +37,27 @@ CONF_LIST_CONFIG_JSON=$(cat <<EOF
{"label": "msmtp config", "cmd": "/etc/msmtprc", "bin": "msmtp"} {"label": "msmtp config", "cmd": "/etc/msmtprc", "bin": "msmtp"}
] ]
}, },
{ {
"section": "Zabbix server",
"items": [
{"label": "Configuration", "cmd": "/etc/zabbix/zabbix_server.conf", "bin": "zabbix_server"},
{"label": "Scripts custom", "cmd": "/usr/lib/zabbix/externalscripts", "bin": "zabbix_server"}
]
},
{
"section": "Gitea Server",
"items": [
{"label": "Gitea config", "cmd": "/etc/gitea/app.ini", "bin": "gitea"}
]
},
{
"section": "Zabbix Client",
"items": [
{"label": "Zabbix agent 2 config", "cmd": "/etc/zabbix/zabbix_agent2.conf", "bin": "zabbix_agent2"},
{"label": "Zabbix agent config", "cmd": "/etc/zabbix/zabbix_agentd.conf", "bin": "zabbix_agentd"}
]
},
{
"section": "APACHE", "section": "APACHE",
"items": [ "items": [
{"label": "Websites folder", "cmd": "/var/www/", "bin": "apache2"}, {"label": "Websites folder", "cmd": "/var/www/", "bin": "apache2"},
@ -56,20 +77,11 @@ CONF_LIST_CONFIG_JSON=$(cat <<EOF
{"label": "Mysql config", "cmd": "/etc/mysql/my.cnf", "bin": "mysql"} {"label": "Mysql config", "cmd": "/etc/mysql/my.cnf", "bin": "mysql"}
] ]
}, },
{
"section": "TOOLS",
"items": [
{"label": "Gitea config", "cmd": "/etc/gitea/app.ini", "bin": "gitea"},
{"label": "Zabbix agent config", "cmd": "/etc/zabbix/zabbix_agentd.conf", "bin": "zabbix_agentd"}
]
},
{ {
"section": "CUSTOM", "section": "CUSTOM",
"items": [ "items": [
{"label": "Message", "cmd": "/etc/profile.d/777-welcome.sh"}, {"label": "Message", "cmd": "/etc/profile.d/777-welcome.sh"},
{"label": "Message désactivé -x", "cmd": "/etc/update-motd.d/*"}, {"label": "Message désactivé -x", "cmd": "/etc/update-motd.d/*"}
{"label": "SSL Certificat", "cmd": "/etc/ssl/wildcard"}
] ]
} }
] ]