How to user nagios log server to collect Windows DNS DHCP
Posted: Wed Jul 12, 2017 8:55 pm
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 !
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 !