Ad Widget

Collapse

zapcat config question for zabbix

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • tommyboy
    Junior Member
    • Mar 2010
    • 11

    #1

    zapcat config question for zabbix

    Hi

    The zabbix_agent listens on port 10050 and zapcat listens on port 10052 for Tomcat and Jboss.

    If you want to get all the monitored info from the zabbix & zapcat ports - do you have to create 2 host entries for the same server - one for each of the above ports (zabbix_agent 10050 & zapcat 10052).

    Is there a way to only use 1 port to get all the monitored info from the 2 services - just checking to see if is consolidated option.

    Thanks in advance

    Steven
  • jthakrar
    Member
    • Oct 2009
    • 43

    #2
    Hi Steven,

    You may want to look at the Java JVM agent from Mikoomi - see www.mikoomi.com

    Mikoomi has a a Zabbix appliance that comes bundled with JVM monitoring.
    It uses an agent that does not require an Zabbix agent on the JVM host and nor does it require you to use up the standard Zabbix agent port on the JVM host.

    In addition, you can monitor multiple JVMs on the same host.
    However each JVM has to be configured as a "unique" host.

    See the install instructions on the agent.

    Comment

    • dakol
      Member
      • Jan 2008
      • 50

      #3
      Originally posted by tommyboy
      Hi

      The zabbix_agent listens on port 10050 and zapcat listens on port 10052 for Tomcat and Jboss.

      If you want to get all the monitored info from the zabbix & zapcat ports - do you have to create 2 host entries for the same server - one for each of the above ports (zabbix_agent 10050 & zapcat 10052).

      Is there a way to only use 1 port to get all the monitored info from the 2 services - just checking to see if is consolidated option.

      Thanks in advance

      Steven
      I setup Zapcat with 10000 + ADMIN_PORT (4848 => 14848, etc...) and in my zabbix agent:

      UserParameter=jee.domain[*],zabbix_get -s 127.0.0.1 -p 14848 -k "$1"

      => one host but one template per jee "domain"

      UserParameter=jee.domain[*],zabbix_get -s 127.0.0.1 -p "$1" -k "$2"
      => one host and one template with a macro ZAPCAT_PORT=14848

      Comment

      • bashman
        Senior Member
        • Dec 2009
        • 432

        #4
        Originally posted by dakol
        I setup Zapcat with 10000 + ADMIN_PORT (4848 => 14848, etc...) and in my zabbix agent:

        UserParameter=jee.domain[*],zabbix_get -s 127.0.0.1 -p 14848 -k "$1"

        => one host but one template per jee "domain"

        UserParameter=jee.domain[*],zabbix_get -s 127.0.0.1 -p "$1" -k "$2"
        => one host and one template with a macro ZAPCAT_PORT=14848
        I see a problem with this, normally what you get from zapcat, using the agent to execute zabbix_get, is something like:

        Code:
        jmx[java.lang:type=OperatingSystem][SystemLoadAverage]
        This would be written in zabbix like:

        Code:
        jee.domain[jmx[java.lang:type=OperatingSystem][SystemLoadAverage]]
        But this doesn't work.
        978 Hosts / 16.901 Items / 8.703 Triggers / 44 usr / 90,59 nvps / v1.8.15

        Comment

        • mcortinas
          Junior Member
          • Oct 2011
          • 8

          #5
          Yes, i'm going to create 2 Host entries for any server... i don't like it but i haven't any better workaround.

          Thanks!

          Comment

          Working...