Hi,
i want to compare two files on different hosts (host1, host2, host3). On host1 there is the "master"-file, which is copied with rsync to host2 and host3. I only want a notification if the file on host2 or host3 is different.
e.g. there is an file /home/user/file on all hosts. I created an item on each host with key vfs.file.cksum[/home/user/file].
Then i created a trigger with the following expression:
{host2:vfs.file.cksum[/home/user/file].last(0)}#{host1:vfs.file.cksum[/home/user/file].last(0)}
The trigger is created on host1 and host2! On each host there is the same trigger (with the same id). Actually the trigger isn't really assigned to a host, but to all hosts included in the expression?
Is it possible to assign the trigger only to one host?
i want to compare two files on different hosts (host1, host2, host3). On host1 there is the "master"-file, which is copied with rsync to host2 and host3. I only want a notification if the file on host2 or host3 is different.
e.g. there is an file /home/user/file on all hosts. I created an item on each host with key vfs.file.cksum[/home/user/file].
Then i created a trigger with the following expression:
{host2:vfs.file.cksum[/home/user/file].last(0)}#{host1:vfs.file.cksum[/home/user/file].last(0)}
The trigger is created on host1 and host2! On each host there is the same trigger (with the same id). Actually the trigger isn't really assigned to a host, but to all hosts included in the expression?
Is it possible to assign the trigger only to one host?
Comment