On Wed, Oct 22, 2014 at 11:49 AM, <
de...@scratters.com> wrote:
> Right, time to have another look at this. I've switched to the AtomiCorp
> RPMs for CentOS, so everything should be in place. I've tried modifying a
> file in a monitored directory and alerts.log shows nothing.
>
Was the file already in the syscheck database?
Did a syscheck scan run after you modified the file?
> I suppose the first thing to ask is whether the system check works for local
> installations? Syscheck docs refer to agents quite a lot, as does Dan's
Yes, syscheck works in a local installation. It'd be silly if it did
not. I usually refer to agent/manager installations rather than local
installations because I imagine they're the more "popular"
installation type. Also, having to mention both local and agent and
server everywhere would be tedious.
> comment from a few days ago. I don't have any
> /var/ossec/queue/syscheck/(agentname) type files. I only have the syscheck
> database in that directory.
>
Well that file will have to do (I didn't have a local installation
handy to find out what the file was called, I run a manager and agents
on my laptop to help me test things).
> The FAQ says that in order to run a system check you use the command:
>
> # /var/ossec/bin/agent_control -r -a
>
>
> which runs it for all agents. I don't have any agents, and that command
> gives me:
>
> # ./agent_control -r -a
> 2014/10/10 23:15:44 agent_control(1210): ERROR: Queue '/queue/alerts/ar' not
> accessible: 'Connection refused'.
> 2014/10/10 23:15:44 agent_control(1301): ERROR: Unable to connect to active
> response queue.
>
> ** Unable to connect to remoted.
>
> Is this likely relevant to my problem?
>
If you don't have any agents, why would you run something called
"agent_control?"