Ad Widget

Collapse

Zabbix 7.0 sur Debian 13

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • W4RDRAX
    Junior Member
    • Oct 2025
    • 3

    #1

    Zabbix 7.0 sur Debian 13

    Salut chère forum,

    Je voulais savoir si quelqu'un était dans mon cas, je viens de faire une installation toute fraiche sauf que j'ai eu des soucis avec a finalisation de l'installation :

    Click image for larger version

Name:	image.png
Views:	135
Size:	23.2 KB
ID:	508192

    Je n’arrivais pas à définir la timezone correctement, alors j’ai essayé de forcer l’installation en modifiant directement les fichiers sources. Mais ça s’est mal passé et je me retrouve maintenant avec des erreurs un peu partout, car Zabbix n’a pas voulu passer en français.

    Click image for larger version

Name:	image.png
Views:	114
Size:	189.4 KB
ID:	508193

    Si quelqu'un peut m'aider se serait génial <3
    Bonne soirée​
  • PSklyar
    Member
    • Sep 2025
    • 30

    #2

    Hey hey W4RDRAX
    here solution I see that might work for you:

    timedatectl list-timezones | grep Paris
    timedatectl set-timezone Europe/Paris
    timedatectl status Install French language pack

    apt update
    apt install locales locales-all -y

    Generate French locale

    dpkg-reconfigure locales
    localedef -i fr_FR -c -f UTF-8 -A /usr/share/locale/locale.alias fr_FR.UTF-8

    Set French locale

    update-locale LANG=fr_FR.UTF-8
    update-locale LC_ALL=fr_FR.UTF-8

    Apply
    export LANG=fr_FR.UTF-8
    export LC_ALL=fr_FR.UTF-8

    Edit Zabbix configuration:

    nano /etc/zabbix/web/zabbix.conf.php

    Ensure these settings are correct:

    php<?php
    $ZBX_SERVER = 'localhost';
    $ZBX_SERVER_PORT = '10051';
    $ZBX_SERVER_NAME = 'Zabbix';

    $DB['TYPE'] = 'MYSQL';
    $DB['SERVER'] = 'localhost';
    $DB['PORT'] = '0';
    $DB['DATABASE'] = 'zabbix';
    $DB['USER'] = 'zabbix';
    $DB['PASSWORD'] = 'your_password';

    // Default timezone for PHP
    $DB['SCHEMA'] = '';

    $ZBX_SERVER_HOST = 'localhost';
    $ZBX_SERVER_PORT = '10051';

    // Set default timezone
    ['default_timezone'] = 'Europe/Paris';
    ?>

    Fix PHP Timezone
    nano /etc/php/*/apache2/php.ini
    nano /etc/php/*/fpm/php.ini

    Find and set:
    inidate.timezone = "Europe/Paris"


    Restart web server

    systemctl restart apache2
    or
    systemctl restart nginx php8.2-fpm

    Restart Zabbix services

    systemctl restart zabbix-server zabbix-agent2

    Hope it will helps!

    Comment

    Working...