Ad Widget

Collapse

Graph and screen are displayed differently

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • sccuser
    Member
    • May 2013
    • 77

    #1

    Graph and screen are displayed differently

    Dear forum,

    Recently, I have a minor issue that the graph display and the screen display are not as a same type, attached please.
    Is it a bug? I did not change anything.

    Any suggestions would be great appreciate
    Attached Files
  • sccuser
    Member
    • May 2013
    • 77

    #2
    hi, is it a bug indeed?

    Comment

    • sccuser
      Member
      • May 2013
      • 77

      #3
      hi all,

      since I have not yet received any feedback yet so far, so I changed the graph type to Stacked few months ago and OK for this solution.

      But today the issue happening again. Stacked type is automatically changed to 'dot' type without any reason.

      Can anyone help?
      Attached Files

      Comment

      • tchjts1
        Senior Member
        • May 2008
        • 1605

        #4
        There's a couple of possibilities for that. Look at this post, at the graphs at the bottom of it. What do yours look like for a one day (24 hour) period?


        It is possible that you may not have enough pollers allocated to do the work, or that your cache settings in zabbix_server.conf may not be set high enough for your Zabbix server to comfortably process the incoming data.

        I know the simple graph shows a solid line, but the screen doesn't. Same happened to me not long ago when we added in just a few more hosts for monitoring, but it was enough to push us over the edge of the optimal configuration.

        Comment

        • sccuser
          Member
          • May 2013
          • 77

          #5
          I will get back to you and show you how does my 24h graph looks like, but I really have no ideas about the insufficient pollers to do the work.
          BTW, could you pls tell me which parameters of memory should be increased in the zabbix_server.conf

          mine below

          # This is a configuration file for Zabbix Server process
          # To get more information about Zabbix,
          # visit http://www.zabbix.com

          ############ GENERAL PARAMETERS #################

          ### Option: NodeID
          # Unique NodeID in distributed setup.
          # 0 - standalone server
          #
          # Mandatory: no
          # Range: 0-999
          # Default:
          # NodeID=0

          ### 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: LogFile
          # Name of log file.
          # If not set, syslog is used.
          #
          # 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

          ### Option: DebugLevel
          # Specifies debug level
          # 0 - no debug
          # 1 - critical information
          # 2 - error information
          # 3 - warnings
          # 4 - for debugging (produces lots of information)
          #
          # Mandatory: no
          # Range: 0-4
          # Default:
          # DebugLevel=3

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

          ### 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=localhost

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

          DBName=zabbix

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

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

          DBUser=zabbix

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

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

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

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

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

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

          ### Option: StartPollersUnreachable
          # Number of pre-forked instances of pollers for unreachable hosts (including IPMI).
          #
          # Mandatory: no
          # Range: 0-1000
          # Default:
          # StartPollersUnreachable=1

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

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

          ### 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=1

          ### 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: 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

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

          ### 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 unnecessary information from history, alert, and alarms tables.
          #
          # Mandatory: no
          # Range: 1-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=500

          ### Option: DisableHousekeeping
          # If set to 1, disables housekeeping.
          #
          # Mandatory: no
          # Range: 0-1
          # Default:
          # DisableHousekeeping=0

          ### Option: SenderFrequency
          # How often Zabbix will try to send unsent alerts (in seconds).
          #
          # Mandatory: no
          # Range: 5-3600
          # Default:
          # SenderFrequency=30

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

          ### 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=4

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

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

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

          ### Option: NodeNoEvents
          # If set to '1' local events won't be sent to master node.
          # This won't impact ability of this node to propagate events from its child nodes.
          #
          # Mandatory: no
          # Range: 0-1
          # Default:
          # NodeNoEvents=0

          ### Option: NodeNoHistory
          # If set to '1' local history won't be sent to master node.
          # This won't impact ability of this node to propagate history from its child nodes.
          #
          # Mandatory: no
          # Range: 0-1
          # Default:
          # NodeNoHistory=0

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

          ### 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

          ### Option: ExternalScripts
          # Full path to location of external scripts.
          # Default depends on compilation options.
          #
          # Mandatory: no
          # Default:
          # ExternalScripts=${datadir}/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).
          # 0 - don't log slow queries.
          #
          # Mandatory: no
          # Range: 1-3600000
          # Default:
          # LogSlowQueries=0

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

          ### 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/

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

          ### 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
          is it CacheSize?

          thanks!
          Last edited by sccuser; 17-10-2013, 03:28.

          Comment

          • tchjts1
            Senior Member
            • May 2008
            • 1605

            #6
            You are running with a stock setup and default settings. How many hosts are you monitoring?

            If you look at the graphs that I gave you the link to above, it will pretty much tell you what parameters need to be adjusted. Anything other than that is just a guessing game.

            But if I were to take guesses, I would increase these settings:
            StartPollers=15
            StartTrappers=10
            CacheSize=16M
            Timeout=10

            Then restart your Zabbix server process for those settings to take effect

            Oh, and just my preference, but when I edit my zabbix_agentd.conf file, I like to keep the defaults listed as they are. If I make adjustments, I simply put a new line below the default line, which is commented out... so like this:

            # StartPollers=5
            StartPollers=15

            That way I always know what the defaults were to start with.
            Last edited by tchjts1; 17-10-2013, 04:11.

            Comment

            • sccuser
              Member
              • May 2013
              • 77

              #7
              Since I was too impatient to get the Zabbix back in order to monitor some high important servers of company that I already did restore the Zabbix to the state of few previous days then it's OK for now. (the attached will help you to help me, I'm using 2.0.5 VMware / VirtualBox .vmdk)
              But I definitely know the issue will be re-happened if adding more extra hosts.

              Yes, I'm now monitoring 108 hosts of the company.

              You know, when I did adjust the zabbix_server.conf as your suggestion then trying restart the service, it appears

              zabbix:~ # sudo /etc/init.d/zabbix_server stop
              redirecting to systemctl
              zabbix:~ # sudo /etc/init.d/zabbix_server start
              redirecting to systemctl
              btw, thanks so much for sharing the value experience!







              Last edited by sccuser; 18-10-2013, 04:25.

              Comment

              • tchjts1
                Senior Member
                • May 2008
                • 1605

                #8
                Your graphs are only showing one hour worth of data. As requested, it would be much more useful to see a 24 hour view.

                But, if you look at the last graph, you can see several processes are at 100% for that entire hour, including the pollers busy process. If that remains at 100%, you need to increase the number of pollers until you bring that down to around 10% - 20%. Try increasing your pollers by 10 each time until you get into that range. You probably should also increase your unreachable pollers by about 5.

                Remember to restart your Zabbix server process if you modify the zabbix_agentd.conf file

                Comment

                • sccuser
                  Member
                  • May 2013
                  • 77

                  #9
                  thanks to let me know how to restart the zabbix server (command) after modifying zabbix_server.conf
                  I'm using Zabbix 2.0.5 VMware / VirtualBox .vmdk (openSUSE)
                  I will update the graph of 24h later.

                  Comment

                  • tchjts1
                    Senior Member
                    • May 2008
                    • 1605

                    #10
                    The way I do it is to list the processes of Zabbix with this:
                    ps -ef|grep zabbix

                    Then kill the parent pid for that process. That should stop all the zabbix server procs.

                    Then the commandline to start it, you need to know the path to two files: zabbix_server and zabbix_server.conf

                    For me, the command is this:
                    /opt/zabbix/sbin/zabbix_server -c /opt/zabbix/conf/zabbix_server.conf

                    Comment

                    • sccuser
                      Member
                      • May 2013
                      • 77

                      #11
                      seem likely the issue persist
                      I did change something in the zabbix_server.conf as below

                      # This is a configuration file for Zabbix Server process
                      # To get more information about Zabbix,
                      # visit http://www.zabbix.com

                      ############ GENERAL PARAMETERS #################

                      ### Option: NodeID
                      # Unique NodeID in distributed setup.
                      # 0 - standalone server
                      #
                      # Mandatory: no
                      # Range: 0-999
                      # Default:
                      # NodeID=0

                      ### 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: LogFile
                      # Name of log file.
                      # If not set, syslog is used.
                      #
                      # 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

                      ### Option: DebugLevel
                      # Specifies debug level
                      # 0 - no debug
                      # 1 - critical information
                      # 2 - error information
                      # 3 - warnings
                      # 4 - for debugging (produces lots of information)
                      #
                      # Mandatory: no
                      # Range: 0-4
                      # Default:
                      # DebugLevel=3

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

                      ### 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=localhost

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

                      DBName=zabbix

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

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

                      DBUser=zabbix

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

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

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

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

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

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

                      ### Option: StartPollersUnreachable
                      # Number of pre-forked instances of pollers for unreachable hosts (including IPMI).
                      #
                      # Mandatory: no
                      # Range: 0-1000
                      # Default:
                      # StartPollersUnreachable=1
                      StartPollersUnreachable=10

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

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

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

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

                      ### 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: 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

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

                      ### 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 unnecessary information from history, alert, and alarms tables.
                      #
                      # Mandatory: no
                      # Range: 1-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=500

                      ### Option: DisableHousekeeping
                      # If set to 1, disables housekeeping.
                      #
                      # Mandatory: no
                      # Range: 0-1
                      # Default:
                      # DisableHousekeeping=0

                      ### Option: SenderFrequency
                      # How often Zabbix will try to send unsent alerts (in seconds).
                      #
                      # Mandatory: no
                      # Range: 5-3600
                      # Default:
                      # SenderFrequency=30

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

                      ### 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=4

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

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

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

                      ### Option: NodeNoEvents
                      # If set to '1' local events won't be sent to master node.
                      # This won't impact ability of this node to propagate events from its child nodes.
                      #
                      # Mandatory: no
                      # Range: 0-1
                      # Default:
                      # NodeNoEvents=0

                      ### Option: NodeNoHistory
                      # If set to '1' local history won't be sent to master node.
                      # This won't impact ability of this node to propagate history from its child nodes.
                      #
                      # Mandatory: no
                      # Range: 0-1
                      # Default:
                      # NodeNoHistory=0

                      ### 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=10

                      ### 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

                      ### Option: ExternalScripts
                      # Full path to location of external scripts.
                      # Default depends on compilation options.
                      #
                      # Mandatory: no
                      # Default:
                      # ExternalScripts=${datadir}/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).
                      # 0 - don't log slow queries.
                      #
                      # Mandatory: no
                      # Range: 1-3600000
                      # Default:
                      # LogSlowQueries=0

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

                      ### 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/

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

                      ### 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

                      then the Zabbix does not work anymore due to the error




                      2 more screenshot for your help




                      Comment

                      • Pada
                        Senior Member
                        • Apr 2012
                        • 236

                        #12
                        Setting "StartPollers=200" is a bit excessive, unless you have like 400+ hosts that you're monitoring with it.

                        Could you perhaps give us details about the size of your setup:
                        1. how many hosts you're trying to monitor, and perhaps a breakdown of how many are active zabbix agents, passive zabbix agents, snmp hosts, etc.
                        2. a screenshot of your dashboard showing the "Status of Zabbix", which includes the number of hosts, new values per second, etc.
                        3. are you running the Zabbix server on the same machine as the Zabbix DB?
                          Could you please post your Zabbix server and Zabbix DB machine(s)' specifications (in particular the amount of CPU cores, GB of RAM and hard drive configuration).
                          It would also be helpful to see your MySQL configuration file, because by defaut MySQL server is poorly configured in terms of performance.
                        4. is there a high latency (20ms+) between your hosts that you're monitoring and your Zabbix server? If so, then it may well be worth while to setup Zabbix proxies - especially if you're using passive Zabbix agents or SNMP.

                        Comment

                        • sccuser
                          Member
                          • May 2013
                          • 77

                          #13
                          glad to see Zabbix forum back, I got some late response due to the database error of forum

                          1. im currently monitoring around 100+ hosts, but really dont know how to determine the number of which active? passive? (no snmp from my server)

                          2. pls check the image below
                          3. yes I am running both in a same machine (2.0.5 VMware / VirtualBox .vmdk)
                          this should be: 1gig RAM + 1 core of CPU + 60GB HDD (host = Corei3-2120 3.30 GHz + 4gig RAM + 320 GB HDD)

                          The configuration file of MySQL should have 3 versions: config.huge.ini + config.medium.ini + config.small.ini, which one you would need for reference?

                          4. kindly tell me how to check the latency rate

                          thanks!

                          some screenshots




                          Comment

                          • Pada
                            Senior Member
                            • Apr 2012
                            • 236

                            #14
                            If you have ~ 100 hosts, ~800 items and your NVPS (new values per second) sits at ~700, it implies that your item interval is set to 1 second for pretty much all your items if I'm not mistaken?!

                            It's really NOT recommended to have the update interval that fast. Even 5 second update interval is quite extreme. Try every 30 seconds or every 60 seconds first.

                            You'll DEFINITELY need a better machine (in all aspects: RAM, CPU & HDD) for the MySQL DB, because that one is simply not going to cut it, even if you change your MySQL configuration. I suppose if your current update interval is 1 second, and you change it to 60 seconds, then that machine of yours may handle the load...

                            Just to give you an idea: we're doing 250 NVPS (~500 hosts, ~9000 items) and we have a dedicated MySQL VM with 4 cores (Xeon E5-2670), 16GB of RAM, 200GB RAID volume. After 2 years, our DB is consuming about 90GB of space.
                            If you want the front end to be responsive (when drawing multiple graphs), you'll need a dedicated machine/VM with about 2GB of RAM and 2 decent CPU cores - and not 2 low end Core i3 CPU cores!

                            By latency, I simply mean you run 'ping <ip address>' from the command line to get the response time in ms (milliseconds).

                            Comment

                            • sccuser
                              Member
                              • May 2013
                              • 77

                              #15
                              you are correct, the interval time of all are setting = 1s

                              others questions:
                              1. does the trend day (mine = 365 days) affects to the performance of Zabbix server?
                              2. my discovery rules keep sending ICMP packet to the (approximate) 500+ hosts per sec and 24/7/365, will the performance be improved if I go to disable all rules?

                              anyway, I will give a try to increase the interval time as your suggestions.

                              Many thanks and very much appreciated for your sharing.

                              Comment

                              Working...