Ad Widget

Collapse

Auto discover of JMX interfaces

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • thorko79
    Junior Member
    • Dec 2011
    • 3

    #1

    Auto discover of JMX interfaces

    Hi,
    does anybody know how to automatically discover a JMX interface and add it to the host? I want to scan a ip range and when zabbix discovers a open port at 8809 to add it as JMX interface to the host.
    Any help would be appreciated.
    thorko79
  • nnoori
    Junior Member
    • Nov 2012
    • 6

    #2
    Auto discover of JMX interfaces

    Hi,

    We are trying to do the same with a system where we monitor a group of J2EE applications and we constantly need to check if there are new MBeans and add them to Zabbix.
    Have anyone done that or any hints that might help..

    Thanks.. Nadia

    Comment

    • heaje
      Senior Member
      Zabbix Certified Specialist
      • Sep 2009
      • 325

      #3
      One thing you could do is set up an action for auto-registration that runs a script. In that script you could check to see if JMX is listening on a given port on the just registered server. If it does find a JMX agent listening, you could then make a Zabbix API call to add the interface to the host in Zabbix.
      Last edited by heaje; 30-11-2012, 09:46. Reason: minor typo fix

      Comment

      • natalia
        Senior Member
        • Apr 2013
        • 159

        #4
        Originally posted by heaje
        One thing you could do is set up an action for auto-registration that runs a script. In that script you could check to see if JMX is listening on a given port on the just registered server. If it does find a JMX agent listening, you could then make a Zabbix API call to add the interface to the host in Zabbix.
        Hi,

        does anybody implement this already and can post the script ?

        Thanks !

        Comment

        Working...