|
From: | frwa onto |
Subject: | Re: Monitor Ossec |
Date: | Wed, 25 Sep 2013 00:02:02 +0800 |
frwa onto [24.09.2013 17:21]:
> Dear Werner,You can put anything you wrote into the separate file into monit.conf
> I dont understand what is the need of the extra
> ossec.conf why not its in the main monit.conf ?
(which I don't have, it's monitrc for me). The reason for keeping it
separated is that on an update, the central config may be rewritten, and
that your parts of the config might get lost. If you keep it in a
separate file, it will stay there even when you update monit.
From what I found, "check program" must have been introduced with
> On Tue, Sep 24, 2013 at 11:19 PM, frwa onto <address@hidden> wrote:
>
>> Dear Werner,
>> I went into the man page here
>> http://mmonit.com/monit/documentation/monit.html#program_status_testing so
>> I read and change it to this now check program test_ossec with path
>> "/usr/bin/test_ossec" with timeout 1000 seconds and still get service monit
>> start
>> Starting monit: /etc/monit.d/ossec.conf:1: Error: syntax error 'test_ossec'
>> [FAILED]
>> . I think my problem why it does not recognize could it be due to my
>> monit version is monit -V
>> This is monit version 5.1.1
>> Copyright (C) 2000-2010 by Tildeslash Ltd. All Rights Reserved. I am using
>> Centos 6.4 and epel repo. Another thing how I start the ossec is via the
>> /var/ossec/bin/ossec-control start not via the /etc/init.d scripts.
version 5.3, so you are on the bad side here.
Regards,
Werner
[Prev in Thread] | Current Thread | [Next in Thread] |