Hello,
the "if changed checksum" test does reset the checksum expectation for next
cycle when it changes => it fires on every change. See manual for more details:
http://www.mmonit.com/monit/documentation/monit.html#file_checksum_testing
You can run monit with -v option for verbose mode and see the checksum
interaction.
Example:
check file httpd.conf path /usr/local/apache/conf/httpd.conf
if changed checksum then exec "/usr/local/apache/bin/apachectl graceful"
Regards,
Martin
On Feb 8, 2010, at 2:44 AM, Len Conrad wrote:
>
> If checksum changed (file updated), then script.
>
> We want to reset checksum so that it makes a new checksum for the updated
> file.
>
> About the only way I see is to monit restart or monit reload.
>
> Thanks
> Len
>
>
>
>
>
> --
> To unsubscribe:
> http://lists.nongnu.org/mailman/listinfo/monit-general
--
To unsubscribe:
http://lists.nongnu.org/mailman/listinfo/monit-general