Uploaded image for project: 'ZABBIX FEATURE REQUESTS'
  1. ZABBIX FEATURE REQUESTS
  2. ZBXNEXT-4612

JMX: cascade host prototype

XMLWordPrintable

    • Icon: New Feature Request New Feature Request
    • Resolution: Unresolved
    • Icon: Major Major
    • None
    • 3.4.10
    • Java gateway (J)
    • None

      Hi there,

      I'm using Zabbix Java Gateway and I'd like to monitor, through JMX protocol, my own Wildfly environment (domain mode). I need:

      • to monitor domain server (starting point) 
      • to find its hosts connected (host prototype based on first discovery) 
      • to show deployments on host (new host prototype for every 'host connected' prototype find before) 
      • to get multiple details for each deployment (items prototype based on previous host prototype).

      So I created a 'Template JMX Wildfly domain' attached to my own domain Zabbix host.It contains a discovery rule for all host-connections (jmx.discovery[beans,"jboss.as:core-service=management,host-connection=*"]), with an host prototype using '{#JMXHOST_CONNECTION}' as hostname. I linked 'Template JMX Wildlfy host' template on host prototype that it contains a discovery rule to find all deployments (jmx.discovery[beans,"jboss.as.expr:deployment=*"]) and I expected to find new hosts prototype, but it fails and I cannot see error (also increase debug level).

      I suppose you cannot add an hosts prototype based on a discovery rule running on another host prototype. In fact in Zabbix UI, in  'configuration' > 'hosts' > 'HOSTID' > 'discovery rules' I cannot see 'Hosts  Prototype' column that you can see clicking to another hosts (not prototype).

       I cannot find any issues related to this one (or maybe I cannot search so well), so thanks for support!

            MVekslers Michael Veksler
            alxtom Alex Tomasello
            Votes:
            4 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated: