Ad Widget

Collapse

Is it possible to switch a graph to a text block?

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • VeryNewbie
    Member
    • Feb 2007
    • 40

    #1

    Is it possible to switch a graph to a text block?

    Hi,

    I made an Item and then a trigger and I would like to have some notices like: when it's green i get: "Everything is ok" and when it's red: i get my solution to this problem (which I write somewhere).

    How can I show in Zabbix an output from a script??? do I have to create an Item and trigger also???

    maybe my questions are very stupid, but i'm very newbie in zabbix
  • VeryNewbie
    Member
    • Feb 2007
    • 40

    #2
    another question:

    how does the Item looks like when I have more than 1 key???

    Something like this? how do I have to separate the keys?

    Description: Free disk space on $1 $2 $3
    Key: vfs.fs.size[/,free /home,free /usr,free]

    TIA

    Comment

    • VeryNewbie
      Member
      • Feb 2007
      • 40

      #3
      can someone help me please?

      Comment

      • VeryNewbie
        Member
        • Feb 2007
        • 40

        #4
        does nobody know or am I too stupid to find it?

        Comment

        • VeryNewbie
          Member
          • Feb 2007
          • 40

          #5
          thanks for the help! it was very helpful

          Comment

          • tighep
            Senior Member
            • Dec 2007
            • 124

            #6
            Ok, let's take a stab (I apologize for my lack of help up front, but I'll try). you want someplace in the FrontEnd that you can see if everything is ok, and if it's not, you want to see a pre-defined solution? I want to make sure I understand the question.

            Comment

            • VeryNewbie
              Member
              • Feb 2007
              • 40

              #7
              thanks for helping me!

              I want to know if instead of (or with a Graph together) I can have a textblock like this:

              /dev/hd10opt 262144 36420 225724 14% /opt
              /dev/hd9var 524288 77028 447260 15% /var
              /dev/hd3 3145728 798664 2347064 26% /tmp
              /dev/hd4 524288 193396 330892 37% /
              /dev/hd2 2621440 2272252 349188 87% /usr


              is it possible? Can I get a Graph and a Textblock like this in the View "Graphs" for example?

              Comment

              • maruscya
                Senior Member
                Zabbix Certified Specialist
                • Jul 2007
                • 129

                #8
                Try...

                Open a graph, on the up-right corner change from "Graph" to "Value"

                And you can see last values as a text...

                I hope that can solve your problem...

                Comment

                • VeryNewbie
                  Member
                  • Feb 2007
                  • 40

                  #9
                  yeah, it works, but not exactli what i wanted...

                  another question:

                  how does an Item looks like when I have more than 1 key???

                  Something like this? how do I have to separate the keys?

                  Description: Free disk space on $1 $2 $3
                  Key: vfs.fs.size[/,free /home,free /usr,free]

                  TIA

                  Comment

                  • Alexei
                    Founder, CEO
                    Zabbix Certified Trainer
                    Zabbix Certified SpecialistZabbix Certified Professional
                    • Sep 2004
                    • 5654

                    #10
                    1. Create an item having type Text, key = "df"
                    2. Create a UserParameter:

                    UserParameter=df,df -h

                    3. Show last value of the item in plain text in the screen
                    Alexei Vladishev
                    Creator of Zabbix, Product manager
                    New York | Tokyo | Riga
                    My Twitter

                    Comment

                    • VeryNewbie
                      Member
                      • Feb 2007
                      • 40

                      #11
                      thanks for the help alexei, but i didnt get it... when i look at the zabbix-server.log i only see:

                      [testserver1] Old status [0]
                      516528:20080318:114116 Parameter [df] is not supported by agent on host [testserver22] Old status [0]
                      cat: 0652-050 Cannot open /tmp/zabbix_server_471104.pinger.

                      what Im doing wrong?

                      I did it like u said...

                      Comment

                      Working...