Do not report virtual filesystems in df
Tell `df` not to report on virtual filesystems such as `squashfs` (used by `snapd` and always at 100%), `tmpfs` (memory-only) and `devtmpfs` (used by `udev`)
This commit is contained in:
parent
81058daf1b
commit
bcd327280e
@ -281,7 +281,7 @@ wazuh_agent_config:
|
|||||||
- format: 'syslog'
|
- format: 'syslog'
|
||||||
location: '/var/ossec/logs/active-responses.log'
|
location: '/var/ossec/logs/active-responses.log'
|
||||||
- format: 'command'
|
- format: 'command'
|
||||||
command: 'df -P'
|
command: df -P -x squashfs -x tmpfs -x devtmpfs
|
||||||
frequency: '360'
|
frequency: '360'
|
||||||
- format: 'full_command'
|
- format: 'full_command'
|
||||||
command: ss -nutal | awk '{print $1,$5,$6;}' | sort -b | column -t
|
command: ss -nutal | awk '{print $1,$5,$6;}' | sort -b | column -t
|
||||||
|
|||||||
@ -183,7 +183,7 @@ wazuh_manager_config:
|
|||||||
localfiles:
|
localfiles:
|
||||||
common:
|
common:
|
||||||
- format: 'command'
|
- format: 'command'
|
||||||
command: 'df -P'
|
command: df -P -x squashfs -x tmpfs -x devtmpfs
|
||||||
frequency: '360'
|
frequency: '360'
|
||||||
- format: 'full_command'
|
- format: 'full_command'
|
||||||
command: ss -nutal | awk '{print $1,$5,$6;}' | sort -b | column -t
|
command: ss -nutal | awk '{print $1,$5,$6;}' | sort -b | column -t
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user