How to Setup check_winevent?
How to Setup check_winevent?
I wanna tryout check_winevent.
Can someone help me set it up.
Can someone help me set it up.
-
jdalrymple
- Skynet Drone
- Posts: 2620
- Joined: Wed Feb 11, 2015 1:56 pm
Re: How to Setup check_winevent?
nsclient++ can run filters against windows event logs natively. Do you have a particular reason you wish to use this other plugin instead?
http://docs.nsclient.org/reference/CheckEventLog.html
http://docs.nsclient.org/reference/CheckEventLog.html
Code: Select all
[jdalrymple@localhost libexec]$ ./check_nrpe -H <winhost> -c check_eventlog -a scan-range=-4800m file=System filter="level in ('warning', 'error') AND source = 'Service Control Manager'"
WARNING: 0/1 System Service Control Manager (The VMware Workstation Server service terminated unexpectedly. It has done this 1 time(s). The following corrective action will be taken in 60000 milliseconds: Restart the service.)|'count'=1;0;5Re: How to Setup check_winevent?
Someone suggested to use it.
How would you setup the windowslog?
How would you setup the windowslog?
-
jdalrymple
- Skynet Drone
- Posts: 2620
- Joined: Wed Feb 11, 2015 1:56 pm
Re: How to Setup check_winevent?
I don't follow - what is the windowslog?gdolidze wrote:How would you setup the windowslog?
Note that I'm monitoring the Windows Event Log in the example I provided if that's what you're referring to.
Re: How to Setup check_winevent?
Ohh I meant say Check event log.
-
jdalrymple
- Skynet Drone
- Posts: 2620
- Joined: Wed Feb 11, 2015 1:56 pm
Re: How to Setup check_winevent?
The documentation and an example are in my earlier post. What is it that you are seeking to achieve that my example doesn't give you enough information to work out? We can help, but we'd need more information I guess.
Re: How to Setup check_winevent?
Is this the same thing as Windows event log from configuration wizard?
Re: How to Setup check_winevent?
No, they are different. Here is a link to the document that shows how to install and configure the Windows system to be used with the Windows Event Log Monitoring Wizard.
http://assets.nagios.com/downloads/nagi ... entLog.pdf
http://assets.nagios.com/downloads/nagi ... entLog.pdf
Be sure to check out our Knowledgebase for helpful articles and solutions!
Re: How to Setup check_winevent?
I get this error when trying to install the agent
You do not have the required permissions to view the files attached to this post.
Re: How to Setup check_winevent?
The agent will most probably work, despite of the error - you will need to click on the "OK" button 2-3 times to continue.
In regards to the error - this is from the developer:
In regards to the error - this is from the developer:
http://www.steveshipway.org/forum/viewt ... 6f44f300b6The NagEvLog agent is 32bit and so does not appear to reliably install or run correctly under 2k8 64bit. Some people have recompiled in a 64bit environment - the 64bit binary (untested by me and without an install package around it) is available for download in the same place as the normal install package.
Until I get a 64bit MS Visual Studio development environment to compile and test with, I cannot provide a 64bit supported version.
Be sure to check out our Knowledgebase for helpful articles and solutions!