[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: monitoring network filesystem
From: |
Martin Pala |
Subject: |
Re: monitoring network filesystem |
Date: |
Fri, 9 Jul 2010 19:00:39 +0200 |
I Agree, will change it to Aleksander's syntax.
I have used the 'if failed' just to keep the common test declaration syntax,
even though with 'existence' test it looked strange.
On Jul 9, 2010, at 5:54 PM, Jan-Henrik Haukeland wrote:
> On 9. juli 2010, at 17.42, Martin Pala wrote:
>
>> check file with path /path/to/netfs/lost+found
>> if failed existence for 5 cycles then exec "/path/to/scripts/mount.sh"
>
>
> I must say I like Aleksander's "if does not exist" version much better than;
> "if failed existence" which sounds like an excerpt from Nietzsche's work on
> existentialism.
>
>
>> On Jul 8, 2010, at 1:56 PM, Aleksander Kamenik wrote:
>>
>>> Something like this would be perfect (I don't care about content, so the
>>> lost+found folder is a great choice in my case):
>>>
>>> check folder lost+found path /path/to/netfs/lost+found
>>> if does not exist then exec "/path/to/scripts/mount.sh"
>>
>
>
> --
> To unsubscribe:
> http://lists.nongnu.org/mailman/listinfo/monit-general