Hi all!
I am new to Zabbix, so my apologies for what is probably a very simple question!
I have the need to monitor a file size and a file's modified date on several Windows hosts. Due to reasons outside of my control, the location and filename can be different on each host. I can successfully use the following:
vfs.file.size[file]
vfs.file.time[file,modified]
I want to setup a template with these items (and triggers to go with them). I have tried adding a Macro for the filename in a template and adding the template to a host, but I then can't change the Macro's value at the host level.
I imagine when I create a new host, I could add the Macro then with the correct value, but I will probably end up needing multiple Macros per host, and it would be great if there was an easier way, which I'm sure there is.
For example, is there a way to create a Host that has a pre-definded set of Macros?
Any help would be greatly appreciated.
I am new to Zabbix, so my apologies for what is probably a very simple question!
I have the need to monitor a file size and a file's modified date on several Windows hosts. Due to reasons outside of my control, the location and filename can be different on each host. I can successfully use the following:
vfs.file.size[file]
vfs.file.time[file,modified]
I want to setup a template with these items (and triggers to go with them). I have tried adding a Macro for the filename in a template and adding the template to a host, but I then can't change the Macro's value at the host level.
I imagine when I create a new host, I could add the Macro then with the correct value, but I will probably end up needing multiple Macros per host, and it would be great if there was an easier way, which I'm sure there is.
For example, is there a way to create a Host that has a pre-definded set of Macros?
Any help would be greatly appreciated.
Comment