Thank you, Claudio,
It was simple to setup, and it works.
I have one question.
Here is my command in the /usr/local/nagios/etc/nrpe.cfg on the target host:
command[check_server_log]=/usr/local/nagios/libexec/check_logfiles
--logfile=/opt/cvs-jboss7/standalone/log/server.log --criticalpattern="ERROR"
--noprotocol
Default output message is "ok - no errors or warnings"
Since I am checking for errors only, this message is somehow misleading in my
case.
Does somebody know how to change it to
"ok - no errors "
Thanks.
Mikhail.
From: Claudio Kuenzler [mailto:c...@claudiokuenzler.com]
Sent: Thursday, April 05, 2012 12:18 PM
To: Nagios Users List
Subject: Re: [Nagios-users] server log plugin
This one is probably the best one:
http://labs.consol.de/lang/en/nagios/check_logfiles/
On Thu, Apr 5, 2012 at 6:56 PM, Parkman, Mikhail
<mikhail_park...@cable.comcast.com<mailto:mikhail_park...@cable.comcast.com>>
wrote:
I need to perform the following tasks:
* Demonstrated that Nagios alert is fired when certain messages are logged in
the application log file on the target (remote) host
* Nagios "info message" is fired when error condition is cleared.
I found out "logwarn" plugin but I didn't find detailed configuration
instructions for this plugin.
http://exchange.nagios.org/directory/Plugins/Log-Files/check_logwarn/details
And another one - "check_logfiles" - this one is described better in my opinion
but referring to something called OPSVIEW that I don't have any idea about.
http://www.osupport.net/2011/log-files-monitoring-with-nagios-opsview/
Did somebody have experience with well documented "check log" plugin, and could
recommend one so that the functionality of the recommended plugin matches
bulleted tasks in the beginning of this email that I have to accomplish?
Thanks.
Mikhail.
------------------------------------------------------------------------------
Better than sec? Nothing is better than sec when it comes to
monitoring Big Data applications. Try Boundary one-second
resolution app monitoring today. Free.
http://p.sf.net/sfu/Boundary-dev2dev
_______________________________________________
Nagios-users mailing list
Nagios-users@lists.sourceforge.net<mailto:Nagios-users@lists.sourceforge.net>
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting
any issue.
::: Messages without supporting info will risk being sent to /dev/null
------------------------------------------------------------------------------
For Developers, A Lot Can Happen In A Second.
Boundary is the first to Know...and Tell You.
Monitor Your Applications in Ultra-Fine Resolution. Try it FREE!
http://p.sf.net/sfu/Boundary-d2dvs2
_______________________________________________
Nagios-users mailing list
Nagios-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting
any issue.
::: Messages without supporting info will risk being sent to /dev/null