Karim Heraud wrote:
> Sorry for my bad english
>
> In fact my question is, is it possible to do so :
>
> define service{
> use generic-service
> host_name remotehost1
> service_description Check web service
> check_command check_nrpe!check_webapp!8080!/status
> }
>
> I didn't find anything but "check_nrpe!check_webapp" never
> "check_nrpe!check_webapp!PARAM1!PARAM2"
>
> Thanks for your lights
>
Yes something like that can be done , you'll need to compile NRPE to
allow arguments in command (connfigure --help will show exact
command), once you build the NRPE in that method you'll need to define
the command on the NRPE side and on the querying server so it will
process and extrapolate the command properly , which is a game of define
and check .
I have had an example to that effect , but i can not find it now .
Assaf
------------------------------------------------------------------------------
RSA(R) Conference 2012
Save $700 by Nov 18
Register now
http://p.sf.net/sfu/rsa-sfdev2dev1
_______________________________________________
icinga-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/icinga-users