Ad Widget

Collapse

Put jmeter on zabbix

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • fatiha
    Member
    • Nov 2007
    • 78

    #1

    Put jmeter on zabbix

    Hi,

    I am a novice and I want to define a new zabbix agent and put some jmeter tests in zabbix. How can I do that?

    Can you help me please.

    Thanks,
    Fatiha
  • Kees Jan Koster
    Member
    • Oct 2007
    • 83

    #2
    I would say write a script that runs jmeter tests and then pushes the results into zabbix using zabbix_sender.

    Comment

    • fatiha
      Member
      • Nov 2007
      • 78

      #3
      Thank you for your explanation but how can I push results using zabbix sender?

      To implement this, do I have to write a script like this one (written in perl) :
      http://www.zabbix.com/wiki/doku.php?...senderprotocol

      Thanks,
      Fatiha

      Comment

      • Kees Jan Koster
        Member
        • Oct 2007
        • 83

        #4
        You don't have to write your own sender. Zabbix comes with a command line utility named zabbix_sender. You can find its usage in the Zabbix manual and that is a lot simpler than writing your own protocol handler.

        Alternately, you can write your own sender in Java using Zapcat, it has a sender class that can connect to a Zabbix server if you like. http://www.kjkoster.org/zapcat/How_To_Push.html

        Comment

        • fatiha
          Member
          • Nov 2007
          • 78

          #5
          OK, so if I understand :
          - in order to put jmeter results in zabbix I will use zabbix sender (commande line)
          - and for other java applications I will use zapcat => very well !

          I read this point :
          "4.5. ZABBIX Sender (UNIX)" in zabbix manual but there is no example. What's a key, how to define its value?

          Thank you for your answer,
          Fatiha

          Comment

          • Kees Jan Koster
            Member
            • Oct 2007
            • 83

            #6
            key is the item key in Zabbix item definition.

            Comment

            • fatiha
              Member
              • Nov 2007
              • 78

              #7
              Ok !

              So if I create a new item in the web interface, I can choose a key defined in agent's configuration file. What is the type ?
              - zabbix agent?
              - zabbix trapper?

              Thank you,
              Fatiha

              Comment

              • Kees Jan Koster
                Member
                • Oct 2007
                • 83

                #8
                Read my howto. :-)

                Comment

                • fatiha
                  Member
                  • Nov 2007
                  • 78

                  #9
                  Ok, thank you very much for your explanations, you help me a lot.

                  Fatiha
                  From France, so sorry for my english

                  Comment

                  • fatiha
                    Member
                    • Nov 2007
                    • 78

                    #10
                    Hi Kees Jan Koster,

                    Your HOW TO is excellent, I also found your java template very useful.

                    Thank you,
                    Fatiha

                    Comment

                    • Kees Jan Koster
                      Member
                      • Oct 2007
                      • 83

                      #11
                      Dear Fatiha,

                      Thank you for the compliment. Glad found my work useful.

                      Kees Jan

                      Comment

                      Working...