blob: bc125de6e230da2d697281a7c6ee23bd90b591ff (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
|
# Host Information
Generated: {{vars.sys.date}}
## Identity
Fully Qualified Hostname: {{vars.sys.fqhost}}
Host ID: {{vars.sys.key_digest}}
## CFEngine
Version: CFEngine {{#classes.enterprise}}Enterprise{{/classes.enterprise}} {{vars.sys.cf_version}}
Last Agent Run: {{vars.host_info_report_cfengine.last_agent_run}}
Policy Release ID: {{vars.host_info_report_cfengine.cf_promises_release_id.releaseId}}
Policy Last Updated: {{vars.host_info_report_cfengine.cf_promises_validated_timestamp_formatted}}
Bootstrapped to: {{vars.sys.policy_hub}}
## OS
Architecture: {{vars.sys.arch}}
Os: {{vars.sys.os}}
Release: {{vars.sys.release}}
Flavor: {{vars.sys.flavor}}
Version: {{vars.sys.version}}
Uptime: {{vars.sys.uptime}} minutes
## Hardware
No. CPUs: {{vars.sys.cpus}}
Total Memory: {{{vars.mon.value_mem_total}}} MB
Total Swap: {{{vars.mon.value_mem_swap}}} MB
Free Memory: {{{vars.mon.value_mem_free}}} MB
Free Swap: {{{vars.mon.value_mem_freeswap}}} MB
## Network
### Interfaces
{{#vars.host_info_report_cfengine.interface_info}}
* {{.}}
{{/vars.host_info_report_cfengine.interface_info}}
{{! Redmine:4506 https://cfengine.com/dev/issues/4506 }}
### IPv4 TCP Ports listening
{{#vars.mon.listening_tcp4_ports}}
* {{.}}
{{/vars.mon.listening_tcp4_ports}}
{{#classes.show_software}}
{{! Redmine:4507 https://cfengine.com/dev/issues/4507 }}
## Software
{{#vars.host_info_report_software.packages}}
[{{method}}] {{name}}: version {{version}}, arch {{arch}}
{{/vars.host_info_report_software.packages}}
{{/classes.show_software}}
|