Ad Widget

Collapse

Failed to start Zabbix Server

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • konstantin.p
    Junior Member
    • Sep 2017
    • 26

    #1

    Failed to start Zabbix Server

    Добрый день!

    Подскажите пожалуйста, почему не стартует zabbix-server в логах пишет ошибку:

    cannot open log: cannot create semaphore set: [28] No space left on device
  • astrix89
    Senior Member
    • Jun 2017
    • 149

    #2
    Originally posted by konstantin.p
    Добрый день!

    Подскажите пожалуйста, почему не стартует zabbix-server в логах пишет ошибку:

    Cannot open log: Cannot create semaphore set: [28] no space left on device
    На устройстве нет свободного места

    Comment

    • Semiadmin
      Senior Member
      • Oct 2014
      • 1625

      #3
      Остановите zabbix-agent, и ваш zabbix-server запустится.
      Я не шучу и не издеваюсь, сам недавно на это нарвался. Запускаю сервер после обновления до 3.4.6 (RHEL 7), и получаю такую вот ошибку. Одним из па танца с бубном была остановка агента, после чего с удивлением вижу в логе сервера, что идет конвертация БД. Ладно, конвертация закончилась, все ок, запускаю агента. Хрен там - та же ошибка в логе, на сей раз у агента. В результате гугления было найдено решение: http://diff.org.ua/archives/3097
      Дякую, добра людина.
      Как я понял, одним из условий возникновения проблемы является запуск на хосте и сервера, и агента.

      Comment

      • konstantin.p
        Junior Member
        • Sep 2017
        • 26

        #4
        добавил
        ------ Semaphore Limits --------
        max number of arrays = 2500
        max semaphores per array = 2500
        max semaphores system wide = 320000
        max ops per semop call = 320
        semaphore max value = 32767

        ошибка семафоров ушла, zabbix-server также не стартует

        P/S удаление агента не дает результата "Failed to start Zabbix Server"

        Comment

        • astrix89
          Senior Member
          • Jun 2017
          • 149

          #5
          Еще ошибки есть в логе?

          Comment

          • konstantin.p
            Junior Member
            • Sep 2017
            • 26

            #6
            Originally posted by astrix89
            Еще ошибки есть в логе?
            ошибок нет

            2436:20180119:121938.575 7fef4084e000-7fef40852000 r--p 00067000 fd:00 50395714 /usr/lib64/libssl.so.1.0.2k
            2436:20180119:121938.575 7fef40852000-7fef40859000 rw-p 0006b000 fd:00 50395714 /usr/lib64/libssl.so.1.0.2k
            2436:20180119:121938.575 7fef40859000-7fef4089f000 r-xp 00000000 fd:00 51853295 /usr/lib64/libevent-2.0.so.5.1.9
            2436:20180119:121938.575 7fef4089f000-7fef40a9e000 ---p 00046000 fd:00 51853295 /usr/lib64/libevent-2.0.so.5.1.9
            2436:20180119:121938.575 7fef40a9e000-7fef40a9f000 r--p 00045000 fd:00 51853295 /usr/lib64/libevent-2.0.so.5.1.9
            2436:20180119:121938.575 7fef40a9f000-7fef40aa0000 rw-p 00046000 fd:00 51853295 /usr/lib64/libevent-2.0.so.5.1.9
            2436:20180119:121938.575 7fef40aa0000-7fef40aa1000 rw-p 00000000 00:00 0
            2436:20180119:121938.575 7fef40aa1000-7fef40aa6000 r-xp 00000000 fd:00 50421738 /usr/lib64/libOpenIPMIposix.so.0.0.1
            2436:20180119:121938.575 7fef40aa6000-7fef40ca5000 ---p 00005000 fd:00 50421738 /usr/lib64/libOpenIPMIposix.so.0.0.1
            2436:20180119:121938.575 7fef40ca5000-7fef40ca6000 r--p 00004000 fd:00 50421738 /usr/lib64/libOpenIPMIposix.so.0.0.1
            2436:20180119:121938.575 7fef40ca6000-7fef40ca7000 rw-p 00005000 fd:00 50421738 /usr/lib64/libOpenIPMIposix.so.0.0.1
            2436:20180119:121938.575 7fef40ca7000-7fef40d94000 r-xp 00000000 fd:00 50459147 /usr/lib64/libOpenIPMI.so.0.0.5
            2436:20180119:121938.575 7fef40d94000-7fef40f94000 ---p 000ed000 fd:00 50459147 /usr/lib64/libOpenIPMI.so.0.0.5
            2436:20180119:121938.576 7fef40f94000-7fef40faa000 r--p 000ed000 fd:00 50459147 /usr/lib64/libOpenIPMI.so.0.0.5
            2436:20180119:121938.576 7fef40faa000-7fef40fb0000 rw-p 00103000 fd:00 50459147 /usr/lib64/libOpenIPMI.so.0.0.5
            2436:20180119:121938.576 7fef40fb0000-7fef40fb4000 rw-p 00000000 00:00 0
            2436:20180119:121938.576 7fef40fb4000-7fef40fdc000 r-xp 00000000 fd:00 50561018 /usr/lib64/libssh2.so.1.0.1
            2436:20180119:121938.576 7fef40fdc000-7fef411dc000 ---p 00028000 fd:00 50561018 /usr/lib64/libssh2.so.1.0.1
            2436:20180119:121938.576 7fef411dc000-7fef411dd000 r--p 00028000 fd:00 50561018 /usr/lib64/libssh2.so.1.0.1
            2436:20180119:121938.576 7fef411dd000-7fef411de000 rw-p 00029000 fd:00 50561018 /usr/lib64/libssh2.so.1.0.1
            2436:20180119:121938.576 7fef411de000-7fef412a6000 r-xp 00000000 fd:00 51853315 /usr/lib64/libnetsnmp.so.31.0.2
            2436:20180119:121938.576 7fef412a6000-7fef414a6000 ---p 000c8000 fd:00 51853315 /usr/lib64/libnetsnmp.so.31.0.2
            2436:20180119:121938.576 7fef414a6000-7fef414a9000 r--p 000c8000 fd:00 51853315 /usr/lib64/libnetsnmp.so.31.0.2
            2436:20180119:121938.576 7fef414a9000-7fef414ab000 rw-p 000cb000 fd:00 51853315 /usr/lib64/libnetsnmp.so.31.0.2
            2436:20180119:121938.576 7fef414ab000-7fef414e1000 rw-p 00000000 00:00 0
            2436:20180119:121938.576 7fef414e1000-7fef41541000 r-xp 00000000 fd:00 50459162 /usr/lib64/libodbc.so.2.0.0
            2436:20180119:121938.576 7fef41541000-7fef41740000 ---p 00060000 fd:00 50459162 /usr/lib64/libodbc.so.2.0.0
            2436:20180119:121938.576 7fef41740000-7fef41741000 r--p 0005f000 fd:00 50459162 /usr/lib64/libodbc.so.2.0.0
            2436:20180119:121938.576 7fef41741000-7fef41748000 rw-p 00060000 fd:00 50459162 /usr/lib64/libodbc.so.2.0.0
            2436:20180119:121938.576 7fef41748000-7fef41749000 rw-p 00000000 00:00 0
            2436:20180119:121938.576 7fef41749000-7fef418a8000 r-xp 00000000 fd:00 50412049 /usr/lib64/libxml2.so.2.9.1
            2436:20180119:121938.576 7fef418a8000-7fef41aa7000 ---p 0015f000 fd:00 50412049 /usr/lib64/libxml2.so.2.9.1
            2436:20180119:121938.576 7fef41aa7000-7fef41aaf000 r--p 0015e000 fd:00 50412049 /usr/lib64/libxml2.so.2.9.1
            2436:20180119:121938.576 7fef41aaf000-7fef41ab1000 rw-p 00166000 fd:00 50412049 /usr/lib64/libxml2.so.2.9.1
            2436:20180119:121938.576 7fef41ab1000-7fef41ab3000 rw-p 00000000 00:00 0
            2436:20180119:121938.576 7fef41ab3000-7fef41ac0000 r-xp 00000000 fd:00 51853293 /usr/lib64/libiksemel.so.3.1.1
            2436:20180119:121938.576 7fef41ac0000-7fef41cbf000 ---p 0000d000 fd:00 51853293 /usr/lib64/libiksemel.so.3.1.1
            2436:20180119:121938.576 7fef41cbf000-7fef41cc0000 r--p 0000c000 fd:00 51853293 /usr/lib64/libiksemel.so.3.1.1
            2436:20180119:121938.576 7fef41cc0000-7fef41cc1000 rw-p 0000d000 fd:00 51853293 /usr/lib64/libiksemel.so.3.1.1
            2436:20180119:121938.576 7fef41cc1000-7fef41ced000 r-xp 00000000 fd:00 51853311 /usr/lib64/libpq.so.5.5
            2436:20180119:121938.576 7fef41ced000-7fef41eec000 ---p 0002c000 fd:00 51853311 /usr/lib64/libpq.so.5.5
            2436:20180119:121938.576 7fef41eec000-7fef41eee000 r--p 0002b000 fd:00 51853311 /usr/lib64/libpq.so.5.5
            2436:20180119:121938.576 7fef41eee000-7fef41ef0000 rw-p 0002d000 fd:00 51853311 /usr/lib64/libpq.so.5.5
            2436:20180119:121938.576 7fef41ef0000-7fef41f11000 r-xp 00000000 fd:00 50335413 /usr/lib64/ld-2.17.so
            2436:20180119:121938.577 7fef420c9000-7fef420ec000 rw-s 00000000 00:04 12877833 /SYSV00000000 (deleted)
            2436:20180119:121938.577 7fef420ec000-7fef42107000 rw-p 00000000 00:00 0
            2436:20180119:121938.577 7fef4210e000-7fef42110000 rw-p 00000000 00:00 0
            2436:20180119:121938.577 7fef42110000-7fef42111000 rw-p 00000000 00:00 0
            2436:20180119:121938.577 7fef42111000-7fef42112000 r--p 00021000 fd:00 50335413 /usr/lib64/ld-2.17.so
            2436:20180119:121938.577 7fef42112000-7fef42113000 rw-p 00022000 fd:00 50335413 /usr/lib64/ld-2.17.so
            2436:20180119:121938.577 7fef42113000-7fef42114000 rw-p 00000000 00:00 0
            2436:20180119:121938.577 7fff01b12000-7fff01b33000 rw-p 00000000 00:00 0 [stack]
            2436:20180119:121938.577 7fff01b67000-7fff01b69000 r-xp 00000000 00:00 0 [vdso]
            2436:20180119:121938.577 ffffffffff600000-ffffffffff601000 r-xp 00000000 00:00 0 [vsyscall]
            2436:20180119:121938.577 ================================
            2436:20180119:121938.577 Please consider attaching a disassembly listing to your bug report.
            2436:20180119:121938.577 This listing can be produced with, e.g., objdump -DSswx zabbix_server.
            2436:20180119:121938.577 ================================
            ~
            ~

            Comment

            • konstantin.p
              Junior Member
              • Sep 2017
              • 26

              #7
              journalctl -xe


              -- The start-up result is done.
              Jan 19 12:22:48 systemd[1]: zabbix-server.service: main process exited, code=exited, status=1/FAILURE
              Jan 19 12:22:48 kill[2564]: Usage:
              Jan 19 12:22:48 kill[2564]: kill [options] <pid|name> [...]
              Jan 19 12:22:48 kill[2564]: Options:
              Jan 19 12:22:48 kill[2564]: -a, --all do not restrict the name-to-pid conversion to processes
              Jan 19 12:22:48 kill[2564]: with the same uid as the present process
              Jan 19 12:22:48 kill[2564]: -s, --signal <sig> send specified signal
              Jan 19 12:22:48 kill[2564]: -q, --queue <sig> use sigqueue(2) rather than kill(2)
              Jan 19 12:22:48 kill[2564]: -p, --pid print pids without signaling them
              Jan 19 12:22:48 kill[2564]: -l, --list [=<signal>] list signal names, or convert one to a name
              Jan 19 12:22:48 kill[2564]: -L, --table list signal names and numbers
              Jan 19 12:22:48 kill[2564]: -h, --help display this help and exit
              Jan 19 12:22:48 kill[2564]: -V, --version output version information and exit
              Jan 19 12:22:48 kill[2564]: For more details see kill(1).
              Jan 19 12:22:48 systemd[1]: zabbix-server.service: control process exited, code=exited status=1
              Jan 19 12:22:48 systemd[1]: Unit zabbix-server.service entered failed state.
              Jan 19 12:22:48 systemd[1]: zabbix-server.service failed.
              Jan 19 12:22:58 systemd[1]: zabbix-server.service holdoff time over, scheduling restart.
              Jan 19 12:22:58 systemd[1]: Starting Zabbix Server...
              -- Subject: Unit zabbix-server.service has begun start-up

              Comment

              • astrix89
                Senior Member
                • Jun 2017
                • 149

                #8
                Можете целиком файл конфигурации приложить? И полный лог запуска(удалите старый лог, чтобы было меньше лишнего)

                Comment

                • konstantin.p
                  Junior Member
                  • Sep 2017
                  • 26

                  #9
                  ### Option: ListenPort
                  # Listen port for trapper.
                  #
                  # Mandatory: no
                  # Range: 1024-32767
                  # Default:
                  ListenPort=10051

                  ### Option: SourceIP
                  # Source IP address for outgoing connections.
                  #
                  # Mandatory: no
                  # Default:
                  # SourceIP=

                  ### Option: LogType
                  # Specifies where log messages are written to:
                  # system - syslog
                  # file - file specified with LogFile parameter
                  # console - standard output
                  #
                  # Mandatory: no
                  # Default:
                  # LogType=file

                  ### Option: LogFile
                  # Log file name for LogType 'file' parameter.
                  #
                  # Mandatory: no
                  # Default:
                  # LogFile=

                  LogFile=/var/log/zabbix/zabbix_server.log

                  ### Option: LogFileSize
                  # Maximum size of log file in MB.
                  # 0 - disable automatic log rotation.
                  #
                  # Mandatory: no
                  # Range: 0-1024
                  # Default:
                  # LogFileSize=1

                  LogFileSize=32

                  ### Option: DebugLevel
                  # Specifies debug level:
                  # 0 - basic information about starting and stopping of Zabbix processes
                  # 1 - critical information
                  # 2 - error information
                  # 3 - warnings
                  # 4 - for debugging (produces lots of information)
                  # 5 - extended debugging (produces even more information)
                  #
                  # Mandatory: no
                  # Range: 0-5
                  # Default:
                  # DebugLevel=3

                  ### Option: PidFile
                  # Name of PID file.
                  #
                  # Mandatory: no
                  # Default:
                  # PidFile=/tmp/zabbix_server.pid

                  PidFile=/var/run/zabbix/zabbix_server.pid

                  ### Option: SocketDir
                  # IPC socket directory.
                  # Directory to store IPC sockets used by internal Zabbix services.
                  #
                  # Mandatory: no
                  # Default:
                  # SocketDir=/tmp

                  SocketDir=/var/run/zabbix

                  ### Option: DBHost
                  # Database host name.
                  # If set to localhost, socket is used for MySQL.
                  # If set to empty string, socket is used for PostgreSQL.
                  #
                  # Mandatory: no
                  # Default:
                  DBHost=******

                  ### Option: DBName
                  # Database name.
                  # For SQLite3 path to database file must be provided. DBUser and DBPassword are ignored.
                  #
                  # Mandatory: yes
                  # Default:
                  # DBName=
                  DBName=*****

                  ### Option: DBSchema
                  # Schema name. Used for IBM DB2 and PostgreSQL.
                  #
                  # Mandatory: no
                  # Default:
                  # DBSchema
                  # DBSchema=


                  ### Option: DBUser
                  # Database user. Ignored for SQLite.
                  #
                  # Mandatory: no
                  # Default:
                  # DBUser=
                  DBUser=*****

                  ### Option: DBPassword
                  # Database password. Ignored for SQLite.
                  # Comment this line if no password is used.
                  #
                  # Mandatory: no
                  # Default:
                  DBPassword=*******

                  ### Option: DBSocket
                  # Path to MySQL socket.
                  #
                  # Mandatory: no
                  # Default:
                  # DBSocket=/tmp/mysql.sock

                  ### Option: DBPort
                  # Database port when not using local socket. Ignored for SQLite.
                  #
                  # Mandatory: no
                  # Range: 1024-65535
                  # Default (for MySQL):
                  DBPort=******

                  ### Option: HistoryStorageURL
                  # History storage HTTP[S] URL.
                  #
                  # Mandatory: no
                  # Default:
                  # HistoryStorageURL=

                  ### Option: HistoryStorageTypes
                  # Comma separated list of value types to be sent to the history storage.
                  #
                  # Mandatory: no
                  # Default:
                  # HistoryStorageTypes=uint,dbl,str,log,text

                  ############ ADVANCED PARAMETERS ################

                  ### Option: StartPollers
                  # Number of pre-forked instances of pollers.
                  #
                  # Mandatory: no
                  # Range: 0-1000
                  # Default:
                  StartPollers=300

                  ### Option: StartIPMIPollers
                  # Number of pre-forked instances of IPMI pollers.
                  # The IPMI manager process is automatically started when at least one IPMI poller is started.
                  #
                  # Mandatory: no
                  # Range: 0-1000
                  # Default:
                  # StartIPMIPollers=0

                  ### Option: StartPreprocessors
                  # Number of pre-forked instances of preprocessing workers.
                  # The preprocessing manager process is automatically started when preprocessor worker is started.
                  #
                  # Mandatory: no
                  # Range: 1-1000
                  # Default:
                  # StartPreprocessors=3

                  ### Option: StartPollersUnreachable
                  # Number of pre-forked instances of pollers for unreachable hosts (including IPMI and Java).
                  # At least one poller for unreachable hosts must be running if regular, IPMI or Java pollers
                  # are started.
                  #
                  # Mandatory: no
                  # Range: 0-1000
                  # Default:

                  StartPollersUnreachable=50

                  ### Option: StartTrappers
                  # Number of pre-forked instances of trappers.
                  # Trappers accept incoming connections from Zabbix sender, active agents and active proxies.
                  # At least one trapper process must be running to display server availability and view queue
                  # in the frontend.
                  #
                  # Mandatory: no
                  # Range: 0-1000
                  # Default:
                  StartTrappers=15

                  ### Option: StartPingers
                  # Number of pre-forked instances of ICMP pingers.
                  #
                  # Mandatory: no
                  # Range: 0-1000
                  # Default:
                  StartPingers=15

                  ### Option: StartDiscoverers
                  # Number of pre-forked instances of discoverers.
                  #
                  # Mandatory: no
                  # Range: 0-250
                  # Default:
                  # StartDiscoverers=1

                  ### Option: StartHTTPPollers
                  # Number of pre-forked instances of HTTP pollers.
                  #
                  # Mandatory: no
                  # Range: 0-1000
                  # Default:
                  # StartHTTPPollers=3

                  ### Option: StartTimers
                  # Number of pre-forked instances of timers.
                  # Timers process time-based trigger functions and maintenance periods.
                  # Only the first timer process handles the maintenance periods.
                  #
                  # Mandatory: no
                  # Range: 1-1000
                  # Default:
                  StartTimers=40

                  ### Option: StartEscalators
                  # Number of pre-forked instances of escalators.
                  #
                  # Mandatory: no
                  # Range: 0-100
                  # Default:
                  # StartEscalators=1

                  ### Option: StartAlerters
                  # Number of pre-forked instances of alerters.
                  # Alerters send the notifications created by action operations.
                  #
                  # Mandatory: no
                  # Range: 0-100
                  # Default:
                  # StartAlerters=3

                  ### Option: JavaGateway
                  # IP address (or hostname) of Zabbix Java gateway.
                  # Only required if Java pollers are started.
                  #
                  # Mandatory: no
                  # Default:
                  # JavaGateway=

                  ### Option: JavaGatewayPort
                  # Port that Zabbix Java gateway listens on.
                  #
                  # Mandatory: no
                  # Range: 1024-32767
                  # Default:
                  # JavaGatewayPort=10052

                  ### Option: StartJavaPollers
                  # Number of pre-forked instances of Java pollers.
                  #
                  # Mandatory: no
                  # Range: 0-1000
                  # Default:
                  # StartJavaPollers=0

                  ### Option: StartVMwareCollectors
                  # Number of pre-forked vmware collector instances.
                  #
                  # Mandatory: no
                  # Range: 0-250
                  # Default:
                  StartVMwareCollectors=5

                  ### Option: VMwareFrequency
                  # How often Zabbix will connect to VMware service to obtain a new data.
                  #
                  # Mandatory: no
                  # Range: 10-86400
                  # Default:
                  VMwareFrequency=20

                  ### Option: VMwarePerfFrequency
                  # How often Zabbix will connect to VMware service to obtain performance data.
                  #
                  # Mandatory: no
                  # Range: 10-86400
                  # Default:
                  # VMwarePerfFrequency=60

                  ### Option: VMwareCacheSize
                  # Size of VMware cache, in bytes.
                  # Shared memory size for storing VMware data.
                  # Only used if VMware collectors are started.
                  #
                  # Mandatory: no
                  # Range: 256K-2G
                  # Default:
                  VMwareCacheSize=400M

                  ### Option: VMwareTimeout
                  # Specifies how many seconds vmware collector waits for response from VMware service.
                  #
                  # Mandatory: no
                  # Range: 1-300
                  # Default:
                  VMwareTimeout=120

                  ### Option: SNMPTrapperFile
                  # Temporary file used for passing data from SNMP trap daemon to the server.
                  # Must be the same as in zabbix_trap_receiver.pl or SNMPTT configuration file.
                  #
                  # Mandatory: no
                  # Default:
                  # SNMPTrapperFile=/tmp/zabbix_traps.tmp

                  SNMPTrapperFile=/var/log/snmptrap/snmptrap.log

                  ### Option: StartSNMPTrapper
                  # If 1, SNMP trapper process is started.
                  #
                  # Mandatory: no
                  # Range: 0-1
                  # Default:
                  StartSNMPTrapper=1

                  ### Option: ListenIP
                  # List of comma delimited IP addresses that the trapper should listen on.
                  # Trapper will listen on all network interfaces if this parameter is missing.
                  #
                  # Mandatory: no
                  # Default:
                  # ListenIP=0.0.0.0

                  # ListenIP=127.0.0.1

                  ### Option: HousekeepingFrequency
                  # How often Zabbix will perform housekeeping procedure (in hours).
                  # Housekeeping is removing outdated information from the database.
                  # To prevent Housekeeper from being overloaded, no more than 4 times HousekeepingFrequency
                  # hours of outdated information are deleted in one housekeeping cycle, for each item.
                  # To lower load on server startup housekeeping is postponed for 30 minutes after server start.
                  # With HousekeepingFrequency=0 the housekeeper can be only executed using the runtime control option.
                  # In this case the period of outdated information deleted in one housekeeping cycle is 4 times the
                  # period since the last housekeeping cycle, but not less than 4 hours and not greater than 4 days.
                  #
                  # Mandatory: no
                  # Range: 0-24
                  # Default:
                  HousekeepingFrequency=1

                  ### Option: MaxHousekeeperDelete
                  # The table "housekeeper" contains "tasks" for housekeeping procedure in the format:
                  # [housekeeperid], [tablename], [field], [value].
                  # No more than 'MaxHousekeeperDelete' rows (corresponding to [tablename], [field], [value])
                  # will be deleted per one task in one housekeeping cycle.
                  # SQLite3 does not use this parameter, deletes all corresponding rows without a limit.
                  # If set to 0 then no limit is used at all. In this case you must know what you are doing!
                  #
                  # Mandatory: no
                  # Range: 0-1000000
                  # Default:
                  # MaxHousekeeperDelete=5000

                  ### Option: CacheSize
                  # Size of configuration cache, in bytes.
                  # Shared memory size for storing host, item and trigger data.
                  #
                  # Mandatory: no
                  # Range: 128K-8G
                  # Default:
                  # CacheSize=8M
                  CacheSize=350M


                  ### Option: CacheUpdateFrequency
                  # How often Zabbix will perform update of configuration cache, in seconds.
                  #
                  # Mandatory: no
                  # Range: 1-3600
                  # Default:
                  # CacheUpdateFrequency=60

                  ### Option: StartDBSyncers
                  # Number of pre-forked instances of DB Syncers.
                  #
                  # Mandatory: no
                  # Range: 1-100
                  # Default:
                  StartDBSyncers=15

                  ### Option: HistoryCacheSize
                  # Size of history cache, in bytes.
                  # Shared memory size for storing history data.
                  #
                  # Mandatory: no
                  # Range: 128K-2G
                  # Default:
                  # HistoryCacheSize=16M

                  ### Option: HistoryIndexCacheSize
                  # Size of history index cache, in bytes.
                  # Shared memory size for indexing history cache.
                  #
                  # Mandatory: no
                  # Range: 128K-2G
                  # Default:
                  HistoryIndexCacheSize=512M

                  ### Option: TrendCacheSize
                  # Size of trend cache, in bytes.
                  # Shared memory size for storing trends data.
                  #
                  # Mandatory: no
                  # Range: 128K-2G
                  # Default

                  TrendCacheSize=256M

                  ### Option: ValueCacheSize
                  # Size of history value cache, in bytes.
                  # Shared memory size for caching item history data requests.
                  # Setting to 0 disables value cache.
                  #
                  # Mandatory: no
                  # Range: 0,128K-64G
                  # Default:
                  # ValueCacheSize=800M

                  ### Option: Timeout
                  # Specifies how long we wait for agent, SNMP device or external check (in seconds).
                  #
                  # Mandatory: no
                  # Range: 1-30
                  # Default:
                  # Timeout=3

                  Timeout=30

                  ### Option: TrapperTimeout
                  # Specifies how many seconds trapper may spend processing new data.
                  #
                  # Mandatory: no
                  # Range: 1-300
                  # Default:
                  # TrapperTimeout=300

                  ### Option: UnreachablePeriod
                  # After how many seconds of unreachability treat a host as unavailable.
                  #
                  # Mandatory: no
                  # Range: 1-3600
                  # Default:
                  # UnreachablePeriod=45

                  ### Option: UnavailableDelay
                  # How often host is checked for availability during the unavailability period, in seconds.
                  #
                  # Mandatory: no
                  # Range: 1-3600
                  # Default:
                  # UnavailableDelay=60

                  ### Option: UnreachableDelay
                  # How often host is checked for availability during the unreachability period, in seconds.
                  #
                  # Mandatory: no
                  # Range: 1-3600
                  # Default:
                  # UnreachableDelay=15

                  ### Option: AlertScriptsPath
                  # Full path to location of custom alert scripts.
                  # Default depends on compilation options.
                  #
                  # Mandatory: no
                  # Default:
                  # AlertScriptsPath=${datadir}/zabbix/alertscripts

                  AlertScriptsPath=/usr/lib/zabbix/alertscripts

                  ### Option: ExternalScripts
                  # Full path to location of external scripts.
                  # Default depends on compilation options.
                  #
                  # Mandatory: no
                  # Default:
                  # ExternalScripts=${datadir}/zabbix/externalscripts

                  ExternalScripts=/usr/lib/zabbix/externalscripts

                  ### Option: FpingLocation
                  # Location of fping.
                  # Make sure that fping binary has root ownership and SUID flag set.
                  #
                  # Mandatory: no
                  # Default:
                  # FpingLocation=/usr/sbin/fping

                  ### Option: Fping6Location
                  # Location of fping6.
                  # Make sure that fping6 binary has root ownership and SUID flag set.
                  # Make empty if your fping utility is capable to process IPv6 addresses.
                  #
                  # Mandatory: no
                  # Default:
                  Fping6Location=/usr/sbin/fping6

                  ### Option: SSHKeyLocation
                  # Location of public and private keys for SSH checks and actions.
                  #
                  # Mandatory: no
                  # Default:
                  # SSHKeyLocation=

                  ### Option: LogSlowQueries
                  # How long a database query may take before being logged (in milliseconds).
                  # Only works if DebugLevel set to 3, 4 or 5.
                  # 0 - don't log slow queries.
                  #
                  # Mandatory: no
                  # Range: 1-3600000
                  # Default:
                  # LogSlowQueries=0

                  LogSlowQueries=3000

                  ### Option: TmpDir
                  # Temporary directory.
                  #
                  # Mandatory: no
                  # Default:
                  # TmpDir=/tmp

                  ### Option: StartProxyPollers
                  # Number of pre-forked instances of pollers for passive proxies.
                  #
                  # Mandatory: no
                  # Range: 0-250
                  # Default:
                  StartProxyPollers=5

                  ### Option: ProxyConfigFrequency
                  # How often Zabbix Server sends configuration data to a Zabbix Proxy in seconds.
                  # This parameter is used only for proxies in the passive mode.
                  #
                  # Mandatory: no
                  # Range: 1-3600*24*7
                  # Default:
                  # ProxyConfigFrequency=3600

                  ### Option: ProxyDataFrequency
                  # How often Zabbix Server requests history data from a Zabbix Proxy in seconds.
                  # This parameter is used only for proxies in the passive mode.
                  #
                  # Mandatory: no
                  # Range: 1-3600
                  # Default:
                  # ProxyDataFrequency=1

                  ### Option: AllowRoot
                  # Allow the server to run as 'root'. If disabled and the server is started by 'root', the server
                  # will try to switch to the user specified by the User configuration option instead.
                  # Has no effect if started under a regular user.
                  # 0 - do not allow
                  # 1 - allow
                  #
                  # Mandatory: no
                  # Default:
                  # AllowRoot=0

                  ### Option: User
                  # Drop privileges to a specific, existing user on the system.
                  # Only has effect if run as 'root' and AllowRoot is disabled.
                  #
                  # Mandatory: no
                  # Default:
                  # User=zabbix

                  ### Option: Include
                  # You may include individual files or all files in a directory in the configuration file.
                  # Installing Zabbix will create include directory in /usr/local/etc, unless modified during the compile time.
                  #
                  # Mandatory: no
                  # Default:
                  # Include=

                  # Include=/usr/local/etc/zabbix_server.general.conf
                  # Include=/usr/local/etc/zabbix_server.conf.d/
                  # Include=/usr/local/etc/zabbix_server.conf.d/*.conf

                  ### Option: SSLCertLocation
                  # Location of SSL client certificates.
                  # This parameter is used only in web monitoring.
                  #
                  # Mandatory: no
                  # Default:
                  # SSLCertLocation=${datadir}/zabbix/ssl/certs

                  ### Option: SSLKeyLocation
                  # Location of private keys for SSL client certificates.
                  # This parameter is used only in web monitoring.
                  #
                  # Mandatory: no
                  # Default:
                  # SSLKeyLocation=${datadir}/zabbix/ssl/keys

                  ### Option: SSLCALocation
                  # Override the location of certificate authority (CA) files for SSL server certificate verification.
                  # If not set, system-wide directory will be used.
                  # This parameter is used only in web monitoring and SMTP authentication.
                  #
                  # Mandatory: no
                  # Default:
                  # SSLCALocation=

                  ####### LOADABLE MODULES #######

                  ### Option: LoadModulePath
                  # Full path to location of server modules.
                  # Default depends on compilation options.
                  #
                  # Mandatory: no
                  # Default:
                  # LoadModulePath=${libdir}/modules

                  ### Option: LoadModule
                  # Module to load at server startup. Modules are used to extend functionality of the server.
                  # Format: LoadModule=<module.so>
                  # The modules must be located in directory specified by LoadModulePath.
                  # It is allowed to include multiple LoadModule parameters.
                  #
                  # Mandatory: no
                  # Default:
                  # LoadModule=

                  ####### TLS-RELATED PARAMETERS #######

                  ### Option: TLSCAFile
                  # Full pathname of a file containing the top-level CA(s) certificates for
                  # peer certificate verification.
                  #
                  # Mandatory: no
                  # Default:
                  # TLSCAFile=

                  ### Option: TLSCRLFile
                  # Full pathname of a file containing revoked certificates.
                  #
                  # Mandatory: no
                  # Default:
                  # TLSCRLFile=

                  ### Option: TLSCertFile
                  # Full pathname of a file containing the server certificate or certificate chain.
                  #
                  # Mandatory: no
                  # Default:
                  # TLSCertFile=

                  ### Option: TLSKeyFile
                  # Full pathname of a file containing the server private key.
                  #
                  # Mandatory: no
                  # Default:
                  # TLSKeyFile=

                  Comment

                  • konstantin.p
                    Junior Member
                    • Sep 2017
                    • 26

                    #10
                    в логах регулярно появляется строчка

                    End of DBconnect():0
                    10497:20180119:154408.380 In DCsync_configuration()
                    10497:20180119:154408.381 query [txnlev:0] [select refresh_unsupported,discovery_groupid,snmptrap_log ging,severity_name_0,severity_name_1,severity_name _2,severity_name_3,severity_name_4,severity_name_5 ,hk_events_mode,hk_events_trigger,hk_events_intern al,hk_events_discovery,hk_events_autoreg,hk_servic es_mode,hk_services,hk_audit_mode,hk_audit,hk_sess ions_mode,hk_sessions,hk_history_mode,hk_history_g lobal,hk_history,hk_trends_mode,hk_trends_global,h k_trends,default_inventory_mode from config order by configid]
                    10497:20180119:154420.720 Got signal [signal:15(SIGTERM),sender_pid:10509,sender_uid:0,r eason:0]. Exiting ...
                    10497:20180119:154420.720 zbx_on_exit() called
                    10497:20180119:154422.721 In DBconnect() flag:1

                    Comment

                    Working...