Ad Widget

Collapse

Another listening port to Zapcat?

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • denisss
    Member
    • May 2011
    • 36

    #1

    Another listening port to Zapcat?

    Hi!

    Is it possible to change the port Zapcat? I have to monitor multiple Tomcat (and Glassfish) on a single machine. I thought Zapcat agent by Tomcat, but then I need to change the listening port.

    Thanks!
  • untergeek
    Senior Member
    Zabbix Certified Specialist
    • Jun 2009
    • 512

    #2
    -Dorg.kjkoster.zapcat.zabbix.port=ZAPCAT_PORT
    -Dorg.kjkoster.zapcat.zabbix.address=IP

    The first arg need to be in the JVM start-up args. Zapcat defaults to 10052, which will bind to all available IPs. You only need the IP one if you need to not have the port bind to all IPs (which is the default) but only the one you specify.

    Comment

    • untergeek
      Senior Member
      Zabbix Certified Specialist
      • Jun 2009
      • 512

      #3
      This is in the Zapcat documentation, by the way.

      I totally understand not being able to find it, though. It took me 3 tries before I found it.

      Comment

      • denisss
        Member
        • May 2011
        • 36

        #4
        I found it too, but for now it doesn't work. I think it comes from the environment of my JVM. As I posted in another thread, arguments used by Zapcat to prevent my Tomcat to start.
        Thanks for your answer, but I still looking for the solution ...

        Comment

        • denisss
          Member
          • May 2011
          • 36

          #5
          For precise, my JVM is a JRockit

          Comment

          • denisss
            Member
            • May 2011
            • 36

            #6
            The problem comes from JRockit ... The commands are different than the Sun's JVM. But for now I can't find how. I try, I try...

            Comment

            • denisss
              Member
              • May 2011
              • 36

              #7
              I could search long ... command also works well with JRockit, but never forget to unlock the port on the firewall, two days lost for a bullshit

              Comment

              Working...