Quantcast
Channel: VMware Communities: Message List
Viewing all articles
Browse latest Browse all 293210

[JIRA] (HHQ-5382) Changes to configuration tracking

$
0
0

 

     https://jira.hyperic.com/browse/HHQ-5382?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel

 

Marie McGarry resolved HHQ-5382.

-


 

    Resolution: Fixed

   

Changes to configuration tracking

---------------------------------

 

                Key: HHQ-5382

                URL: https://jira.hyperic.com/browse/HHQ-5382

            Project: Hyperic HQ

         Issue Type: New Feature

   Affects Versions: 4.6.5

           Reporter: Adar Margalit

           Assignee: Marie McGarry

           Priority: Major

        Attachments: screenshot-1.jpg

 

>

The enhancement to Configuration Tracking plugin capabilities in the PDK works only for Servers. The previous functionality is still maintained, although it will probably be phased out in time. Functionality Enhancement is as follows:

  1. Config tracking definitions have been expanded so that the user defines a path to monitor and a regular expression filter. All files which pass the filter are monitored. This definition can also be recursive.

  2. Config tracking is now event based rather than polling based, so that the user can get notified for  add, delete, modify, and rename events.

  3. A diff is supplied, giving the actual change for textual files, and a list of changed files for folder operations.

  4. Out of the box we supply monitoring definitions for the following plugins: Tomcat, Apache, Websphere, Weblogic, JBoss, IIS, Postgres, and Mysql. Monitoring is disabled by default.

UI changes

In the Event Center, under the events table, Server name appears under Resource, event type (add, delete, modify, rename) appears under Subject, and a raw diff appears under the Detail column. The diff is limited in length. For folder changes the diff contains a list of changed files.

Changes to the PDK XML

For config_track

Changes to the configuration tracking plugin tag:

  • "Class" attribute should be org.hyperic.hq.product.FileChangeTrackPlugin

  • Added Monitored tag

  • Added Folder tag under monitored tag, with the following attributes:

    • path attribute- can be either an absolute path, or a relative path. In the latter case it is treated as relative to the discovered install directory.

    • recursive attribute - determines whether file monitoring is activated recursively under the path.

    • filter attribute - regular expression of included files/extensions.

  • DEFAULT_CONFIG_FILE property not used

  • DEFAULT_CONFIG_TRACK_ENABLE property maintains the same functionality

Sample XML:


>     <plugin type="config_track"
>             class="org.hyperic.hq.product.FileChangeTrackPlugin">
>             <monitored>
>                 <folder path="conf" recursive="true" filter=".*\.properties|.*\.xml|.*.policy|.*\.cfg|.*\.cnf|.*\.conf"></folder>
>                 <folder path="bin" recursive="false" filter=".*\.bat|.*\.xml|.*\.sh"></folder>
>                 <folder path="lib" recursive="false" filter=".*\.jar"></folder>
>                 <folder path="webapps" recursive="true" filter=".*\.properties|.*\.xml|.*\.jar|.*\.dll|.*\.class|.*\.pl|.*\.py|.*\.pyc|.*\.cgi"></folder>
>             </monitored>
>     </plugin>
>

 

 

--

This message is automatically generated by JIRA.

If you think it was sent incorrectly, please contact your JIRA administrators: https://jira.hyperic.com/secure/ContactAdministrators!default.jspa

For more information on JIRA, see: http://www.atlassian.com/software/jira

 

       

 


Viewing all articles
Browse latest Browse all 293210

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>