Ad Widget

Collapse

What is the best strategy for UserParameters?

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Bati
    Junior Member
    • Mar 2010
    • 9

    #1

    What is the best strategy for UserParameters?

    Hi,

    My Zabbix agent is running on a server to monitore an application server. This application server was implemented in Java. I'd like to monitor some values of variable from the current execution of the application server.

    Actually, my java program writes the values in a file and I configure my UserParameters to be able to read the right value in this file. I'm not sure this solution is the best one...

    Is it possible to implement something in java that'll be monitored by my zabbix server?

    Finally, what is the best solution to achieve my problem? Write in a file the value or implementing something?

    Thank you very much

    Bati
  • Bati
    Junior Member
    • Mar 2010
    • 9

    #2
    nobody has the answer?

    Comment

    • dakol
      Member
      • Jan 2008
      • 50

      #3
      Originally posted by Bati
      Actually, my java program writes the values in a file and I configure my UserParameters to be able to read the right value in this file. I'm not sure this solution is the best one...

      Is it possible to implement something in java that'll be monitored by my zabbix server?

      You could use ZapCat (bridge JMX<=>Zabbix Agent Protocol) and store counters on MBeans object

      Comment

      • Bati
        Junior Member
        • Mar 2010
        • 9

        #4
        I'm trying but it seems that this framework doesn't yet work with Glassfish...
        Of course, I wanna use Glassfish.

        Do you have an another solution?

        thanks

        Comment

        • dakol
          Member
          • Jan 2008
          • 50

          #5
          Originally posted by Bati
          I'm trying but it seems that this framework doesn't yet work with Glassfish...
          Of course, I wanna use Glassfish.
          i use glassfish too.

          it works but not with the "stable" version (support old zabbix protocol and other).

          Give the dev version a try

          Comment

          • Bati
            Junior Member
            • Mar 2010
            • 9

            #6
            ok.

            How do I deploy the zapCat.war? because I've some problems if I deploy by using the console administration of glassfish

            thx

            Comment

            • Bati
              Junior Member
              • Mar 2010
              • 9

              #7
              Could you tell me what are the big steps to accomplish this on glassfish?

              I would be very happy...

              Thank you very much!

              Bat

              Comment

              • Bati
                Junior Member
                • Mar 2010
                • 9

                #8
                I carry on the discution here : http://www.zabbix.com/forum/showthread.php?t=16507

                Comment

                Working...