Hi Support,
We have a requirement to monitor windows log file(Text file). I have tried to implement check_logfiles.exe in windows, but PAR module is not installing because of some proxy settings.
Can you please suggest best approach to achieve this functionality.
Windows log file monitoring
Re: Windows log file monitoring
Have you looked in to Nagios Log Server? You can set up NXLog to send the logs to Nagios Log Server. It's a great product.
Former Nagios Employee.
me.
me.
Re: Windows log file monitoring
Yes. I have looked at given link, but customer is looking for plugin to achieve the functionality. Please let us know if there is any available plugin for this.
-
scottwilkerson
- DevOps Engineer
- Posts: 19396
- Joined: Tue Nov 15, 2011 3:11 pm
- Location: Nagios Enterprises
- Contact:
Re: Windows log file monitoring
The best one for this I know of is https://exchange.nagios.org/directory/P ... es/details
It comes in both a Windows and Linux variety
It comes in both a Windows and Linux variety
Re: Windows log file monitoring
Thanks for the update.
I am trying to do windows log file monitoring using NRPE with below command, but I am facing below error while running
[root@XXXX ~]# /usr/local/nagios/libexec/check_nrpe -H YYYY -c check_logfile -a file='C:\test.log' "warn=column1 LIKE 'error'"
Failed to open file: C:\test.log
[root@XXXX ~]#
Please find attached nsclient.ini file and let us know how to proceed with this kind of issue.
I am trying to do windows log file monitoring using NRPE with below command, but I am facing below error while running
[root@XXXX ~]# /usr/local/nagios/libexec/check_nrpe -H YYYY -c check_logfile -a file='C:\test.log' "warn=column1 LIKE 'error'"
Failed to open file: C:\test.log
[root@XXXX ~]#
Please find attached nsclient.ini file and let us know how to proceed with this kind of issue.
You do not have the required permissions to view the files attached to this post.
Re: Windows log file monitoring
It might be a permission issue of the file test.log -- can you run this on the windows machine, and post back the result?
Also, can you take a look at the nsclient log file, and see if there is anything related to you running that check?
Code: Select all
icacls C:\test.log
Former Nagios Employee
Re: Windows log file monitoring
Below is output
C:\Program Files (x86)\WinZip>icacls C:\test.log
C:\test.log: The system cannot find the file specified.
Successfully processed 0 files; Failed processing 1 files
C:\Program Files (x86)\WinZip>
C:\Program Files (x86)\WinZip>icacls C:\test.log
C:\test.log: The system cannot find the file specified.
Successfully processed 0 files; Failed processing 1 files
C:\Program Files (x86)\WinZip>
Re: Windows log file monitoring
I see you have opened up an email ticket for this, so we will continue communication via email. I will be closing this thread now.
Former Nagios employee