Skip to content

Commit

Permalink
feat(#3863): add messages
Browse files Browse the repository at this point in the history
  • Loading branch information
juliamagan committed Feb 8, 2023
1 parent 894e66c commit 872f900
Show file tree
Hide file tree
Showing 2 changed files with 29 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
---
wazuh-master:
- regex: ".*Agent 'AGENT_ID' with file 'merged.mg' MD5 .*"
path: "/var/ossec/logs/ossec.log"
timeout: 30
- regex: ".*Group assigned: 'GROUP_ID'"
path: "/var/ossec/logs/ossec.log"
timeout: 10
- regex: ".*Agent 'AGENT_ID' group is 'GROUP_ID'"
path: "/var/ossec/logs/ossec.log"
timeout: 10
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
---
wazuh-worker1:
- regex: ".*Sending message to master node: '{\"daemon_name\":\"remoted\",\"message\":{\"command\":\"assigngroup\",\"parameters\":{\"agent\":\"AGENT_ID\",\"md5\":.*"
path: "/var/ossec/logs/ossec.log"
timeout: 30
- regex: ".*Message received from master node: '{\"error\":0,\"message\":\"ok\",\"data\":{\"group\":\"GROUP_ID\"}}'"
path: "/var/ossec/logs/ossec.log"
timeout: 10
- regex: ".*Agent 'AGENT_ID' group is 'GROUP_ID'"
path: "/var/ossec/logs/ossec.log"
timeout: 10
wazuh-master:
- regex: ".*Agent 'AGENT_ID' with file 'merged.mg' MD5 .*"
path: "/var/ossec/logs/ossec.log"
timeout: 30
- regex: ".*Group assigned: 'GROUP_ID'"
path: "/var/ossec/logs/ossec.log"
timeout: 10

0 comments on commit 872f900

Please sign in to comment.