monit-general
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Silencing Monit for a given amount of cycles


From: Paul Sun
Subject: Re: Silencing Monit for a given amount of cycles
Date: Sat, 20 Nov 2010 05:22:13 +0800



----- Original Message -----
From: address@hidden <address@hidden>
To: This is the general mailing list for monit <address@hidden>
Sent: Fri Nov 19 19:18:36 2010
Subject: Re: Silencing Monit for a given amount of cycles


>> else if succeeded for 3 cycles then exec "/bin/rm /tmp/ignore"

Better using "/bin/rm -f /tmp/ignore" as it won't return non negative exit code if /tmp/ignore does not exist...
You want that /tmp/ignore is deleted, so it must not be a error if something or someone deleted it manually before.
Regards.

--
To unsubscribe:
http://lists.nongnu.org/mailman/listinfo/monit-general


reply via email to

[Prev in Thread] Current Thread [Next in Thread]