Hello,
We need to search Windows some log files on a Windows system for strings to flag an alert back on our Nagios Box. I have been looking at Check_log3.exe and it seems to work from the command line in the way I am expecting. However, I can't find any information on how to implement it from my Nagios server so I can pass status back to the nagios server.
Or is there a better solution?
Nagios XI Version: R2012 R2.9
Redhat Version: 6.4
Need log file search log capability
-
slansing
- Posts: 7698
- Joined: Mon Apr 23, 2012 4:28 pm
- Location: Travelling through time and space...
Re: Need log file search log capability
How are you running it from the XI system? What is not functioning the way you expected it to? You are going to need to set up an agent on the windows system to execute it, otherwise you will not be able to get it's returned information to Nagios. An agent such as NSClient++, or NCPA.
-
intelXIadmin
- Posts: 65
- Joined: Mon Mar 25, 2013 9:10 am
Re: Need log file search log capability
I wasn't real clear on the question. I have an agent running on the destination, the question is how do I implement check_log3 and set up the check command?slansing wrote:How are you running it from the XI system? What is not functioning the way you expected it to? You are going to need to set up an agent on the windows system to execute it, otherwise you will not be able to get it's returned information to Nagios. An agent such as NSClient++, or NCPA.
Regards,
Randy.
Re: Need log file search log capability
I'd recommend using NCPA:
http://assets.nagios.com/downloads/ncpa ... at-is-ncpa
And the specific section on custom active checks:
http://assets.nagios.com/downloads/ncpa ... un-by-ncpa
Otherwise there is NSClient++ with NRPE:
http://assets.nagios.com/downloads/nagi ... Client.pdf
http://assets.nagios.com/downloads/ncpa ... at-is-ncpa
And the specific section on custom active checks:
http://assets.nagios.com/downloads/ncpa ... un-by-ncpa
Otherwise there is NSClient++ with NRPE:
http://assets.nagios.com/downloads/nagi ... Client.pdf
Former Nagios employee