Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Agent simulator Hotfixes syscollector messages produces analysisd errors #5374

Closed
3 tasks
Rebits opened this issue May 14, 2024 · 1 comment
Closed
3 tasks

Comments

@Rebits
Copy link
Member

Rebits commented May 14, 2024

Description

Since v4.8.0-beta6, it has been observed that the format of syscollector's hotfixes messages, as utilized by the agent simulator, is causing multiple errors in the manager.

2024/05/14 08:35:22 :router: ERROR: Error sending message to provider: Error parsing message, 1: 140: error: unknown enum value: dbsync_hotfix
2024/05/14 08:35:22 :router: ERROR: Error sending message to provider: Error parsing message, 1: 140: error: unknown enum value: dbsync_hotfix
2024/05/14 08:35:22 :router: ERROR: Error sending message to provider: Error parsing message, 1: 140: error: unknown enum value: dbsync_hotfix
2024/05/14 08:35:22 wazuh-analysisd: ERROR: (1287): Incorrect/unknown type value hotfix.
2024/05/14 08:35:22 wazuh-analysisd: ERROR: (1287): Incorrect/unknown type value hotfix.
2024/05/14 08:35:22 wazuh-analysisd: ERROR: (1287): Incorrect/unknown type value hotfix.
2024/05/14 08:35:22 :router: ERROR: Error sending message to provider: Error parsing message, 1: 140: error: unknown enum value: dbsync_hotfix
2024/05/14 08:35:22 wazuh-analysisd: ERROR: (1287): Incorrect/unknown type value hotfix.
2024/05/14 08:35:22 wazuh-analysisd: ERROR: (1287): Incorrect/unknown type value hotfix.
2024/05/14 08:35:22 :router: ERROR: Error sending message to provider: Error parsing message, 1: 140: error: unknown enum value: dbsync_hotfix
2024/05/14 08:35:23 wazuh-analysisd: ERROR: (1287): Incorrect/unknown type value hotfix.
2024/05/14 08:35:23 :router: ERROR: Error sending message to provider: Error parsing message, 1: 140: error: unknown enum value: dbsync_hotfix
2024/05/14 08:35:23 wazuh-analysisd: ERROR: (1287): Incorrect/unknown type value hotfix.
2024/05/14 08:35:23 wazuh-analysisd: ERROR: (1287): Incorrect/unknown type value hotfix.
2024/05/14 08:35:23 :router: ERROR: Error sending message to provider: Error parsing message, 1: 140: error: unknown enum value: dbsync_hotfix
2024/05/14 08:35:23 :router: ERROR: Error sending message to provider: Error parsing message, 1: 140: error: unknown enum value: dbsync_hotfix
2024/05/14 08:35:23 wazuh-analysisd: ERROR: (1287): Incorrect/unknown type value hotfix.
2024/05/14 08:35:23 wazuh-analysisd: ERROR: (1287): Incorrect/unknown type value hotfix.
2024/05/14 08:35:23 :router: ERROR: Error sending message to provider: Error parsing message, 1: 140: error: unknown enum value: dbsync_hotfix
2024/05/14 08:35:23 :router: ERROR: Error sending message to provider: Error parsing message, 1: 140: error: unknown enum value: dbsync_hotfix

Tasks

  • Verify the implementation of the new hotfixes message format introduced in v4.8.0
  • Update hotfixes messages to adhere to the new standard in the AgentSimulator class

Validation

  • Simulate all syscollector message types on a v4.8.0 manager
@Rebits
Copy link
Member Author

Rebits commented May 15, 2024

Duplicated #5378

@Rebits Rebits closed this as not planned Won't fix, can't repro, duplicate, stale May 15, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants