Giter Club home page Giter Club logo

zenpacks.zenoss.jmxnotificationlistener's Introduction

This ZenPack allows JMX notifications to be captured as Zenoss events.

See ZenPacks.zenoss.ZenJMX for a ZenPack that allows polling of metrics from MBean attributes and operations.

Usage

To collect JMX notifications you must edit $ZENHOME/etc/zenjmxnotificationlistener.conf. This file must be used to specify which JMX agents to connect to, and what notifications to collect. After modifying this file you must run ``zenjmxnotificationlistener restart`` for the changes to be affected.

Upon installing the ZenPack a default ``zenjmxnotificationlistener.conf`` will be created with the following contents.

# Generic configuration
monitorName=localhost
heartbeatInterval=60
heartbeatTimeout=75
connectionRetryInterval=10

# Zenoss XML-RPC connection properties
# xmlRpcUrl is the zenhub url
xmlRpcUrl=http://localhost:8081/zport/dmd/ZenEventManager
xmlRpcUsername=admin
xmlRpcPassword=zenoss

# Each comma-delimited token in serverList must have at least a
# server.TOKEN.url= entry specified below.
#serverList=LOCAL_TOMCAT,LOCALHOST
serverList=LOCALHOST

# Properties where <TOKEN> matches one of the entries in the serverList property
# server.TOKEN.zenossDevice is REQUIRED
# server.TOKEN.url is REQUIRED
# server.TOKEN.scope is OPTIONAL and defaults to *:* or all notification mbeans
# server.TOKEN.username is OPTIONAL and defaults to null
# server.TOKEN.password is OPTIONAL and defaults to null
# server.TOKEN.attributeFilters is OPTIONAL, filter for attributes of interest


# example Definitions for a local Tomcat instance
#server.LOCAL_TOMCAT.zenossDevice=bixby
#server.LOCAL_TOMCAT.url=service:jmx:rmi:///jndi/rmi://10.204.210.40:11111/jmxrmi
#server.LOCAL_TOMCAT.scope=Catalina:type=RequestProcessor
#server.LOCAL_TOMCAT.attributeFilters=attribOne,attribTwo
#server.LOCAL_TOMCAT.username=zenjmxnl
#server.LOCAL_TOMCAT.password=GOAWAY!


server.LOCALHOST.zenossDevice=localhost
server.LOCALHOST.url=service:jmx:rmi:///jndi/rmi://localhost:54107/jmxrmi

The scope and attributeFilters properties are optional, and can be used to restrict the notifications captured from a given server. MBeanServerNotification type notifications are ignored by default as they are noisy and unlikely to be useful.

zenpacks.zenoss.jmxnotificationlistener's People

Contributors

cluther avatar

Watchers

 avatar Cornelius Toole avatar Eric Edgar avatar Mike Lunt avatar John Hamilton avatar Joseph Hanson avatar Kells avatar Josh Wilmes avatar James Cloos avatar Ed Cranford avatar  avatar Ben Hirsch avatar Eric Cifreo avatar Joseph Anderson avatar  avatar Eric Miller avatar  avatar Steve Paras-Charlton avatar  avatar Bryan Irvine avatar  avatar Ryan Matte avatar  avatar William Gerber avatar Carl Camera avatar Will Dean avatar Justin Kerr avatar Oleksandr Brazhnyk avatar John Matos avatar Craig Gilchrist avatar  avatar  avatar Andy Lapidas avatar Paul Johnston avatar  avatar  avatar Michael Shannon avatar Jason Huie avatar Jacob Lampe avatar zenoss build bot avatar  avatar Greg Emil avatar Soundararajan Varathappan avatar Edd Chun avatar Bunyk Taras avatar Volodymyr Serheiev avatar Adam McCurdy avatar  avatar Viktor Serhieiev avatar  avatar Oleh Babiy avatar  avatar  avatar Zenoss JIRA/GitHub SystemAccount avatar Yuri Harmash avatar Esteban Diocares avatar Supriya Ambati avatar Robert Garza avatar  avatar  avatar  avatar Mike Orr avatar  avatar Rob Lewis avatar Rama Vykunta avatar  avatar David Bouchillon avatar Max avatar  avatar  avatar Andriy Porylo avatar Alex Chow avatar Anantha Guntakala avatar Serhii Kyrychenko avatar Eric Thirolle avatar Susan Million avatar Vad Mashkov avatar Sergii Gromovyi avatar Dmytro Budko avatar Ken Walker avatar Oles Baiko avatar Guillermo Galván avatar  avatar  avatar Ron avatar  avatar  avatar  avatar  avatar Lundy Bernard avatar Roman Derkach avatar  avatar Long Pham avatar  avatar Anantha G avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.