How to user nagios log server to collect Windows DNS DHCP
Posted: Thu Jul 13, 2017 8:13 pm
I use nagios log server to collect DHCP , DNS log, but it cannot work.
<Input iis_log1 >
Module im_file
File 'C:\Windows\System32\dhcp\Dhcp*.log'
SavePos TRUE
Exec $Message = $raw_event;
</Input>
<Route 1>
Path internal, file1, eventlog, iis_log1 => out
</Route>
in nxlog.log , there are error logs: ERROR failed to open directory: C:\Windows\System32\dhcp
<Input iis_log1 >
Module im_file
File 'C:\Windows\System32\dhcp\Dhcp*.log'
SavePos TRUE
Exec $Message = $raw_event;
</Input>
<Route 1>
Path internal, file1, eventlog, iis_log1 => out
</Route>
in nxlog.log , there are error logs: ERROR failed to open directory: C:\Windows\System32\dhcp