nrpe stopped working after upgrade
Henrik Morsing
henrik at morsing.cc
Tue Apr 10 16:41:30 CEST 2007
On Tue, Apr 10, 2007 at 04:10:57PM +0200, chiel wrote:
> hi,
>
> I had this issue also today.
> In my case I had the command definitions set to recieve aruguments ($ARG1$,
> $ARG2$..etc) but the service definitions did not pased any aruguments (sinds
> it didn't need to).
> After making a second check_nrpe command definition that didn't expected any
> arguments it worked.
>
> hope it helps,
Oh... It most certainly did :)
All I did was remove -a $ARG2$ from /etc/nagios-plugins/config/check_nrpe.cfg and it works :) I'm so happy.
Thanks to both of you, Andy as well, for helping me out with this.
Regards
Henrik
>
>
> ----- Original Message -----
> From: "Andy Shellam" <andy.shellam-lists at mailnetwork.co.uk>
> To: "Henrik Morsing" <henrik at morsing.cc>
> Cc: <nagios-users at lists.sourceforge.net>
> Sent: Tuesday, April 10, 2007 4:04 PM
> Subject: Re: [Nagios-users] nrpe stopped working after upgrade
>
>
> > Hi Henrik,
> >
> > As I mentioned previously, the "no output returned from plugin" error
> > means that Nagios did contact NRPE successfully, but had nothing
> > returned (otherwise you'd get a "Socket timeout" or "NRPE: SSL handshake
> > failed" or similar failure). If you're certain Nagios isn't actually
> > contacting NRPE, then I suggest you check your Nagios config etc.
> >
> > What might be helpful is if you also post:
> >
> > What happens when you run "check_nrpe -H <remote_host_ip> -c
> > <a_valid_nrpe_command>" when run as the Nagios user.
> > The output you see in Nagios.
> > Your Nagios's NRPE command definition and a relevant service definition.
> >
> > Andy.
> >
> > Henrik Morsing wrote:
> >> So no-one has any other ideas?
> >>
> >> Regards
> >> Henrik
> >>
> >>
> >> On Mon, Apr 09, 2007 at 11:39:22AM +0100, Henrik Morsing wrote:
> >>
> >>> On Mon, Apr 09, 2007 at 07:36:17PM +0900, Robert Smith wrote:
> >>>
> >>>> You could also try prepending an echo to the command_line in the
> >>>> command
> >>>> and you will see the exact command line it is executing in the cgi
> >>>> interface, then copy and paste that into a terminal. work the bugs out
> >>>> from there.
> >>>>
> >>> Thanks. Where do I add this exactly?
> >>>
> >>> Thanks,
> >>> Henrik Morsing
> >>>
> >>> -------------------------------------------------------------------------
> >>> Take Surveys. Earn Cash. Influence the Future of IT
> >>> Join SourceForge.net's Techsay panel and you'll get the chance to share
> >>> your
> >>> opinions on IT & business topics through brief surveys-and earn cash
> >>> http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
> >>> _______________________________________________
> >>> 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
> >>>
> >>
> >> -------------------------------------------------------------------------
> >> Take Surveys. Earn Cash. Influence the Future of IT
> >> Join SourceForge.net's Techsay panel and you'll get the chance to share
> >> your
> >> opinions on IT & business topics through brief surveys-and earn cash
> >> http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
> >> _______________________________________________
> >> 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
> >>
> >> !DSPAM:37,461b986889292390011319!
> >>
> >>
> >>
> >
> >
> > -------------------------------------------------------------------------
> > Take Surveys. Earn Cash. Influence the Future of IT
> > Join SourceForge.net's Techsay panel and you'll get the chance to share
> > your
> > opinions on IT & business topics through brief surveys-and earn cash
> > http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
> > _______________________________________________
> > 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
>
>
> -------------------------------------------------------------------------
> Take Surveys. Earn Cash. Influence the Future of IT
> Join SourceForge.net's Techsay panel and you'll get the chance to share your
> opinions on IT & business topics through brief surveys-and earn cash
> http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
> _______________________________________________
> 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
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
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