Hi,
I guess I will annoying some people with my question but I spent a lot of hours and it seems that I still didn't figured out how LLD really works.
Actually I haven't used custom LLDs until now but I want to monitor a Windows folder (filenames and their size) and LLD seems to be the way to go. After hours of try and error following the Zabbix documentation (https://www.zabbix.com/documentation...evel_discovery) I followed this guide https://smartsolutions.dioss.com/en/...ry-json-lists/ and got it working.
What I don't understand is why I need to collect the JSON data first in a kind of Master/Dummy item only to make a dependent discovery rule on the Master/Dummy item again and then a dependent item prototype (all guides I found on the web follow this scheme). Isn't there a easier way to get this type of information without this Master/Dummy item? As I said I spent some hours on processing the JSON data I catched with the discovery rule (Agent / key vfs.dir.get[D:\data]) directly and trying to figure out how to make item prototypes with the result.
What is the advantage of the Master/Dummy item method or is it really the (only?) way to go?
I guess I will annoying some people with my question but I spent a lot of hours and it seems that I still didn't figured out how LLD really works.
Actually I haven't used custom LLDs until now but I want to monitor a Windows folder (filenames and their size) and LLD seems to be the way to go. After hours of try and error following the Zabbix documentation (https://www.zabbix.com/documentation...evel_discovery) I followed this guide https://smartsolutions.dioss.com/en/...ry-json-lists/ and got it working.
What I don't understand is why I need to collect the JSON data first in a kind of Master/Dummy item only to make a dependent discovery rule on the Master/Dummy item again and then a dependent item prototype (all guides I found on the web follow this scheme). Isn't there a easier way to get this type of information without this Master/Dummy item? As I said I spent some hours on processing the JSON data I catched with the discovery rule (Agent / key vfs.dir.get[D:\data]) directly and trying to figure out how to make item prototypes with the result.
What is the advantage of the Master/Dummy item method or is it really the (only?) way to go?
Comment