Debian Codegraph @

ansible_collections/dellemc/openmanage/docs/modules/dellemc_configure_idrac_eventing.rst

raw
1 .. _dellemc_configure_idrac_eventing_module:
2
3
4 dellemc_configure_idrac_eventing -- Configures the iDRAC eventing related attributes
5 ====================================================================================
6
7 .. contents::
8 :local:
9 :depth: 1
10
11
12 Synopsis
13 --------
14
15 This module allows to configure the iDRAC eventing related attributes.
16
17
18
19 Requirements
20 ------------
21 The below requirements are needed on the host that executes this module.
22
23 - omsdk >= 1.2.503
24 - python >= 3.9.6
25
26
27
28 Parameters
29 ----------
30
31 share_name (optional, str, None)
32 (deprecated)Network share or a local path.
33
34 This option is deprecated and will be removed in the later version.
35
36
37 share_user (optional, str, None)
38 (deprecated)Network share user in the format 'user@domain' or 'domain\user' if user is part of a domain else 'user'. This option is mandatory for CIFS Network Share.
39
40 This option is deprecated and will be removed in the later version.
41
42
43 share_password (optional, str, None)
44 (deprecated)Network share user password. This option is mandatory for CIFS Network Share.
45
46 This option is deprecated and will be removed in the later version.
47
48
49 share_mnt (optional, str, None)
50 (deprecated)Local mount path of the network share with read-write permission for ansible user. This option is mandatory for Network Share.
51
52 This option is deprecated and will be removed in the later version.
53
54
55 destination_number (optional, int, None)
56 Destination number for SNMP Trap.
57
58
59 destination (optional, str, None)
60 Destination for SNMP Trap.
61
62
63 snmp_v3_username (optional, str, None)
64 SNMP v3 username for SNMP Trap.
65
66
67 snmp_trap_state (optional, str, None)
68 Whether to Enable or Disable SNMP alert.
69
70
71 email_alert_state (optional, str, None)
72 Whether to Enable or Disable Email alert.
73
74
75 alert_number (optional, int, None)
76 Alert number for Email configuration.
77
78
79 address (optional, str, None)
80 Email address for SNMP Trap.
81
82
83 custom_message (optional, str, None)
84 Custom message for SNMP Trap reference.
85
86
87 enable_alerts (optional, str, None)
88 Whether to Enable or Disable iDRAC alerts.
89
90
91 authentication (optional, str, None)
92 Simple Mail Transfer Protocol Authentication.
93
94
95 smtp_ip_address (optional, str, None)
96 Enter the IPv4 or IPv6 address of the SMTP server or the FQDN or DNS name.
97
98
99 smtp_port (optional, str, None)
100 SMTP Port number for access.
101
102
103 username (optional, str, None)
104 Username for SMTP authentication.
105
106
107 password (optional, str, None)
108 Password for SMTP authentication.
109
110
111 idrac_ip (True, str, None)
112 iDRAC IP Address.
113
114
115 idrac_user (True, str, None)
116 iDRAC username.
117
118
119 idrac_password (True, str, None)
120 iDRAC user password.
121
122
123 idrac_port (optional, int, 443)
124 iDRAC port.
125
126
127 validate_certs (optional, bool, True)
128 If ``false``, the SSL certificates will not be validated.
129
130 Configure ``false`` only on personally controlled sites where self-signed certificates are used.
131
132 Prior to collection version ``5.0.0``, the *validate_certs* is ``false`` by default.
133
134
135 ca_path (optional, path, None)
136 The Privacy Enhanced Mail (PEM) file that contains a CA certificate to be used for the validation.
137
138
139 timeout (optional, int, 30)
140 The socket level timeout in seconds.
141
142
143
144
145
146 Notes
147 -----
148
149 .. note::
150 - This module requires 'Administrator' privilege for *idrac_user*.
151 - Run this module from a system that has direct access to Dell iDRAC.
152 - This module supports both IPv4 and IPv6 address for *idrac_ip*.
153 - This module supports ``check_mode``.
154
155
156
157
158 Examples
159 --------
160
161 .. code-block:: yaml+jinja
162
163
164 ---
165 - name: Configure the iDRAC eventing attributes
166 dellemc.openmanage.dellemc_configure_idrac_eventing:
167 idrac_ip: "192.168.0.1"
168 idrac_user: "user_name"
169 idrac_password: "user_password"
170 ca_path: "/path/to/ca_cert.pem"
171 destination_number: "2"
172 destination: "1.1.1.1"
173 snmp_v3_username: "None"
174 snmp_trap_state: "Enabled"
175 email_alert_state: "Disabled"
176 alert_number: "1"
177 address: "[email protected]"
178 custom_message: "Custom Message"
179 enable_alerts: "Disabled"
180 authentication: "Enabled"
181 smtp_ip_address: "192.168.0.1"
182 smtp_port: "25"
183 username: "username"
184 password: "password"
185
186
187
188 Return Values
189 -------------
190
191 msg (always, str, Successfully configured the iDRAC eventing settings.)
192 Successfully configured the iDRAC eventing settings.
193
194
195 eventing_status (success, dict, {'CompletionTime': '2020-04-02T02:43:28', 'Description': 'Job Instance', 'EndTime': None, 'Id': 'JID_12345123456', 'JobState': 'Completed', 'JobType': 'ImportConfiguration', 'Message': 'Successfully imported and applied Server Configuration Profile.', 'MessageArgs': [], 'MessageId': 'SYS053', 'Name': 'Import Configuration', 'PercentComplete': 100, 'StartTime': 'TIME_NOW', 'Status': 'Success', 'TargetSettingsURI': None, 'retval': True})
196 Configures the iDRAC eventing attributes.
197
198
199 error_info (on HTTP error, dict, {'error': {'code': 'Base.1.0.GeneralError', 'message': 'A general error has occurred. See ExtendedInfo for more information.', '@Message.ExtendedInfo': [{'MessageId': 'GEN1234', 'RelatedProperties': [], 'Message': 'Unable to process the request because an error occurred.', 'MessageArgs': [], 'Severity': 'Critical', 'Resolution': 'Retry the operation. If the issue persists, contact your system administrator.'}]}})
200 Details of the HTTP Error.
201
202
203
204
205
206 Status
207 ------
208
209
210 - This module will be removed in version
211 .
212 *[deprecated]*
213
214
215 Authors
216 ~~~~~~~
217
218 - Felix Stephen (@felixs88)
219