check_log v1.4.1 doesn't work with NRPE?

Marc Powell marc at ena.com
Wed Sep 21 23:24:50 CEST 2005


You did only ask if anyone was aware of any bugs in check_log via NRPE
;) I personally am not.

Did you run your test as the user that NRPE is running as on the remote
machine? Can that user read /var/log/messages? That would be my guess as
to the problem.

--
Marc

> -----Original Message-----
> From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-
> admin at lists.sourceforge.net] On Behalf Of Johan Barelds
> Sent: Wednesday, September 21, 2005 4:15 PM
> To: nagios-users at lists.sourceforge.net
> Subject: Re: [Nagios-users] check_log v1.4.1 doesn't work with NRPE?
> 
> Anyone any clues about this problem?
> Thanks for any reply!
> 
> Grz. Johan
> 
> Op dinsdag 20 september 2005 08:08, schreef Johan Barelds:
> > Hi all,
> >
> > I am using the v1.4.1. plugins on a client and Nagios 2.0.0.b4 on
the
> > server. The plugins are beeing executed via NRPE om the client.
> > All the plugins seems to work fine exept the check_log plugin.
> >
> > The nrpe.cfg entry for the check_proc is:
> > ------------------
> > command[check_log_notice]=/usr/local/nagios/libexec/check_log
> > -F /var/log/messages -O /var/tmp/nagios/messages.NOTICE -q NOTIC
> > E
> > ------------------
> > when i do run the plugin from the commandline on the client it say:
> > ------------------
> > Log check ok - 0 pattern matches found
> > ------------------
> >
> > When i do it from the the commandline on the Nagios server it says:
> > ------------------
> > CHECK_NRPE: Error receiving data from daemon.
> > ------------------
> >
> > All other plugins work fine from both the server and the client
side.
> > Is someone aware of any bugs in this check_log plugin when it's
executed
> > via NRPE?


-------------------------------------------------------
SF.Net email is sponsored by:
Tame your development challenges with Apache's Geronimo App Server. 
Download it for free - -and be entered to win a 42" plasma tv or your very
own Sony(tm)PSP.  Click here to play: http://sourceforge.net/geronimo.php
_______________________________________________
Nagios-users mailing list
Nagios-users at 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





More information about the Users mailing list