Ad Widget

Collapse

zabbix 6.4 Queue and Report System Information show Connection timeout of

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • solution
    Senior Member
    • Jun 2020
    • 269

    #1

    zabbix 6.4 Queue and Report System Information show Connection timeout of

    Hello,
    In zabbix 6.4 when clicking on Reports --> System Information I see the error:
    Connection timeout of 15 seconds exceeded when connecting to Zabbix server "localhost".​
    Click image for larger version  Name:	image.png Views:	0 Size:	26.4 KB ID:	462544

    and in Queue Overview
    Connection timeout of 15 seconds exceeded when connecting to Zabbix server "localhost".​
    Click image for larger version  Name:	image.png Views:	0 Size:	13.4 KB ID:	462545

    Latest Data:
    Click image for larger version  Name:	image.png Views:	0 Size:	24.0 KB ID:	462546



    I found no errors in the log.

    I found no errors in the log.

    Bug? or does anyone know what I should look for/check in the logs and configs?​

    Specifications
    Debian 11
    Apache2 + php 7.4.3
    Zabbix Server/Agent 6.4​.1 (in 6.4.0 also already had the error)


    Thanks.
    Wellington
    Last edited by solution; 05-04-2023, 20:19.
  • LenR
    Senior Member
    • Sep 2009
    • 1005

    #2
    That error is saying the the frontendcall to the zabbix server, port 10051, isn't responding. Which is odd, because I think the same call is used for the "Zabbix server is running" which shows Yes. Most frontend calls are to the mysql database, only a few "internal" things use this path. It's odd that Yes appears but most of the other internal values are blank.

    How is the load on the system? What is your SELINUX status?

    Comment

    • solution
      Senior Member
      • Jun 2020
      • 269

      #3
      Debian 11 with defaut install

      sestatus command not found

      uptime:
      uptime
      16:26:37 up 9 days, 23:37, 1 user, load average: 0,46, 0,32, 0,25​
      TOP
      Click image for larger version  Name:	image.png Views:	0 Size:	44.6 KB ID:	462552

      free:
      free -h
      total used free shared buff/cache available
      Mem.: 31Gi 10Gi 13Gi 297Mi 7,2Gi 20Gi
      Swap: 975Mi 0B 975Mi



      Dashboard
      Click image for larger version

Name:	image.png
Views:	1346
Size:	17.2 KB
ID:	462553
      Last edited by solution; 05-04-2023, 21:32.

      Comment

      • solution
        Senior Member
        • Jun 2020
        • 269

        #4
        Any ideas?

        Wellington

        Comment

        • LenR
          Senior Member
          • Sep 2009
          • 1005

          #5
          Share the contents of /etc/zabbix/web/zabbix.conf.php (remove password!)

          Comment

          • solution
            Senior Member
            • Jun 2020
            • 269

            #6
            this is the content


            <?php
            // Zabbix GUI configuration file.

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

            // Schema name. Used for PostgreSQL.
            $DB['SCHEMA'] = '';

            // Used for TLS connection.
            $DB['ENCRYPTION'] = false;
            $DB['KEY_FILE'] = '';
            $DB['CERT_FILE'] = '';
            $DB['CA_FILE'] = '';
            $DB['VERIFY_HOST'] = false;
            $DB['CIPHER_LIST'] = '';

            // Vault configuration. Used if database credentials are stored in Vault secrets manager.
            $DB['VAULT'] = '';
            $DB['VAULT_URL'] = '';
            $DB['VAULT_DB_PATH'] = '';
            $DB['VAULT_TOKEN'] = '';
            $DB['VAULT_CERT_FILE'] = '';
            $DB['VAULT_KEY_FILE'] = '';
            // Uncomment to bypass local caching of credentials.
            // $DB['VAULT_CACHE'] = true;

            // Use IEEE754 compatible value range for 64-bit Numeric (float) history values.
            // This option is enabled by default for new Zabbix installations.
            // For upgraded installations, please read database upgrade notes before enabling this option.
            $DB['DOUBLE_IEEE754'] = true;

            // Uncomment and set to desired values to override Zabbix hostname/IP and port.
            // $ZBX_SERVER = '';
            // $ZBX_SERVER_PORT = '';

            $ZBX_SERVER_NAME = 'Solution Monitoramento';

            $IMAGE_FORMAT_DEFAULT = IMAGE_FORMAT_PNG;

            // Uncomment this block only if you are using Elasticsearch.
            // Elasticsearch url (can be string if same url is used for all types).
            //$HISTORY['url'] = [
            // 'uint' => 'http://localhost:9200',
            // 'text' => 'http://localhost:9200'
            //];
            // Value types stored in Elasticsearch.
            //$HISTORY['types'] = ['uint', 'text'];

            // Used for SAML authentication.
            // Uncomment to override the default paths to SP private key, SP and IdP X.509 certificates, and to set extra settings.
            //$SSO['SP_KEY'] = 'conf/certs/sp.key';
            //$SSO['SP_CERT'] = 'conf/certs/sp.crt';
            //$SSO['IDP_CERT'] = 'conf/certs/idp.crt';
            //$SSO['SETTINGS'] = [];


            Wellington

            Comment

            • solution
              Senior Member
              • Jun 2020
              • 269

              #7
              doing some tests what worked was to increase the:
              trappers
              Now it's opening System Information and Queue.
              Click image for larger version

Name:	image.png
Views:	1352
Size:	27.0 KB
ID:	462926


              The strangest thing is that there were no errors in the logs and the maximum was 40% (before increasing)​
              Click image for larger version

Name:	image.png
Views:	1330
Size:	64.0 KB
ID:	462927

              apparently we cannot trust this data.
              and we don't have a base calculator to configure/increase only the necessary and reduce the others.​


              Wellington

              Comment

              Working...