Hyperic plug-in development imperfect guide (5) - Other plug-ins

2011-08-17  来源:本站原创  分类:Internet  人气:74 

1. Hyperic SQL plug-in

SQL plugin function is to define a query, the DB values ​​constantly check out the collection display, alarm.

<plugin>

<service name="testSql">

<! - Config defined by the sqlquery-plugin ->

<config include="sql"/>

<! - "Sql:" domain required to proxy through sqlquery-plugin ->

<filter name="template" value="sql:${query}:${name}"/>

<! - Use filters for common sql ->

<Filter name = "count"

value = "SELECT COUNT (*) FROM" />

<Metric name = "Availability"

query = "$ {count} tb_charge_order0 WHERE status = 4"

indicator = "true" />

<Metric name = "Number of Failed"

query = "$ {count} tb_charge_order0 where status = 3"

indicator = "true" />

</ Service>

</ Plugin>

2. Hyperic Control plug-in

In the JMX one, has introduced the use of JMX control plugin. This re-definition of a linux script control plug-in.

<config type="control">

<Option name = "args"

default = "message-d 13585745115"

description = "sms message" />

</ Config>

<plugin type="control"/>

<property name="DEFAULT_PROGRAM" value="/usr/local/fetion/fetion1.sh"/>

<property name="BACKGROUND_COMMAND" value="true"/>

<actions include="-m"/>

The control plug-in when clicked, will send text messages.

3. Hyperic HQU plugin

HQU plugin is written in groovy can be run in the JVM, used to customize the interface Hyperic background control.

From the HQ site: http://support.hyperic.com/display/hyperforge/Home download HQU plugin, upload to the directory: / home/hqadmin/server-4.5.1/hq-engine/hq-server/webapps / ROOT / hqu next. HQ-server will automatically load, no words about the server to restart

4. Hyperic send text messages

Hyperic send text messages need to transfer sms email gateway, not the whole. Relevant experience of friends, you can message me or e-mail notification. But think of a solution, that is, send an email to the mailbox 139, 139 E-mail will automatically send text messages to inform you.

相关文章
  • Hyperic plug-in development imperfect guide (B) - plug-in Advanced 2011-08-17

    1. Hyperic plugin Hyperic is a plug-in. From the division level module: configuration (product plugin), Service Discovery (detector), data collection, also known as monitor (collector, measurement), event tracking (track), alarm processing (control),

  • Hyperic plug-in development imperfect guide (a) - Hyperic entry and installation 2011-08-17

    1. Hyperic Profile Hyperic HQ is a java based monitoring software from a central monitoring server and one or more remote agent component, a remote agent to report to the server node information. Hyperic features 1 Distributed architecture 2 open sou

  • Hyperic plug-in development imperfect guide (C) - Mbean plug-in 2011-08-17

    1. Hyperic JMX plug-ins As for the server-side language java web project, JMX MBean monitoring and management is a good choice. Hyperic mbean can be easily integrated in. Hyperic can automatically discover the type of service defined Mbean service. J

  • Hyperic plug-in development imperfect guide (C) - Mbean plug-in (a) 2011-08-17

    1. Hyperic JMX plug-ins As for the server-side language java web project, JMX MBean monitoring and management is a good choice. Hyperic mbean can be easily integrated in. Hyperic can automatically discover the type of service defined Mbean service. J

  • Hyperic plug-in development imperfect guide (D) - Other plug-ins 2011-08-17

    1. Hyperic SQL plug-in SQL plugin function is to define a query, the DB values ​​constantly check out the collection display, alarm. <plugin> <service name="testSql"> <! - Config defined by the sqlquery-plugin -> <config inc

  • Hyperic plug-in development imperfect guide (5) - Other plug-ins 2011-08-17

    1. Hyperic SQL plug-in SQL plugin function is to define a query, the DB values ​​constantly check out the collection display, alarm. <plugin> <service name="testSql"> <! - Config defined by the sqlquery-plugin -> <config inc

  • Hyperic plug-in development imperfect guide (D) - Mbean plug-in of the two 2011-08-17

    (1) configuration plugin descriptor Service can refer to server configuration. Server service is equivalent to the parent. <? Xml version = "1.0"?> <plugin package="org.hyperic.hq.plugin.monitor"> <classpath> <incl

  • Plug in the enterprise software development team invisible wings 2010-05-18

    Today's social development situation of the enterprise is dependent on software systems is growing, our business ten years ago most of the software used in just the financial system, warehouse management system, now Invoicing, ERP, OA, CRM, logistics

  • ecshop Second Development Guide 2010-04-01

    ================================ Ecshop file structure ecshop file structure description / * ECShop 2.5.1 File structure diagram and the corresponding Function ECShop2.5.1_Beta upload directory ┣ activity.php activity list ┣ affiche.php advertising d

  • JAVA development tools to use Eclipse (entry papers become the leader of education )---- 2010-08-16

    About ui Education http://www.neweredu.com/ Java development in the field present various integrated development environment (IDE) shows the situation a hundred flowers blossom, from Borland's JBuilder, to IBM's Visual Age for Java, WebSphere Studio,

  • Myeclipse J2ME development environment configuration of the 2010-10-24

    Myeclipse J2ME development with the introduction of the environment configuration and application of the popularity of mobile devices, storage equipment in a small research and development has entered a new period of time, such as digital television,

  • Independent research and development of the ESB product is about to release it! 2010-12-26

    Features hair products base directory, too afraid of the detailed content of the commercial rights related to the company, to a lot of understanding, can be considered years of research and some of the results obtained, in the hope SOA / ESB technolo

  • window using the Eclipse IDE for C / C + + Developers C + + development environment to build 2011-02-19

    1, install JDK 1.6 , configure the environment variables: ① JAVA_HOMEJAVA_HOME point to the JDK installation path (the path can be found in the bin, lib, etc. directories); default JAVA_HOME = C: \ Program Files \ Java \ jdk1.6.0_16; ② PATH set PATH'

  • The 11 major advantage of using the hibernate 2010-03-29

    Hibernate in resolving performance issues, very good. With its caching mechanism, using third-party caching and database connection pool, you better resolve performance issues. But these were not enough, hibernate give developers enough freedom to al

  • Understanding REST software architecture 2010-02-03

    A way of thinking affected the software industry. REST software architecture is the world's most successful Internet hypermedia distributed systems. It allows people to really understand our HTTP network protocol as it is. It is becoming the mainstre

  • Big advantage of using the hibernate 11 2010-11-18

    Address reprint http://www.blogjava.net/badboyryan/archive/2008/05/24/202537.html Learning for some time ibatis, hibernate has ibatis I think the advantage can not be replaced. 1, the developers know, hibernate the way we operate in oo database, whic

  • Eclipse Platform Architecture 2011-01-05

    1. Eclipse Platform Architecture Eclipse Platform is built around a plug-in (plugin-ins) the concept of organized, plug-in is composed of code and data resource bundle, add functionality for the Eclipse platform. To the code base, platform extensions

  • [Reprint] Java professionals required books and list of sites 2009-02-27

    Concurrent Programming in Java: Design Principles and Patterns (Doug Lea) Concurrent Programming in Java: Design Principles and Patterns, 2nd edition (Doug Lea; Addison-Wesley, 1999 years) Java Concurrent Programming - Design principles and patterns

  • Java professionals required a list of books and Web site, you must reference 2009-10-15

    Language for Java ™ developers , information overdose is a real problem. New entrants each programmer must face a daunting challenge: to enter the industry is a massive industry knowledge. To learn more about what is too much. For an old hand experie

  • struts compared with spring mvc 2009-10-18

    Web-based MVC framework in the J2EE world is the unprecedented prosperity. TTS site almost every 12 weeks there will be a new release of the MVC framework. At present, a better MVC, a veteran of Struts, Webwork. New MVC framework Spring MVC, Tapestry