Hi, I need to create a trigger that would fire if file content checksum is different than a particular value. I know that I can create a fs.file.cksum[/home/user/result.txt].diff()} =1 but the check is running every 1 minute, so the alert will disappear after a 1 minute from dashboard. I want to compare the chsum with provided static value and then the allert will last as long as the file will back to its original state and content. Please help me.
Ad Widget
Collapse
Trigger alert if the file cksum is different that 1347961993
Collapse
X
-
I have figure it out: {Host.name:vfs.file.cksum[/home/user/result.txt].last(0)}<> 1347961993Hi, I need to create a trigger that would fire if file content checksum is different than a particular value. I know that I can create a fs.file.cksum[/home/user/result.txt].diff()} =1 but the check is running every 1 minute, so the alert will disappear after a 1 minute from dashboard. I want to compare the chsum with provided static value and then the allert will last as long as the file will back to its original state and content. Please help me.
Comment