Modify

Ticket #243 (closed enhancement: fixed)

Opened 17 years ago

Last modified 17 years ago

Patch: Probes for TCheetah

Reported by: [email protected] Owned by: desai
Priority: major Milestone: Bcfg2 0.8.7 Release (LISA)
Component: bcfg2-server Version:
Keywords: TCheetah, probes Cc:

Description

All probes in repo/Probe will get accessible in the TCheetah template files through:

$self.probes['probename']

'probename' is the name of the probefile as in the Cfg Plugin.

Change History

comment:1 Changed 17 years ago by dclark

  • Milestone set to Bcfg2 0.8.6 Release (LISA)

comment:2 Changed 17 years ago by desai

  • Status changed from new to assigned

OK. This looks like good functionality, and we can probably merge it mostly as is. The one thing that I would like to change about it is moving the probes functionality out of individual plugins and into the generic metadata infrastructure, so that it is available to all plugins via client metadata. The current approach works well enough, but we end up executing probes once for each plugin that plans to consume probe data. This should be very doably for 0.8.6.

comment:3 Changed 17 years ago by desai

  • Status changed from assigned to closed
  • Resolution set to fixed

Similar code is now included in the system metadata module. This makes probe data available from self.metadata.probesprobename?. This code is committed as of [81bd425bc158fa0bfa5b39640f7e088deaf56587] (SVN r2527) and will be included in the 0.8.7pre1 release.

WARNING! You need to establish a session before you can create or edit tickets. Otherwise the ticket will get treated as spam.

View

Add a comment

Modify Ticket

Change Properties
<Author field>
Action
as closed
The resolution will be deleted. Next status will be 'reopened'
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.