Ad Widget

Collapse

JMX authentication credentials in Zabbix 2.0?

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • aus
    Junior Member
    • Sep 2012
    • 1

    #1

    JMX authentication credentials in Zabbix 2.0?

    we a re monitoring a set of java based servers.

    i have set up the java gateway and zabbix config pointing to it, but our JMX servers are set to authenticate the JMX connection (we have no control over this).

    now i see in the actual java gateway source code that if username and password are passed in from the zabbix server, they will be set on connecting to the JMX server, but i don't see an obvious way to specify these credentials when setting up the host in the zabbix GUI

    how do you do this?
  • BDiE8VNy
    Senior Member
    • Apr 2010
    • 680

    #2
    JMX credentials have to be set in the item configuration.
    See: JMX monitoring
    and search for 'Adding JMX agent item'

    Comment

    • toks
      Junior Member
      • Apr 2011
      • 9

      #3
      Why JMX credentials are configured in the item configuration and not in the host configuration? It doesn't make sense for me to repeat the configuration on every single item...

      Comment

      • neilb
        Member
        • Jan 2013
        • 33

        #4
        i think currently that is true - its set at the template using macros of {$JMX_USER} and {$JMX_PASS} (per item), but this still needs authenticating per host.
        vaguely recollect some late night browsing this is due to be fixed in a future release - for me it would be setting the macro value on a per group basis as the same template is used across multiple non-related hostgroups.

        personally, it's a major pain for me, so welcome a speedy resolution

        Comment

        Working...