<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 TRANSITIONAL//EN">
<HTML>
<HEAD>
  <META HTTP-EQUIV="Content-Type" CONTENT="text/html; CHARSET=UTF-8">
  <META NAME="GENERATOR" CONTENT="GtkHTML/1.0.2">
</HEAD>
<BODY>
Well if you think from the nagios server part, we're allowed to use function with args, and this is very fine. For example if you need to tune more precisely the check_disk1 on the remote host, you'll need to update the nrpe.cfg on the remote, and we don't have a quick idea of what parameters are.
<BR>
So may be getting parameters on the nagios server may be a good idea.
<BR>
Any way, I've done like the samples, I mean use a specific function on my remote server to check my services.
<BR>

<BR>
Note that I've take a look on the FAQ, and there discover the ssh plugin, and I was thinking on using this, but may be on another step.
<BR>

<BR>
The needs where: HOW could I get results from remote command execution on servers. And the NRPE Addon is A solution.
<BR>

<BR>
Thanks for your help
<BR>
Pascal Miquet
<BR>

<BR>

<BR>
Le jeu 21/11/2002 à 05:43, Ethan Galstad a écrit :
    <BLOCKQUOTE>
<PRE><FONT COLOR="#737373"><FONT SIZE="3"><I>On 20 Nov 2002 at 10:52, Pascal Miquet wrote:</FONT></FONT></I>
<FONT COLOR="#737373"><FONT SIZE="3"><I></FONT></FONT></I>
<FONT COLOR="#737373"><FONT SIZE="3"><I>> </FONT></FONT></I>
<FONT COLOR="#737373"><FONT SIZE="3"><I>> Just to say that the NRPE is for me a good thing. I took less than an </FONT></FONT></I>
<FONT COLOR="#737373"><FONT SIZE="3"><I>> hour to compile, install, and check things are working. </FONT></FONT></I>
<FONT COLOR="#737373"><FONT SIZE="3"><I>> </FONT></FONT></I>
<FONT COLOR="#737373"><FONT SIZE="3"><I>> I'm just surprised that commands seems to be frozen, I mean no </FONT></FONT></I>
<FONT COLOR="#737373"><FONT SIZE="3"><I>> arguments from the Nagios server, just request the command and that's </FONT></FONT></I>
<FONT COLOR="#737373"><FONT SIZE="3"><I>> it. </FONT></FONT></I>
<FONT COLOR="#737373"><FONT SIZE="3"><I>> Note, I didn't test to pass arguments to the command on my nagios </FONT></FONT></I>
<FONT COLOR="#737373"><FONT SIZE="3"><I>> server. </FONT></FONT></I>
<FONT COLOR="#737373"><FONT SIZE="3"><I>> Should be better to give arguments on the command executed on the </FONT></FONT></I>
<FONT COLOR="#737373"><FONT SIZE="3"><I>> remote server. </FONT></FONT></I>
<FONT COLOR="#737373"><FONT SIZE="3"><I>> </FONT></FONT></I>
<FONT COLOR="#737373"><FONT SIZE="3"><I>> Any way, </FONT></FONT></I>
<FONT COLOR="#737373"><FONT SIZE="3"><I>> Thanks a lot for this nice feature. </FONT></FONT></I>
<FONT COLOR="#737373"><FONT SIZE="3"><I>> Pascal Miquet </FONT></FONT></I>
<FONT COLOR="#737373"><FONT SIZE="3"><I></FONT></FONT></I>
<FONT COLOR="#737373"><FONT SIZE="3"><I>I might add support for command arguments in NRPE in future versions </FONT></FONT></I>
<FONT COLOR="#737373"><FONT SIZE="3"><I>(because its been requested so much), but I see this as a big </FONT></FONT></I>
<FONT COLOR="#737373"><FONT SIZE="3"><I>security problem more than anything.  Allowing unauthenticated users </FONT></FONT></I>
<FONT COLOR="#737373"><FONT SIZE="3"><I>to execute plugins with arbitrary arguments on remote systems is </FONT></FONT></I>
<FONT COLOR="#737373"><FONT SIZE="3"><I>probably not a good idea.  In order to make it safer, I'd have to add </FONT></FONT></I>
<FONT COLOR="#737373"><FONT SIZE="3"><I>encryption and some means of authentication/authorization.  Seems </FONT></FONT></I>
<FONT COLOR="#737373"><FONT SIZE="3"><I>better to just use check_by_ssh if you really need that </FONT></FONT></I>
<FONT COLOR="#737373"><FONT SIZE="3"><I>functionality.</FONT></FONT></I>
<FONT COLOR="#737373"><FONT SIZE="3"><I></FONT></FONT></I>
<FONT COLOR="#737373"><FONT SIZE="3"><I></FONT></FONT></I>
<FONT COLOR="#737373"><FONT SIZE="3"><I>Ethan Galstad,</FONT></FONT></I>
<FONT COLOR="#737373"><FONT SIZE="3"><I>Nagios Developer</FONT></FONT></I>
<FONT COLOR="#737373"><FONT SIZE="3"><I>---</FONT></FONT></I>
<FONT COLOR="#737373"><FONT SIZE="3"><I>Email: nagios@nagios.org</FONT></FONT></I>
<FONT COLOR="#737373"><FONT SIZE="3"><I>Website: http://www.nagios.org</FONT></FONT></I>
<FONT COLOR="#737373"><FONT SIZE="3"><I></FONT></FONT></I>
<FONT COLOR="#737373"><FONT SIZE="3"><I></FONT></FONT></I>
<FONT COLOR="#737373"><FONT SIZE="3"><I></FONT></FONT></I>
<FONT COLOR="#737373"><FONT SIZE="3"><I>-------------------------------------------------------</FONT></FONT></I>
<FONT COLOR="#737373"><FONT SIZE="3"><I>This sf.net email is sponsored by:ThinkGeek</FONT></FONT></I>
<FONT COLOR="#737373"><FONT SIZE="3"><I>Welcome to geek heaven.</FONT></FONT></I>
<FONT COLOR="#737373"><FONT SIZE="3"><I>http://thinkgeek.com/sf</FONT></FONT></I>
<FONT COLOR="#737373"><FONT SIZE="3"><I>_______________________________________________</FONT></FONT></I>
<FONT COLOR="#737373"><FONT SIZE="3"><I>Nagios-users mailing list</FONT></FONT></I>
<FONT COLOR="#737373"><FONT SIZE="3"><I>Nagios-users@lists.sourceforge.net</FONT></FONT></I></PRE>
    </BLOCKQUOTE>
<A HREF="https://lists.sourceforge.net/lists/listinfo/nagios-users"><FONT SIZE="3"><I>https://lists.sourceforge.net/lists/listinfo/nagios-users</FONT></I></A>
    <BLOCKQUOTE>
<PRE></PRE>
    </BLOCKQUOTE>
</BODY>
</HTML>