No, both ends require the same checkcommand. That way you can restrict
certain arguments on the remote client - a bit tad more secure than nrpe
command args.

Michael

Am Dienstag, 3. Februar 2015 schrieb Marcio Moreira :

> Hi,
>
> But it's possible with icinga2 remote client, just define the commands in
> master with plugins in client side ?
>
> The master send the command to execute to the client and the client execute
> that command, sending the result back to the master.
>
>
>
> Best Regards
> --
> Márcio Filipe Mendes Moreira <[email protected] <javascript:;>>
> Administrador de Sistemas
> Eurotux Informatica, SA | www.eurotux.com
> Tel: (+351) 253680300 - Suporte: (+351) 253680301
> Fax: (+351) 253680319
> On Tuesday 03 February 2015 13:41:38 Gunnar Beutner wrote:
> > Assuming you’re referring to command_endpoint:
> >
> > Both the master as well as the satellite instance need to have the same
> > command definition. This because rather than just sending the command
> line
> > to the satellite the master sends the following information:
> >
> > A) the command name
> > B) whatever macros the satellite needs to execute the command
> >
> > The rationale for this is that constants might have different values on
> > the master and the satellite (e.g. PluginDir) which is why we can’t just
> > send the command line as a string. The added bonus is that the master
> > can’t just execute arbitrary commands on the satellite (like NRPE with
> > „don’t blame NRPE“ enabled).
> >
> > The satellite also needs the command definition because it really just
> > fills in the macros it got from the master and executes that command.
> >
> >
> >
> >
> > On 03/02/15 13:47, "Marcio Moreira" <[email protected] <javascript:;>>
> wrote:
> >
> >
> > >Hi,
> > >
> > >Is it mandatory to have the same commands defined in file commands.conf
> > >on bofh
> > >both the client and the master server to check the remote client ?
> > >
> > >It's not possible just define the commands in master side ?
> > >
> > >
> > >
> > >Best Regards
> > >--
> > >Márcio Filipe Mendes Moreira <[email protected] <javascript:;>>
> > >Administrador de Sistemas
> > >Eurotux Informatica, SA | www.eurotux.com
> > >Tel: (+351) 253680300 - Suporte: (+351) 253680301
> > >Fax: (+351) 253680319
> >
> >
> > --
> > Gunnar Beutner
> > Application Developer
> >
> > NETWAYS GmbH | Deutschherrnstr. 15-19 | D-90429 Nuernberg
> > Tel: +49 911 92885-0 | Fax: +49 911 92885-77
> > GF: Julian Hein, Bernd Erk | AG Nuernberg HRB18461
> > http://www.netways.de | [email protected] <javascript:;>
> >
> > ** CeBIT 2015 - 16.-20. März 2015 - http://www.netways.de/cebit **
> > ** OSDC 2015 - April - osdc.de **
> > ** Puppet Camp Berlin 2015 - April - netways.de/puppetcamp **
> > ** OSBConf 2015 - September - osbconf.org **
> > _______________________________________________
> > icinga-users mailing list
> > [email protected] <javascript:;>
> > https://lists.icinga.org/mailman/listinfo/icinga-users
_______________________________________________
icinga-users mailing list
[email protected]
https://lists.icinga.org/mailman/listinfo/icinga-users

Reply via email to