Hi All,
We are trying to set up a trigger on a log file that is constantly being written to, and wish to alarm when there has been no activity in the log. We have set up the key as :
vfs.file.size[/data01/usr/log/Notifier/notifier.log] and it finds the log and presents the size in the Latest data graph. We are trying to alarm if the log hasn't been written to in 1 hour. Now, we set up the trigger as: {servername:vfs.file.size[/data01/usr/log/Notifier/notifier.log].last(0,1h)})=0 but we get the following message:
Invalid parameter "/1/expression": incorrect trigger expression starting from "})=0 If we use the vanilla command of {servername:vfs.file.size[/data01/usr/log/Notifier/notifier.log].last()}=0 the system accepts
this trigger but it doesn't do anything in the way of alerting. Could someone please share what we may be missing.
TIA
We are trying to set up a trigger on a log file that is constantly being written to, and wish to alarm when there has been no activity in the log. We have set up the key as :
vfs.file.size[/data01/usr/log/Notifier/notifier.log] and it finds the log and presents the size in the Latest data graph. We are trying to alarm if the log hasn't been written to in 1 hour. Now, we set up the trigger as: {servername:vfs.file.size[/data01/usr/log/Notifier/notifier.log].last(0,1h)})=0 but we get the following message:
Invalid parameter "/1/expression": incorrect trigger expression starting from "})=0 If we use the vanilla command of {servername:vfs.file.size[/data01/usr/log/Notifier/notifier.log].last()}=0 the system accepts
this trigger but it doesn't do anything in the way of alerting. Could someone please share what we may be missing.
TIA


Comment