Page 1 of 1
Nagios LOG unable to read log files in Windows
Posted: Tue Mar 10, 2020 3:48 pm
by dlukinski
We are getting this error instead of the LOG files being shipped:
{"EventTime":"2020-03-10 22:32:01","Hostname":"ZZZZZZZZZZZ","SeverityValue":4,"Severity":"ERROR","SourceName":"nxlog-ce","ProcessID":5724,"ErrorCode":720005,"EventReceivedTime":"2020-03-10 22:32:01","SourceModuleName":"internal","SourceModuleType":"im_internal","message":"failed to open D:\\Test\\test_std\\WEB-INF\\logs\r\nAccess is denied. "}
SYSTEM has full rights to the folder, how ot make nxlog read the files?
Re: Nagios LOG unable to read log files in Windows
Posted: Tue Mar 10, 2020 10:14 pm
by Box293
In your config I believe you need to define the
full path to the actual log file and not a
directory.
This forum post seems to be similar to your issue.
https://support.nagios.com/forum/viewto ... 10#p169306
Re: Nagios LOG unable to read log files in Windows
Posted: Wed Mar 11, 2020 10:24 am
by dlukinski
How this could possibly work for logging?
- with files, created daily and having various extension naming conventions?
This really makes Nagios LOG useless
Re: Nagios LOG unable to read log files in Windows
Posted: Wed Mar 11, 2020 11:06 am
by scottwilkerson
Re: Nagios LOG unable to read log files in Windows
Posted: Wed Mar 11, 2020 12:42 pm
by dlukinski
Still does work in any capacity
Re: Nagios LOG unable to read log files in Windows
Posted: Wed Mar 11, 2020 1:27 pm
by scottwilkerson
Ok, in the CCM Services look for this config name
edit the service
/log Usage
You will find it has the following hostgroup attached
This hostgroup contains the hosts you are looking for
Re: Nagios LOG unable to read log files in Windows
Posted: Tue Mar 31, 2020 4:44 pm
by dlukinski
scottwilkerson wrote:Ok, in the CCM Services look for this config name
edit the service
/log Usage
You will find it has the following hostgroup attached
This hostgroup contains the hosts you are looking for
This last one must be from another Forum Post - does not apply to us
Please close this thread (we found the resolution for now)
Re: Nagios LOG unable to read log files in Windows
Posted: Wed Apr 01, 2020 7:48 am
by scottwilkerson
dlukinski wrote:scottwilkerson wrote:Ok, in the CCM Services look for this config name
edit the service
/log Usage
You will find it has the following hostgroup attached
This hostgroup contains the hosts you are looking for
This last one must be from another Forum Post - does not apply to us
Please close this thread (we found the resolution for now)
Great!
Locking thread