The invention provides a cloud-based dynamic application monitoring method and
system. The method comprises the following steps: self defining a monitoring plug-in; deploying the monitoring plug-in; triggering to automatically execute an initial script of monitoring, and running the monitoring plug-in on a
virtual machine; and automatically reporting the
monitoring data collected by the monitoring plug-in to a monitoring
server. By adoption of the cloud-based dynamic application monitoring method and
system provided by the invention, the following functions can be realized; 1) comprehensive monitoring of an application based on a
cloud computing environment is realized from underlying resources to databases,
middleware and upper layer business applications; 2) the monitoring plug-in can enable a user to develop any language according to actual demands and perform self-defined development according to an agreed specification, and thus dynamic adjustment and flexible expansion of the monitoring object are realized; 3) the user can realize self-defined monitoring by self-defined monitoring indexes and display
modes; and 4) elastic expansion of the monitoring of the application can be realized, a newly added monitoring object can automatically download the plug-in from the monitoring
server to achieve the monitoring, thereby reducing the monitoring object, and the monitoring
server automatically cancels the monitoring.