Support Migration Notice: To update migrated JIRA cases click here to open a new case use www.vmware.com/go/sr | vFabric Hyperic 5.7.0 is Now Available

Hyperic HQ

DEFAULT_CONFIG_TRACK_ENABLE and DEFAULT_LOG_TRACK_ENABLE in plugin XML not automatically applied when resource first created

Details

  • Type: Bug Bug
  • Status: Closed Closed
  • Priority: Blocker Blocker
  • Resolution: Fixed
  • Affects Version/s: None
  • Fix Version/s: 4.x, 4.x Sprint 17, 4.6.5
  • Component/s: None
  • Case Links:
  • HQ Fix Version:
    4.6.5
  • Regression:
    No
  • Story Points:
    5

Description

Currently, the MeasurementCommandsService on the agent side does not receive the request to add track plugins when a resource is first created. The default values are applied (you can see the checkbox(s) marked on the resource's Inventory->Configuration Properties), but you actually have to select to Edit Config and click OK to get the server to trigger agent-side log/config tracking. We need to have the default values applied sooner (in the config sent to TrackerManager.enableTrackers() when a resource is created).

Marking major priority as this is needed for internal plugin dev.

Activity

Hide
Guy Segev added a comment -

Performed the following steps in an attempt to reproduce the issue:

Configurations:

  • Plugin: mysql_stats-plugin
  • hq-plugin.xml: ensured that the following properties are configured:
    • <property name="DEFAULT_CONFIG_TRACK_ENABLE" value="true" />
    • <property name="DEFAULT_LOG_TRACK_ENABLE" value="true"/>

Reprodcution stages:

  • cleaned server DB
  • cleaned agent's data directory
  • started the server
  • started the agent
  • added the mysql stats server to the inventory
  • modified the /etc/mysql/my.cnf file
  • event was displayed in the events center
  • modified the mysql_general.slow logfile (set it in a temp drectory)
  • event was displayed in the events center

This to me means that the config && log tracking had commenced operation automaticallly as soon as the mysql stat plugin had received the schedule instructions from the server.

Show
Guy Segev added a comment - Performed the following steps in an attempt to reproduce the issue:

Configurations:

  • Plugin: mysql_stats-plugin
  • hq-plugin.xml: ensured that the following properties are configured:
    • <property name="DEFAULT_CONFIG_TRACK_ENABLE" value="true" />
    • <property name="DEFAULT_LOG_TRACK_ENABLE" value="true"/>

Reprodcution stages:

  • cleaned server DB
  • cleaned agent's data directory
  • started the server
  • started the agent
  • added the mysql stats server to the inventory
  • modified the /etc/mysql/my.cnf file
  • event was displayed in the events center
  • modified the mysql_general.slow logfile (set it in a temp drectory)
  • event was displayed in the events center
This to me means that the config && log tracking had commenced operation automaticallly as soon as the mysql stat plugin had received the schedule instructions from the server.
Hide
Zvika Messing added a comment -

verified in hyperic 4.6.5 RC2 - changed the plugin xml to enable config tracking an log tracking by default. saw that indeed log/configuration tracking works without user enabling it again.

Show
Zvika Messing added a comment - verified in hyperic 4.6.5 RC2 - changed the plugin xml to enable config tracking an log tracking by default. saw that indeed log/configuration tracking works without user enabling it again.

People

Vote (2)
Watch (4)

Dates

  • Created:
    Updated:
    Resolved:
    Last comment:
    2 years, 7 weeks, 6 days ago