Hi,
Is there any way to set up a discovery rule to add an item that monitors a file size, within a specific folder?
I have already tested the file size monitor item (using vfs.file.size)and it is working like a charm. The trouble is, I have about 100 files that I need to monitor and it is a bit of a pain adding them all individually. The other thing is that we are adding a couple of new files a week and it would be good if they were automatically found and monitored.
I tried using vfs.file.size[*], vfs.file.discovery[*] (* being the folder path), but I am getting a not supported status.
I am guessing it will come down to a custom LLD rule? If so, I may need some help with that...
Does anyone have some examples I could use? I am new to both Zabbix and JSON.
Any help is appreciated.
Useful stuff:
Server: Zabbix 2.0.10
OS: Ubuntu 12.04
Files are in a folder on a Windows 2008 R2 Datacenter machine.
Is there any way to set up a discovery rule to add an item that monitors a file size, within a specific folder?
I have already tested the file size monitor item (using vfs.file.size)and it is working like a charm. The trouble is, I have about 100 files that I need to monitor and it is a bit of a pain adding them all individually. The other thing is that we are adding a couple of new files a week and it would be good if they were automatically found and monitored.
I tried using vfs.file.size[*], vfs.file.discovery[*] (* being the folder path), but I am getting a not supported status.
I am guessing it will come down to a custom LLD rule? If so, I may need some help with that...
Does anyone have some examples I could use? I am new to both Zabbix and JSON.
Any help is appreciated.
Useful stuff:
Server: Zabbix 2.0.10
OS: Ubuntu 12.04
Files are in a folder on a Windows 2008 R2 Datacenter machine.

Comment