📙
C-Sims Documents
  • Getting started
  • Installation guide
    • IDS Agents
      • Install Agent
        • Install agent with DEB packages
        • Install agent with RPM packages
        • Install agent on Windows
      • Agent Management
        • Registering agents
        • The registration process
        • Checking connection with Manager
    • Metric Beats
      • Install Metricbeat
      • Configure Metricbeat
      • Start Metricbeat
  • End User License Agreement
  • Refund Policy
  • Download
    • Metricbeat
    • IDS Agents
    • Instruction manual
Powered by GitBook
On this page

Was this helpful?

  1. Installation guide
  2. IDS Agents
  3. Agent Management

Checking connection with Manager

Before you check the agent’s connection with the manager, first ensure the agent is pointing to the manager’s IP address. This is set in /var/ossec/etc/ossec.conf using the <client> XML tag.

<ossec_config>
  <client>
    <server>
      <address>10.0.0.10</address> 
      <protocol>udp</protocol>
    </server>
  </client>
</ossec_config>

This will set 10.0.0.10 as the Wazuh Manager server. Once this is done, you will need restart the Agent:

  1. For Systemd:

systemctl restart wazuh-agent

2. For SysV Init:

service wazuh-agent restart

After you register the agent and it has successfully connected, you can see a list of agents that are connected to the manager with:

After you register the agent and it has successfully connected, you can see a list of agents that are connected to the manager with:

You can also check to see if an agent connected correctly by verifying if the UDP connection to the manager is established:

netstat -vatunp|grep ossec-agentd

The result should match the agent and manager IP addresses.

PreviousThe registration processNextMetric Beats

Last updated 5 years ago

Was this helpful?