Hello,
I am struggling to find info about this:
I have a custom discovery rule which greps some lines from a file (connected users) and put these into items (one item per connected user). items are created through a prototype, and they can vary in number and content, as far as users connect and disconnect.
Now, I'm trying to put the list of connected users in a zabbix map, as label Macro, with no avail. The macro I'm using is:
{{HOST:HOST}:vfs.file.regexp[file.log,^#ITEM.*$].last(0)}
Question is: Does zabbix map labels supports this? is it possible to put there this list of connected users, for instance, putting there a prototype? Or maybe there's another way?
Thanks in advance.
I am struggling to find info about this:
I have a custom discovery rule which greps some lines from a file (connected users) and put these into items (one item per connected user). items are created through a prototype, and they can vary in number and content, as far as users connect and disconnect.
Now, I'm trying to put the list of connected users in a zabbix map, as label Macro, with no avail. The macro I'm using is:
{{HOST:HOST}:vfs.file.regexp[file.log,^#ITEM.*$].last(0)}
Question is: Does zabbix map labels supports this? is it possible to put there this list of connected users, for instance, putting there a prototype? Or maybe there's another way?
Thanks in advance.
Comment