I created a template with one trapper master Text that receives a JSON array from a remote sender.
The template also has a discovery rule that parses the master item, with a few item prototypes. These dependent items also parse the same master item.
Everything seems to be working fine, except for a problem with initial values after the first time master item gets updated.
After I link the template to a host, and the sender sends its first value, the master item gets updated, the LLD gets executed and creates dependent items from prototypes, but for some reason these new items don't have values. After second and consecutive updates, discovered items refresh their values correctly.
It's not a big deal if the master item is updated every few minutes, but if it happens, let's say, once ah hour, or, even worse, once a day, there is a chance that critical state of monitored hosts won't be noticed for way too long.
Am I doing something wrong here, or is it by design? If it supposed to work that way, maybe there is a workaround?
The template also has a discovery rule that parses the master item, with a few item prototypes. These dependent items also parse the same master item.
Everything seems to be working fine, except for a problem with initial values after the first time master item gets updated.
After I link the template to a host, and the sender sends its first value, the master item gets updated, the LLD gets executed and creates dependent items from prototypes, but for some reason these new items don't have values. After second and consecutive updates, discovered items refresh their values correctly.
It's not a big deal if the master item is updated every few minutes, but if it happens, let's say, once ah hour, or, even worse, once a day, there is a chance that critical state of monitored hosts won't be noticed for way too long.
Am I doing something wrong here, or is it by design? If it supposed to work that way, maybe there is a workaround?
Comment