Ad Widget

Collapse

Monitor Tomcat without zapcat

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • frlan
    Junior Member
    • May 2012
    • 18

    #1

    Monitor Tomcat without zapcat

    Hi folks,

    From my understanding with build in jmx Zabbix 2,0 now can monitor tomcat etc. without usage of zapcat. Am I right at this point? Is anybody of you already having a template for doing this?

    Cheers,
    Frank
  • eskytthe
    Senior Member
    Zabbix Certified Specialist
    • May 2011
    • 363

    #2
    http://www.zabbix.com/documentation/...jmx_monitoring
    Template should be include in 2.0, as I understand.
    /Erik

    Comment

    • frlan
      Junior Member
      • May 2012
      • 18

      #3
      Well, maybe I missed it but just didn't found it.

      Comment

      • eskytthe
        Senior Member
        Zabbix Certified Specialist
        • May 2011
        • 363

        #4
        If you mean the templates - I found them at least in this post:

        /Erik

        Comment

        • jruizjimenez
          Junior Member
          • Jul 2012
          • 10

          #5
          Hi

          We have been using the new Zabbix 2.0 JMX Agent but i believe it can't be used if there is a firewall between Zabbix and the monitored server.

          From our testing with Zabbix 2.0

          - JMX sends back to Zabbix JMX Client the RMI port where it should connect. The RMI port is random. It's possible but very difficult to change that port from random to fixed.

          - Since we can't open all ports on the firewall then Zabbix Java Agent can't connect to the RMI port on the monitored host.

          We are going to test Zapcat with Zabbix 2.0, because Zapcat is firewall friendly as you only have to open a single port, JMX and RMI is handled by Zapcat on the monitored host.

          Will update with results.

          Comment

          • awienber
            Junior Member
            • Sep 2012
            • 4

            #6
            JmxRemoteLifecycleListener

            You can use tomcat's JmxRemoteLifecycleListener to fix the port number(s). For some reason Sun based their default JMX remote implementation on RMI, and RMI uses one (fixed) port for a naming service and another port (dynamic by default) for the actual service. This is of course a problem for monitoring through a firewall. The Tomcat folks have created the JmxRemoteLifecycleListener to solve exactly that problem.

            Just googling for JmxRemoteLifecycleListener will give you lots of pages discussing JMX monitoring through a firewall.

            --Axel

            P.S. thanks for the link to the tomcat templates!

            Comment

            • awienber
              Junior Member
              • Sep 2012
              • 4

              #7
              Tomcat 7 Template

              By the way, the JMX attribute names have changed somewhat in tomcat 7. The tomcat template which ships with zabbix does not work any more.

              Attached is a template which works with tomcat 7.0.30.

              Regards,
              Axel
              Attached Files

              Comment

              • jitheshr89
                Junior Member
                • Oct 2012
                • 26

                #8
                Send Notification through GMAIL

                Hi,
                I got another question. Hope this time also i will get a great help from Zabbix Experts. I want to send notification through gmail using my ID ([email protected]). For this what I have to do. How to set Media Type and all.

                Comment

                Working...