Hi,
This is my first post here, so hi to entire Zabbix community. Zabbix is great monitoring tool and I use it alot.
Among others, I monitor some Windows RDP servers with Zabbix.
RDP server uses "User Profile Disks" to store user profiles on it. Those are basically virtual (vhdx) disks which are connected to server, same as physical disks.
Since there is some big number of those disks I would like to exclude them from discovery and monitoring.
Physical disk names are discovered as "Disk xx".
Filesystem names are discovered as "C:\Users\username"
My idea:
I cloned default "Template Module Windows filesystems by Zabbix agent active" and "Template Module Windows physical disks by Zabbix agent active" into new templates and attend to use new (cloned) templates to test.
Idea is to edit macros in new templates, but I am not sure how?
I guess, it would be possible to add regex to exclude:
"Disk xx" (xx is number, so I would like to exclude all disks with number higher than 2, so basically 3-999).
Filesystem "C:\Users\*"
but I am not sure how.
Here are macros I would like to adjust:
Template Module Windows physical disks by Zabbix agent active - {$VFS.DEV.DEVNAME.NOT_MATCHES}
Current value: _Total
Template Module Windows filesystems by Zabbix agent active - {$VFS.FS.FSNAME.NOT_MATCHES}
Current value: ^(/dev|/sys|/run|/proc|.+/shm$)
If someone can assist, I would appreciate any advice.
If there is some other, better way to accomplish my goal, please advise.
Thank you
Goran
This is my first post here, so hi to entire Zabbix community. Zabbix is great monitoring tool and I use it alot.
Among others, I monitor some Windows RDP servers with Zabbix.
RDP server uses "User Profile Disks" to store user profiles on it. Those are basically virtual (vhdx) disks which are connected to server, same as physical disks.
Since there is some big number of those disks I would like to exclude them from discovery and monitoring.
Physical disk names are discovered as "Disk xx".
Filesystem names are discovered as "C:\Users\username"
My idea:
I cloned default "Template Module Windows filesystems by Zabbix agent active" and "Template Module Windows physical disks by Zabbix agent active" into new templates and attend to use new (cloned) templates to test.
Idea is to edit macros in new templates, but I am not sure how?
I guess, it would be possible to add regex to exclude:
"Disk xx" (xx is number, so I would like to exclude all disks with number higher than 2, so basically 3-999).
Filesystem "C:\Users\*"
but I am not sure how.
Here are macros I would like to adjust:
Template Module Windows physical disks by Zabbix agent active - {$VFS.DEV.DEVNAME.NOT_MATCHES}
Current value: _Total
Template Module Windows filesystems by Zabbix agent active - {$VFS.FS.FSNAME.NOT_MATCHES}
Current value: ^(/dev|/sys|/run|/proc|.+/shm$)
If someone can assist, I would appreciate any advice.
If there is some other, better way to accomplish my goal, please advise.
Thank you
Goran
Comment