Ad Widget

Collapse

Trigger status in graph

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Navern
    Member
    • May 2013
    • 33

    #1

    Trigger status in graph

    Hello, all.
    I am running zabbix 2.0.3 version.
    I want to create graph where you can see is specific process runs or not. If it would be like a table that's better:
    apache : running
    nginx : running
    mysql : running
    and this table would be placed on the screen among other information.
    I want to have that in a boolean form, not a graph with "number of process" info because you cant see if some process runs or not.
    Is there a way to do it? If there is what is a better way to do it.
  • Navern
    Member
    • May 2013
    • 33

    #2
    Is there anyone who knows solution to this? Everything i've come so far is simple to map values and made some graph with zero/one values. Or maybe pie, but this is not so clear as i want table looks more suitable for this case. Help me, please.

    Comment

    • neogan
      Senior Member
      Zabbix Certified Trainer
      Zabbix Certified SpecialistZabbix Certified Professional
      • Sep 2011
      • 118

      #3
      Hi,

      I think you can use some king of triggers which has been have several states for the same process. And add it for some screen with
      Status of host triggers - status of triggers filtered by the host
      for more detail look in documentation


      For example:
      Information Severity:
      Code:
      {[url]www.zabbix.com:proc.num[/url][httpd].last()}>0  and has name Apache running.
      It will be visible all time on the screen.

      Disaster Severity:
      Code:
      {[url]www.zabbix.com:proc.num[/url][httpd].last()}=0  and name Apache DOWN.
      It will be red color)

      Comment

      • Navern
        Member
        • May 2013
        • 33

        #4
        Originally posted by neogan
        Hi,

        I think you can use some king of triggers which has been have several states for the same process. And add it for some screen with

        for more detail look in documentation


        For example:
        Information Severity:
        Code:
        {[url]www.zabbix.com:proc.num[/url][httpd].last()}>0  and has name Apache running.
        It will be visible all time on the screen.

        Disaster Severity:
        Code:
        {[url]www.zabbix.com:proc.num[/url][httpd].last()}=0  and name Apache DOWN.
        It will be red color)
        Information trigger will be shown on dashboard as well all of the time. Am i right? And i wont be able to see some errors maybe. Anyway thanks for interesting way to resolve this task.

        Comment

        • neogan
          Senior Member
          Zabbix Certified Trainer
          Zabbix Certified SpecialistZabbix Certified Professional
          • Sep 2011
          • 118

          #5
          Yes it will be shown at dashboard too. and All time by in different Severity)

          Comment

          • Navern
            Member
            • May 2013
            • 33

            #6
            Originally posted by neogan
            Yes it will be shown at dashboard too. and All time by in different Severity)
            It's a good solution really, but i will create not 1-2 triggers, so it will get messy on dashboard. I dont want it.
            Maybe do you have another good idea? =) I will appreciate it.

            Comment

            • neogan
              Senior Member
              Zabbix Certified Trainer
              Zabbix Certified SpecialistZabbix Certified Professional
              • Sep 2011
              • 118

              #7
              Originally posted by Navern
              It's a good solution really, but i will create not 1-2 triggers, so it will get messy on dashboard. I dont want it.
              Maybe do you have another good idea? =) I will appreciate it.
              Also You can rewrite the zabbix frontend as you need

              p/s if you know php

              Comment

              • Navern
                Member
                • May 2013
                • 33

                #8
                Originally posted by neogan
                Also You can rewrite the zabbix frontend as you need

                p/s if you know php
                It's enough to know that i can't complete this task with current zabbix version. If there is a possibility to complete this task is would be good to know it.

                Comment

                • Heilig
                  Senior Member
                  Zabbix Certified Trainer
                  Zabbix Certified SpecialistZabbix Certified Professional
                  • Mar 2013
                  • 366

                  #9
                  Use the trigger dependencies or build complex expressions. For example, instead of adding to the map triggers "App port is Down", "Log file contains errors", "Client queue is big", you can add one trigger "MY_Application is DOWN" which is considered as the "sum" of the previous three.
                  It is not always easy, but overall, zabbix allows you to build a very interesting maps (here's an example from the internet).

                  Comment

                  Working...