Ticket #456 (closed enhancement: fixed)

Opened 16 years ago

Last modified 12 years ago

Server-side probe logging

Reported by: dclark Owned by: desai
Priority: minor Milestone: Bcfg2 0.9.5 Release
Component: bcfg2-reports Version:
Keywords: Cc:

Description (last modified by dclark) (diff)

It would be *really* useful if the output of Probes could be kept in server-side state somewhere; either spewed to the bcfg2-server verbose logs (or perhaps add another level of verbosity that would just include the entire client log output), or included in the new dynamic reports.

I have a preference towards bcfg2-server log spewing as a first step, as this is functionality that would be really useful when first setting up bcfg2 at a site, and there may be a lag between getting bcfg2-server up and getting the new reports working.

I have a large number of different platforms to work with - like at least 20 (I'm not kidding) - and this would save me from having a whole lot of ssh sessions open when debugging Bcfg2 Probes.

This would also have increased utility when the proposed daemon mode is written - I have the equivalent now via ostiary (a simple daemon that kicks off arbitrary preset commands based on a simple secure hash), so am probably running into this need before other people.


Change History

comment:1 Changed 16 years ago by dclark

  • Description modified (diff)

comment:2 Changed 16 years ago by dclark

Another more generalized idea would just be to have a delayed version of OpenAFS's bos getlog command; something like:

# bcfg2-admin getlog machinename:/path/to/text/file
(wait till next run)
(file gets placed somewhere like 

comment:3 Changed 16 years ago by dclark

First step bcfg2-server logging added in r3398

comment:4 Changed 16 years ago by dclark

  • Priority changed from major to minor

comment:5 Changed 16 years ago by dclark

  • Owner changed from desai to hagedorn
  • Component changed from bcfg2-server to bcfg2-reports
  • Milestone Bcfg2 0.9.5 Release deleted

Reassigning to reports / joey's consideration.

comment:6 Changed 16 years ago by desai

  • Owner changed from hagedorn to desai
  • Milestone set to Bcfg2 0.9.5 Release

We are going to start stashing copies of probe results on the server so that we have a baseline to use in template debugging. This should provide the data needed to close out this ticket as well.

comment:7 Changed 16 years ago by desai

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

comment:8 Changed 12 years ago by

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


Add a comment

Modify Ticket

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

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

Note: See TracTickets for help on using tickets.