Ok, so thanks to that small detail I was able to test the check_logfiles and everything works like a charm, I get the seekfile as well as the protocol file with results.
Now when I set up the commands again in Nagios and the service checks I get the following in the interface: (No output returned from plugin) The command is set up this way: define command{ command_name check_nrpe_log command_line $USER1$/check_nrpe -p 5666 -H $HOSTADDRESS$ -c $ARG1$ } The service is set up this way: define service{ use master-service host rflx01app service_description Websphere Logs check_command check_nrpe_log!check_logfiles } Now I try running the command via the command line from the Nagios server (not the server being monitored) with the following: check_nrpe -H 192.168.1.90 -p 5666 -c check_logfiles This should be the equivalent of the command being issued by Nagios based on the setup above. The results are: CRITICAL -(17 errors, 1 warning) - [4/17/08 13:51:42:420 EDT] 00000037 SystemOut 0 java.lang.Exception: DBPool returned NULL connection. ...|websphere_lines=598 websphere_warnings=1 websphere_criticals=17 websphere_unknowns=0 Why can't Nagios receive or interpret these results? Do I need a separate plugin for that? I haven't read much on NSCA but is that what I need? (I had to learn that from scratch :( if that's the case) Thanks all, -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Jay R. Ashworth Sent: Thursday, April 17, 2008 2:22 PM To: Gerhard Lausser Cc: nagios-users@lists.sourceforge.net Subject: Re: [Nagios-users] check_logfiles documentation On Thu, Apr 17, 2008 at 07:34:05PM +0200, Gerhard Lausser wrote: > (There is the option "nologfilenocry" which can be set in a > configurationfile. With this option, a missing logfile is silently > tolerated). It's your plugin, then? That's a *classic* switch name. Cheers, -- jra -- Jay R. Ashworth Baylink [EMAIL PROTECTED] Designer The Things I Think RFC 2100 Ashworth & Associates http://baylink.pitas.com '87 e24 St Petersburg FL USA http://photo.imageinc.us +1 727 647 1274 Those who cast the vote decide nothing. Those who count the vote decide everything. -- (Joseph Stalin) ------------------------------------------------------------------------- This SF.net email is sponsored by the 2008 JavaOne(SM) Conference Don't miss this year's exciting event. There's still time to save $100. Use priority code J8TL2D2. http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javao ne _______________________________________________ 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 ------------------------------------------------------------------------- This SF.net email is sponsored by the 2008 JavaOne(SM) Conference Don't miss this year's exciting event. There's still time to save $100. Use priority code J8TL2D2. http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone _______________________________________________ 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