How to user nagios log server to collect Windows DNS DHCP LOG. and windows Active Directory log, Exchange Log
I test a DHCP log. but it error : cann't find ERROR failed to open directory: C:\Windows\System32\dhcp
the nxlog.conf
<Input dhcp_log1>
Module im_file
File 'C:\Windows\System32\dhcp\Dhcp*.log'
SavePos TRUE
Exec $Message = $raw_event;
</Input>
<Route 1>
Path internal, file1, eventlog, dhcp_log1 => out
</Route>
and in the nxlog service, I use my admin account to startup the service.
how to do it ?
thank !
How to user nagios log server to collect Windows DNS DHCP
Re: How to user nagios log server to collect Windows DNS DH
Per https://nxlog.co/question/1848/nxlogcon ... -file-path, use:
Are the AD and exchange logs found in the event viewer? The default configuration found under http://NLS_IP/nagioslogserver/source-setup/windows is responsible for sending event these to NLS. The configuration can be further customized to send only specific events or logs if you wish. https://nxlog.co/question/1711/configur ... -logs-only has an example of how to only send specific event logs.
Code: Select all
File "C:\\Windows\\sysnative\\dhcp\\Dhcp*.log"
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.