check_log v1.4.1 doesn't work with NRPE?

Johan Barelds mailings at good-it.com
Thu Sep 22 00:02:23 CEST 2005


Op woensdag 21 september 2005 23:24, schreef Marc Powell:
> You did only ask if anyone was aware of any bugs in check_log via NRPE
> ;) I personally am not.

That's true..:-)

> 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.

That true to..:-)
I did the tests as root. After setting the right permissions on the files for 
user Nagios the problem was solved.
Thanks!

>
> --
> 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

-- 
Kind Regards / Met vriendelijke groet,

Johan Barelds		Good-IT!
Tel.+31(0)70-3965230	Strijplaan 320
Mob.+31(0)6-54253750	2285 HZ  Rijswijk(ZH)
j.barelds at good-it.com	http://www.good-it.com


-------------------------------------------------------
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