Ad Widget

Collapse

Trigger name or trigger comments with macro's

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • bashman
    Senior Member
    • Dec 2009
    • 432

    #76
    You didn't get any alert because your trigger expression uses function min with the parameter of 300 seconds.

    That means that your item values have to be < 800M for 5 minutes and I can see in your graph that it does not happen, so everything is OK, you're not supposed to get any alert.

    If you want to get an alert at any time your free memory gets < 800M you should use the function ".last(0)<800M".
    978 Hosts / 16.901 Items / 8.703 Triggers / 44 usr / 90,59 nvps / v1.8.15

    Comment

    • bashman
      Senior Member
      • Dec 2009
      • 432

      #77
      Originally posted by subba5678
      Hi Bashman,
      Thanks for the reply , i am unable to find the exact Template kindly please post me and help me

      Thanks,
      Subbu
      978 Hosts / 16.901 Items / 8.703 Triggers / 44 usr / 90,59 nvps / v1.8.15

      Comment

      • bashman
        Senior Member
        • Dec 2009
        • 432

        #78
        Originally posted by subba5678
        Hi Bashman,
        Thanks for the replay . I checked all the actions , that is the server which is there only in one group , Can you please post your template , If i use Max option will it work . Please help me out

        Thanks,
        Subbu
        http://www.zabbix.com/wiki/_media/contrib/windows.xml

        You can find more templates here:

        http://www.zabbix.com/wiki/templates/start

        978 Hosts / 16.901 Items / 8.703 Triggers / 44 usr / 90,59 nvps / v1.8.15

        Comment

        • subba5678
          Senior Member
          • May 2010
          • 132

          #79
          Hi Bashman,

          Thanks a lot for the Valuable help, So according to this i want to create a trigger when the maximum Free memory is less than 800MB , for this can i use the below template , if it is wrong , Please help me out .

          {BLR-NOC-06:vm.memory.size[free].max(300)}<800M


          Thanks,
          Subbu

          Comment

          • bashman
            Senior Member
            • Dec 2009
            • 432

            #80
            That's it!
            978 Hosts / 16.901 Items / 8.703 Triggers / 44 usr / 90,59 nvps / v1.8.15

            Comment

            • subba5678
              Senior Member
              • May 2010
              • 132

              #81
              Hi Bashman,

              This is related to Graph which we are disscussing ,I am facing the same problem , i am not getting the latest data Graph only for the Host Status , remaining all the services i am getting the graph as well as Latest data , i am getting the error as " No Data" in the graph for the Host Status . It happend for me in the test server as well as Production server , so in the test server i disabled the zabbix Agent and enabled it after that i restarted the zabbix agent , its being worked , but in the production environment i cant stop the zabbix Agent , is there any way to fix this problem without restarting the agent . Please find the attachment of the screen shot as reference and the template which i am using . Kindly please help me out .

              {Local Host:status.min(300)}=2

              Note: In both (Production as well as Test) environment facing the problem only with the agent

              Thanks,
              Subbu
              Attached Files

              Comment

              • bashman
                Senior Member
                • Dec 2009
                • 432

                #82
                What about your zabbix queue?, Is your host status stocked in your zabbix queue?.
                978 Hosts / 16.901 Items / 8.703 Triggers / 44 usr / 90,59 nvps / v1.8.15

                Comment

                • subba5678
                  Senior Member
                  • May 2010
                  • 132

                  #83
                  Hi Bashman,

                  Thanks for the replay , My zabbix queue is fine . It seems to be working fine . Please find the attchment of my zabbix Queue as well as zabbix_server.conf and help me out .

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

                  ### Option: StartPollers
                  # Number of pre-forked instances of pollers.
                  # You shouldn't run more than 30 pollers normally.
                  #
                  # Mandatory: no
                  # Range: 0-255
                  # Default:
                  # StartPollers=5

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

                  ### Option: StartPollersUnreachable
                  # Number of pre-forked instances of pollers for unreachable hosts.
                  #
                  # Mandatory: no
                  # Range: 0-255
                  # Default:
                  # StartPollersUnreachable=1

                  ### Option: StartTrappers
                  # Number of pre-forked instances of trappers
                  #
                  # Mandatory: no
                  # Range: 0-255
                  # Default:
                  # StartTrappers=5

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

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

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

                  ### Option: ListenIP
                  # Listen interface for trapper.
                  # 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.
                  # If PostgreSQL is used, suggested value is 24, as it performs VACUUM.
                  #
                  # Mandatory: no
                  # Range: 1-24
                  # Default:
                  # HousekeepingFrequency=1

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


                  ### 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 hosts and items data.
                  #
                  # Mandatory: no
                  # Range: 128K-1G
                  # 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: HistoryCacheSize
                  # Size of history cache, in bytes.
                  # Shared memory size for storing history data.
                  #
                  # Mandatory: no
                  # Range: 128K-1G
                  # Default:
                  # HistoryCacheSize=8M

                  ### Option: TrendCacheSize
                  # Size of trend cache, in bytes.
                  # Shared memory size for storing trends data.
                  #
                  # Mandatory: no
                  # Range: 128K-1G
                  # 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-1G
                  # 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
                  # TrapperTimeout=5

                  ### 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.
                  #
                  # Mandatory: no
                  # Range: 1-3600
                  # Default:
                  # UnavailableDelay=60

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

                  ### Option: AlertScriptsPath
                  # Location of custom alert scripts
                  #
                  # Mandatory: no
                  # Default:
                  # AlertScriptsPath=/home/zabbix/bin/

                  ### Option: ExternalScripts
                  # Location of external scripts
                  #
                  # Mandatory: no
                  # Default:
                  # ExternalScripts=/etc/zabbix/externalscripts

                  ### Option: FpingLocation
                  # Location of fping.


                  ### 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 fping binary has root ownership and SUID flag set
                  #
                  # Mandatory: no
                  # Default:
                  # Fping6Location=/usr/sbin/fping6

                  ### Option: SSHKeyLocation
                  # Location of public keys for SSH checks
                  #
                  # Mandatory: no
                  # Default:
                  # SSHKeyLocation=

                  ### 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.
                  #
                  # Mandatory: no
                  # Default:
                  # Include=



                  Thanks,
                  Subbu

                  Comment

                  • bashman
                    Senior Member
                    • Dec 2009
                    • 432

                    #84
                    Try to telnet client zabbix port from your zabbix server and ask for agent.ping.
                    978 Hosts / 16.901 Items / 8.703 Triggers / 44 usr / 90,59 nvps / v1.8.15

                    Comment

                    • subba5678
                      Senior Member
                      • May 2010
                      • 132

                      #85
                      Hi Bashman,

                      Thanks for the reply , i was able to do telent for the zabbix agent port . But still i am not getting the latest data . Please find the details and help me out

                      telnet 10.10.100.183 10050
                      Trying 10.10.100.183...
                      Connected to rlb-sof-06.mts.in (10.10.100.183)

                      telnet 10.10.100.183 agent.ping
                      10.10.100.183/agent.ping: Servname not supported for ai_socktype


                      Thanks,
                      Subbu

                      Comment

                      Working...