Hi Wazuh Community,
I am currently working on setting up a comprehensive monitoring system for my Synology NAS devices using Wazuh 4.7. I have been following the guidance provided in this repository: https://github.com/Tomo-9925/wazuh-synology-dsm-decoder-and-rules, which is very helpful for login/logout events and basic backup monitoring.
However, for my system, I need a more complete setup, and I am missing critical information to achieve full coverage. Specifically, I am looking to monitor and log the following on Synology NAS:
System Resource Usage:
CPU usage
RAM usage
Disk usage
Status of network ports (LAN1-4)
Inbound and outbound network traffic per interface
User Activity:
Login and logout events
Failed login attempts and brute-force detection
Job and Task Monitoring:
Backup and restore tasks
All modifications or actions performed on the NAS (file creation, modification, deletion, permissions changes, etc.)
Examples of the type of logs I want to capture:
“User admin failed login via SSH from IP 192.168.1.50”
“Backup task ‘DailyBackup’ completed successfully”
“File /volume1/shared/test.txt deleted by user John”
“CPU usage exceeded 90% on NAS-01”
“Inbound traffic on LAN2 exceeded 500 Mbps”
Currently, the decoders and rules provided in the GitHub repository are limited to login/logout events. There is no decoder or rule available for the system resource metrics (CPU, RAM, Disk, network interfaces) or for detailed file/task activity.
I would greatly appreciate it if the community could provide:
Comprehensive Synology NAS rules and decoders for Wazuh that cover all the above events
Example configurations for capturing CPU, RAM, disk usage, network interface stats, inbound/outbound traffic, backup/restore jobs, and file changes
Guidance on dashboard setup, including recommendations for visualizing critical metrics and alerts in Wazuh Dashboard
Any examples of rules, decoders, or dashboard panels would be extremely helpful, so I can build a complete monitoring system for my Synology NAS devices.
Thank you very much for your support and guidance !
--
You received this message because you are subscribed to a topic in the Google Groups "Wazuh | Mailing List" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/wazuh/GhpO-He0fjg/unsubscribe.
To unsubscribe from this group and all its topics, send an email to wazuh+un...@googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/wazuh/4a72c848-5b6d-4e03-90d3-10e4034dd4e8n%40googlegroups.com.
agent.id=000
as you mentioned. So I think the logs sent from Synology to Wazuh have been received successfully.However, I checked the /var/ossec/logs/archives/
directory and here is what I found: I noticed that the file archives.log
is 0 KB. I also tried tail -f
on it, but it returned nothing.
Additionally, there is a folder named Sep
; I went into it and found many files like ossec-archive-25.json.sum
and ossec-archive-25.log.sum
. However, when I checked them, they seem to be just checksum files of the log content.
So, regarding the log samples you mentioned, where should I get them from ?
I look forward to your reply.
To view this discussion visit https://groups.google.com/d/msgid/wazuh/1015cafc-4d6b-4955-99fd-6214be527406n%40googlegroups.com.
I have managed to capture logs from my Synology NAS devices. Initially, the archives.log
file on the Wazuh Manager was empty because the “log all events” feature had not been enabled. After enabling it with <logall_json>yes</logall_json>
, I am now able to retrieve the raw JSON logs.
The attached log samples are provided below. My goal is to display clearly each individual action being performed on the Synology NAS on the Wazuh Dashboard, with appropriate severity levels corresponding to the events.
Could you please help me write the appropriate decoders and rules based on these log samples ?
These are some of the log samples at the current moment. Please help me write the appropriate decoders and rules based on these logs first. In the future, if additional log samples become available, I will send them as well.
One additional point: after reviewing the attached JSON file, I do not see any logs related to Synology resource metrics such as CPU, disk, or RAM usage. Is there a way to capture these real-time resource logs as well ?
Many thanks !