You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
'agent-upgrade: ERROR: (8123): There has been an error executing the request in the tasks manager.',
214
+
"ERROR: Could not send message through the cluster after '10' attempts"
215
+
216
+
]
217
+
211
218
withopen('/var/ossec/logs/ossec.log', 'r') asf:
212
219
forlineinf.readlines():
213
220
if'ERROR'inline:
214
-
if'ERROR: Cluster error detected'notinlineand'agent-upgrade: ERROR: (8123): There has been an error executing the request in the tasks manager.'notinline:
if [ "${DIST_VER}"!="9" ] || [ "${DIST_SUBVER}"!="4" ];then
239
+
notsupported=1
240
+
fi
241
+
fi
242
+
234
243
if [ -n"${notsupported}" ] && [ -z"${ignore}" ];then
235
244
common_logger -e "The recommended systems are: Red Hat Enterprise Linux 7, 8, 9; CentOS 7, 8; Amazon Linux 2; Ubuntu 16.04, 18.04, 20.04, 22.04. The current system does not match this list. Use -i|--ignore-check to skip this check."
236
245
exit 1
237
246
fi
238
247
common_logger -d "Detected distribution name: ${DIST_NAME}"
239
248
common_logger -d "Detected distribution version: ${DIST_VER}"
0 commit comments