Project

General

Profile

CMS-Report » History » Version 16

Arnold Bechtoldt, 06/23/2014 03:31 PM

1 7 Romain Vrignaud
h1. CMS-Report-Data
2 1 Romain Vrignaud
3
This page aim is to find common elements between all configuration management systems reports.
4
5
See [[Chef-reporting]] for first discussion about implementation on a Foreman plugin.
6
7 8 Romain Vrignaud
See [[json-report-format]] and [[json-fact-format]]
8
9 2 Romain Vrignaud
h2. Puppet
10 1 Romain Vrignaud
11 7 Romain Vrignaud
Vocabulary:
12
Configuration management tool : puppet
13
System data informations tool : facter
14
15 4 Romain Vrignaud
General information:
16 1 Romain Vrignaud
* Sent from Puppetmaster (centralized)
17
* Multiple report processor allowed
18
19 4 Romain Vrignaud
Notions in reports: 
20 1 Romain Vrignaud
* Node name
21
* Time elapsed (File, Exec, User, Group, Conf Retrieval, Service, Package, Total)
22
* Resources Managed (Skipped, Scheduled, Out of Sync, Applied, Failed, Restarted, Failed Restarts, Total)
23
* Changes (number of changes in transaction)
24
* Log (bulk message) :
25
** level (debug,info, notice, warning, ..)
26
** source (resource name, puppet)
27
28
See: 
29
* http://docs.puppetlabs.com/guides/reporting.html
30
* http://docs.puppetlabs.com/puppet/3/reference/format_report.html
31
32 9 Arnold Bechtoldt
33 2 Romain Vrignaud
h2. Chef
34 1 Romain Vrignaud
35 7 Romain Vrignaud
Vocabulary:
36
Configuration management tool : chef
37
System data informations tool : ohai
38
39 4 Romain Vrignaud
General informations:
40 1 Romain Vrignaud
* Sent from chef-client (nodes)
41
* Multiple report processor allowed
42
43 4 Romain Vrignaud
Notions in reports:
44 1 Romain Vrignaud
* Node name
45
* Success or Failed run
46
* Global run backtrace
47 3 Romain Vrignaud
* Time elapsed by type of resource
48
* All resources in run_list
49
* All resources in run_list updated during chef-run
50 1 Romain Vrignaud
51 3 Romain Vrignaud
See:
52 1 Romain Vrignaud
* http://docs.opscode.com/essentials_handlers.html
53
* https://github.com/theforeman/chef-handler-foreman
54
* https://github.com/opscode/chef/blob/master/lib/chef/event_dispatch/base.rb
55 6 Romain Vrignaud
* https://github.com/opscode/chef/blob/master/lib/chef/resource_reporter.rb
56 1 Romain Vrignaud
57 9 Arnold Bechtoldt
58 12 Nicolas Charles
h2. CFengine3
59
60
Vocabulary:
61
Configuration management tool : cf-agent
62
System data informations tool : cf-agent (discovery of local information)
63
64
General informations:
65
* Stored in promises, decentralized
66
* Can fetch information from Policy Hub in Enterprise version
67
68
Notions in reports:
69
* Node name
70
* % of promises kept, repaired, error
71
72
h2. Rudder
73
74
Vocabulary:
75
Configuration management tool : cf-agent
76
System data informations tool : fusion-inventory
77
78
General informations:
79
* Stored in generated promises
80
* Each node has its own set of generated promises
81
82
Notions in reports (one report per handled component):
83
* Node name
84
* Directive id
85
* Rule id
86
* Component name
87
* Component value
88
* Date
89
* Status (success, repaired, error)
90
91
See:
92
* http://www.rudder-project.org/rudder-doc-2.8/rudder-doc.html#_compliance
93
* http://www.rudder-project.org/foswiki/Development/ReportsInTechniques
94
* http://www.rudder-project.org/foswiki/Development/ContextedVariables
95
96
97 1 Romain Vrignaud
98 14 Arnold Bechtoldt
h2. Salt Stack
99 9 Arnold Bechtoldt
100
Vocabulary:
101
Configuration management tool : salt
102
System data informations tool : grains
103
104
General information:
105
106
Notions in reports: 
107
108 1 Romain Vrignaud
See: 
109 15 Arnold Bechtoldt
* https://github.com/saltstack/salt/blob/develop/salt/pillar/foreman.py
110 14 Arnold Bechtoldt
* https://github.com/saltstack/halite (salt stack webinterface for triggering commands and reading information about jobs, events, clients, etc.)
111 1 Romain Vrignaud
* http://docs.saltstack.com/topics/targeting/grains.html
112 10 Arnold Bechtoldt
* http://docs.saltstack.com/ref/states/layers.html
113 11 Arnold Bechtoldt
* http://docs.saltstack.com/topics/conventions/formulas.html
114 16 Arnold Bechtoldt
* SaltStack Formula for Foreman and many more on https://github.com/bechtoldt/
115 7 Romain Vrignaud
116
h2. Ansible