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?
Nagios LOG unable to read log files in Windows
- Box293
- Too Basu
- Posts: 5126
- Joined: Sun Feb 07, 2010 10:55 pm
- Location: Deniliquin, Australia
- Contact:
Re: Nagios LOG unable to read log files in Windows
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
This forum post seems to be similar to your issue.
https://support.nagios.com/forum/viewto ... 10#p169306
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
Re: Nagios LOG unable to read log files in Windows
Box293 wrote: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
How this could possibly work for logging?
- with files, created daily and having various extension naming conventions?
This really makes Nagios LOG useless
-
scottwilkerson
- DevOps Engineer
- Posts: 19396
- Joined: Tue Nov 15, 2011 3:11 pm
- Location: Nagios Enterprises
- Contact:
Re: Nagios LOG unable to read log files in Windows
You can use wildcards in for the file name
See:
http://nxlog-ce.sourceforge.net/nxlog-d ... ml#im_file
See:
http://nxlog-ce.sourceforge.net/nxlog-d ... ml#im_file
Re: Nagios LOG unable to read log files in Windows
Still does work in any capacityscottwilkerson wrote:You can use wildcards in for the file name
See:
http://nxlog-ce.sourceforge.net/nxlog-d ... ml#im_file
-
scottwilkerson
- DevOps Engineer
- Posts: 19396
- Joined: Tue Nov 15, 2011 3:11 pm
- Location: Nagios Enterprises
- Contact:
Re: Nagios LOG unable to read log files in Windows
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
Code: Select all
3ds-app40_53.40You will find it has the following hostgroup attached
Code: Select all
3DS TATA IDC BangaloreRe: Nagios LOG unable to read log files in Windows
This last one must be from another Forum Post - does not apply to usscottwilkerson wrote:Ok, in the CCM Services look for this config nameedit the service /log UsageCode: Select all
3ds-app40_53.40
You will find it has the following hostgroup attachedThis hostgroup contains the hosts you are looking forCode: Select all
3DS TATA IDC Bangalore
Please close this thread (we found the resolution for now)
-
scottwilkerson
- DevOps Engineer
- Posts: 19396
- Joined: Tue Nov 15, 2011 3:11 pm
- Location: Nagios Enterprises
- Contact:
Re: Nagios LOG unable to read log files in Windows
Great!dlukinski wrote:This last one must be from another Forum Post - does not apply to usscottwilkerson wrote:Ok, in the CCM Services look for this config nameedit the service /log UsageCode: Select all
3ds-app40_53.40
You will find it has the following hostgroup attachedThis hostgroup contains the hosts you are looking forCode: Select all
3DS TATA IDC Bangalore
Please close this thread (we found the resolution for now)
Locking thread