Hello, I'm new to Zabbix and trying to figure out how to exclude 2 Windows volumes from being discovered or monitored by Zabbix. We have some servers in the cloud and our DR partner temporarily maps the y or z drive to copy data over to the DR servers in another cloud datacenter. These mappings get picked up by zabbix discovery and send false alerts:
Trigger status: OK
Trigger: Free disk space is less than 5% on volume Y:
I've tried changing the Mounted Filesystem Discovery rule for a template to the following to exclude the y and z volume:
Filter Macro: {#FSNAME}
Regexp: ^C-X
I've also tried creating item prototype and trigger prototypes and disabled the trigger prototype in hopes that it would prevent the trigger:
Item Prototype:
Name: Free disk space on Y: (percentage)
Type: Zabix Agent
Key: vfs.fs.size[{Y:},pfree]
Trigger prototype:
Name: Free disk space is less than 5% on volume {Y:}
Expression: {Template OS Windows - No Z Y drives:vfs.fs.size[{Y:},pfree].max(5)}<5
Enabled: unckecked.
We've stopped getting alerts for the DR volume mappings, but we've also stopped getting alerts for all volumes that we want to get alerts for.
What is the best way to prevent the y and z volumes from getting monitored by zabbix? Unfortunately are running 2.2.1 otherwise I could add multiple filters.
Trigger status: OK
Trigger: Free disk space is less than 5% on volume Y:
I've tried changing the Mounted Filesystem Discovery rule for a template to the following to exclude the y and z volume:
Filter Macro: {#FSNAME}
Regexp: ^C-X
I've also tried creating item prototype and trigger prototypes and disabled the trigger prototype in hopes that it would prevent the trigger:
Item Prototype:
Name: Free disk space on Y: (percentage)
Type: Zabix Agent
Key: vfs.fs.size[{Y:},pfree]
Trigger prototype:
Name: Free disk space is less than 5% on volume {Y:}
Expression: {Template OS Windows - No Z Y drives:vfs.fs.size[{Y:},pfree].max(5)}<5
Enabled: unckecked.
We've stopped getting alerts for the DR volume mappings, but we've also stopped getting alerts for all volumes that we want to get alerts for.
What is the best way to prevent the y and z volumes from getting monitored by zabbix? Unfortunately are running 2.2.1 otherwise I could add multiple filters.
Comment