Hi, srv_nxlog is a service account what I've created within the AD domain.
This account is member of the local admin group on the server where the nxlog service is running.
The thing is, when I run the service under local system account I'm getting also access denied messages on the log file.
Trying to monitor custom windows file -> access denied
Re: Trying to monitor custom windows file -> access denied
Hmm, what happens if you grant full control? Does it work at that point? This is pretty strange.
Former Nagios Employee
Re: Trying to monitor custom windows file -> access denied
I think this is it:
I forgot to include the error log it should be this:
I don't see the access denied messages anymore and content of error.log file is found within the Nagios Dashboard with source Eventlog!
Code: Select all
# Watch your own files
<Input error.log>
Module im_file
File 'd:\test\server1'Code: Select all
# Watch your own files
<Input error.log>
Module im_file
File 'd:\test\server1\error.log'Re: Trying to monitor custom windows file -> access denied
Ah! Glad to see you found the missing piece!
I'll close this out now, but if you need any assistance in the future, feel free to open a new thread.
I'll close this out now, but if you need any assistance in the future, feel free to open a new thread.
Former Nagios Employee