We have several systems that still communicate by placing files in folders and other systems picking them up. So we need need to monitor the number of files in these folders / file-age to determine if the communication still works.
I created a template with the following item and applied it to one of the servers:
This works fine for one folder but this needs to monitor 100+ folders on different servers.
Is there a better way that to make a template for every server? These templates then have an item for every folder it needs to monitor on that server.
I created a template with the following item and applied it to one of the servers:
Code:
vfs.dir.count[{$COUNT.PATH},,,file,,{$COUNT.DEPTH},,,,,]
Is there a better way that to make a template for every server? These templates then have an item for every folder it needs to monitor on that server.
Either, as Hamardaban suggested, macros on each host, or keep those needed paths and depths on each server in a file and build a template with discovery and item/trigger prototypes on top of it...
Comment