Search found 17 matches

by heskez
Tue Jan 26, 2016 11:03 am
Forum: Nagios Log Server
Topic: Trying to monitor custom windows file -> access denied
Replies: 13
Views: 4609

Re: Trying to monitor custom windows file -> access denied

I think this is it: # Watch your own files <Input error.log> Module im_file File 'd:\test\server1' I forgot to include the error log it should be this: # Watch your own files <Input error.log> Module im_file File 'd:\test\server1\error.log' I don't see the access denied messages anymore and content ...
by heskez
Fri Jan 22, 2016 5:45 am
Forum: Nagios Log Server
Topic: Trying to monitor custom windows file -> access denied
Replies: 13
Views: 4609

Re: Trying to monitor custom windows file -> access denied

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.
by heskez
Thu Jan 21, 2016 10:11 am
Forum: Nagios Log Server
Topic: Trying to monitor custom windows file -> access denied
Replies: 13
Views: 4609

Re: Trying to monitor custom windows file -> access denied

Path : Microsoft.PowerShell.Core\FileSystem::D:\test\server1 Owner : BUILTIN\Administrators Group : domain\Domain Users Access : Everyone Allow Modify, Synchronize BUILTIN\Administrators Allow FullControl domain\srv_nxlog Allow ReadAndExecute, Synchronize BUILTIN\Administrators Allow FullControl CR...
by heskez
Thu Jan 21, 2016 5:32 am
Forum: Nagios Log Server
Topic: Trying to monitor custom windows file -> access denied
Replies: 13
Views: 4609

Re: Trying to monitor custom windows file -> access denied

Hi,

I've set the same permissions for d:\test'\server1 on d:'\ so the service is able to tunnel through d:\
Stopped and reran the nxlog service.
Still the same error message.. Access denied
by heskez
Tue Jan 19, 2016 11:52 am
Forum: Nagios Log Server
Topic: Trying to monitor custom windows file -> access denied
Replies: 13
Views: 4609

Re: Trying to monitor custom windows file -> access denied

Hi, I use srv_nxlog as account for the nxlog service to start. srv_nxlog is also local admin on the same server where this directory resides as well the nagios log server itself. Path : Microsoft.PowerShell.Core\FileSystem::D:\test\server1 Owner : BUILTIN\Administrators Group : DOMAIN\Domain Users A...
by heskez
Tue Jan 19, 2016 4:37 am
Forum: Nagios Log Server
Topic: Trying to monitor custom windows file -> access denied
Replies: 13
Views: 4609

Re: Trying to monitor custom windows file -> access denied

Hi I'll paste the original config file :) ## See the nxlog reference manual at ## http://nxlog.org/nxlog-docs/en/nxlog-reference-manual.html ## Please set the ROOT to the folder your nxlog was installed into, ## otherwise it will not start. #define ROOT C:\Program Files\nxlog define ROOT C:\Program ...
by heskez
Mon Jan 18, 2016 11:27 am
Forum: Nagios Log Server
Topic: Trying to monitor custom windows file -> access denied
Replies: 13
Views: 4609

Trying to monitor custom windows file -> access denied

Hi i'd like to monitor a custom Windows file on a server. So I installed nxlog and edited the nxlog file as follows: # Watch your own files <Input windowsfile> Module im_file File 'C:\path\to\target\file' SavePos TRUE Exec $Message = $raw_event; </Input> <Route 1> Path internal, eventlog, windowsfil...
by heskez
Tue Dec 29, 2015 10:55 am
Forum: Nagios Log Server
Topic: Problems receiving Windows event logs from nxlog
Replies: 5
Views: 8572

Re: Problems receiving Windows event logs from nxlog

This looks great thanks!
What exactly made the difference?
by heskez
Tue Dec 29, 2015 3:47 am
Forum: Nagios Log Server
Topic: Problems receiving Windows event logs from nxlog
Replies: 5
Views: 8572

Re: Problems receiving Windows event logs from nxlog

Here it is ## See the nxlog reference manual at ## http://nxlog.org/nxlog-docs/en/nxlog-reference-manual.html ## Please set the ROOT to the folder your nxlog was installed into, ## otherwise it will not start. #define ROOT C:\Program Files\nxlog define ROOT C:\Program Files (x86)\nxlog define CERT %...
by heskez
Thu Dec 24, 2015 7:28 am
Forum: Nagios Log Server
Topic: Problems receiving Windows event logs from nxlog
Replies: 5
Views: 8572

Problems receiving Windows event logs from nxlog

Hi there, I've got the following issue that the Windows host where NXLOG is configured, doesn't show up in the dashboard, nor in tcpdump. I've examined the nxlog log file and show me these error messages: 2015-12-24 12:03:07 WARNING stopping nxlog service 2015-12-24 12:03:07 WARNING nxlog-ce receive...