This module installs and configure Wazuh agent and manager.
This Puppet module has been authored by Nicolas Zin, and updated by Jonathan Gazeley and Michael Porter. Wazuh has forked it with the purpose of maintaing it. Thank you to the authors for the contribution.
node "manager.xxxx.com" {
class { 'wazuh::server':
mailserver_ip => 'localhost',
ossec_emailto => ['ossec@xxxx.com']
}
wazuh::addlog { 'monitorLogFile':
logfile => '/var/log/secure',
logtype => 'syslog'
}
wazuh::addlog {
'monitorLogFile2':
logfile => '/var/log/secure2',
logtype => 'syslog'
}
}
node "agent.xxx.com" {
class { "wazuh::client":
ossec_server_ip => "192.168.145.145"
}
wazuh::addlog {
'monitorLogFile2':
agent_log => true,
logfile => '/var/log/secure2',
logtype => 'syslog'
}
wazuh::addlog {
'monitorLogFile3':
agent_log => true,
logfile => '/var/log/secure3',
logtype => 'syslog'
}
}