summaryrefslogtreecommitdiff
path: root/docs/man/man1/ohai.1
blob: 44e2a04441cc99a3f826436e59efeef7927a7f3e (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
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
.TH "OHAI" "1" "Ohai 6.20.0" "" "ohai"
.SH NAME
ohai \- The man page for the ohai command line tool.
.
.nr rst2man-indent-level 0
.
.de1 rstReportMargin
\\$1 \\n[an-margin]
level \\n[rst2man-indent-level]
level margin: \\n[rst2man-indent\\n[rst2man-indent-level]]
-
\\n[rst2man-indent0]
\\n[rst2man-indent1]
\\n[rst2man-indent2]
..
.de1 INDENT
.\" .rstReportMargin pre:
. RS \\$1
. nr rst2man-indent\\n[rst2man-indent-level] \\n[an-margin]
. nr rst2man-indent-level +1
.\" .rstReportMargin post:
..
.de UNINDENT
. RE
.\" indent \\n[an-margin]
.\" old: \\n[rst2man-indent\\n[rst2man-indent-level]]
.nr rst2man-indent-level -1
.\" new: \\n[rst2man-indent\\n[rst2man-indent-level]]
.in \\n[rst2man-indent\\n[rst2man-indent-level]]u
..
.\" Man page generated from reStructuredText.
.
.sp
Ohai is a tool that is used to detect attributes on a node, and then provide these attributes to the chef\-client at the start of every chef\-client run. Ohai is required by the chef\-client and must be present on a node. The types of attributes Ohai collects include:
.INDENT 0.0
.IP \(bu 2
Platform details
.IP \(bu 2
Networking usage
.IP \(bu 2
Memory usage
.IP \(bu 2
Processor usage
.IP \(bu 2
Kernel data
.IP \(bu 2
Host names
.IP \(bu 2
Fully qualified domain names
.IP \(bu 2
Other configuration details
.UNINDENT
.sp
Attributes that are collected by Ohai are automatic attributes, in that these attributes are used by the chef\-client to ensure that these attributes remain unchanged after the chef\-client is done configuring the node.
.sp
ohai is the command\-line interface for Ohai, a tool that is used to detect attributes on a node, and then provide these attributes to the chef\-client at the start of every chef\-client run.
.SH OPTIONS
.sp
This command has the following syntax:
.sp
.nf
.ft C
ohai OPTION
.ft P
.fi
.sp
This tool has the following options:
.INDENT 0.0
.TP
.B \fB\-d PATH\fP, \fB\-\-directory PATH\fP
The directory in which Ohai plugins are located. For example: \fB/etc/ohai/plugins\fP.
.TP
.B \fB\-f FILE_NAME\fP, \fB\-\-file FILE_NAME\fP
The file against which Ohai will run.
.TP
.B \fB\-h\fP, \fB\-\-help\fP
Shows help for the command.
.TP
.B \fB\-l LEVEL\fP, \fB\-\-log\-level LEVEL\fP
The level of logging that will be stored in a log file: \fBdebug\fP, \fBinfo\fP, \fBwarn\fP, \fBerror\fP, or \fBfatal\fP.
.TP
.B \fB\-L LOGLOCATION\fP, \fB\-\-logfile c\fP
The location in which log file output files will be saved. If this location is set to something other than \fBSTDOUT\fP, standard output logging will still be performed (otherwise there would be no output other than to a file).
.TP
.B \fB\-v\fP, \fB\-\-version\fP
The version of the chef\-client.
.UNINDENT
.SH AUTHOR
Opscode
.\" Generated by docutils manpage writer.
.