On Thu, Oct 6, 2016 at 10:30 AM, Yousif Johny <[email protected]> wrote:
> Dear mates,
>
> I'd really appreciate your help with the issue I'm having, trying to get an
> Agentless monitoring working.
>
> I installed OSSEC in CentOS, and I'm trying to monitor a linux host using
> the ssh_integrity_check_linux script.
>
> I tested the script manually as follows:
> ./ssh_integrity_check_linux [email protected] /bin
>
> And it seems to work, as it printed the hashes of files under /bin, and at
> the end it said "Finished"
>
> I put the below in ossec.conf below <ossec_config>
>
> <agentless>
>     <type>ssh_integrity_check_linux</type>
>     <frequency>36000</frequency>
>     <host>[email protected]</host>
>     <state>periodic</state>
>     <arguments>/bin</arguments>
> </agentless>
>
>
> When I restart OSSEC, I see the below in the ossec.log
> 2016/10/06 07:18:46 ossec-agentlessd: ERROR: Test failed for
> 'ssh_integrity_check_linux' (1). Ignoring.
>
>
> Any idea why this is happening?
>

When you ran the initial test, did you run it as the ossec user?


> Thank you.
>
> --
>
> ---
> You received this message because you are subscribed to the Google Groups
> "ossec-list" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> For more options, visit https://groups.google.com/d/optout.

-- 

--- 
You received this message because you are subscribed to the Google Groups 
"ossec-list" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to