I asked before having checked all the documentation.

In etc/nrpe.cfg I can see :

# The following examples allow user-supplied arguments and can
# only be used if the NRPE daemon was compiled with support for
# command arguments *AND* the dont_blame_nrpe directive in this
# config file is set to '1'.  This poses a potential security risk, so
# make sure you read the SECURITY file before doing this.

#command[check_users]=/usr/local/icinga/libexec/check_users -w $ARG1$ -c $ARG2$
#command[check_load]=/usr/local/icinga/libexec/check_load -w $ARG1$ -c $ARG2$
#command[check_disk]=/usr/local/icinga/libexec/check_disk -w $ARG1$ -c $ARG2$ 
-p $ARG3$
#command[check_procs]=/usr/local/icinga/libexec/check_procs -w $ARG1$ -c $ARG2$ 
-s $ARG3$


Le 9 nov. 2011 à 15:58, Karim Heraud a écrit :

> 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
> 
> Le 9 nov. 2011 à 15:43, David Gerbec a écrit :
> 
>> 
>> Hi!
>> 
>> I am not sure i understood you correctly, but yeah, you can use NRPE with 
>> Icinga: http://docs.icinga.org/latest/en/nrpe.html#id1413485
>> 
>> 
>> 
>> 
>> Regards,
>> David Gerbec
>> 
>> On 11/09/2011 03:37 PM, Karim Heraud wrote:
>>> Hello everybody,
>>> 
>>> I have a generic plugin which check status of local HTTP webserver 
>>> (http://127.0.0.1/...). For security reasons I want to let this check on 
>>> loopback.
>>> I have to pass params to this plugin (port, URL).
>>> 
>>> Today to check each local HTTP webserver (for example, I have 3 webservers 
>>> on the same remote host) I have to create a dedicated plugin in Icinga and 
>>> have this plugin on remote side configured with the required params.
>>> 
>>> Is it possible to configure the icinga server to query through nrpe and 
>>> pass the required param to the remote plugin (to only have one plugin on 
>>> the remote host) ?
>>> 
>>> Thanks for your help
>>> 
>>> Karim Heraud
>>> kher...@gmail.com
>>> Mob: 06.31.21.24.27
>>> 
>>> 
>>> ------------------------------------------------------------------------------
>>> RSA(R) Conference 2012
>>> Save $700 by Nov 18
>>> Register now
>>> http://p.sf.net/sfu/rsa-sfdev2dev1
>>> _______________________________________________
>>> icinga-users mailing list
>>> icinga-users@lists.sourceforge.net
>>> https://lists.sourceforge.net/lists/listinfo/icinga-users
>> 
>> -- 
>> David Gerbec, sistemska podpora
>> 
>> Predlog! Obiščite prenovljeno spletno stran http://www.agenda.si
>> 
>> ODPRTA KODA IN LINUX
>> STORITVE : POSLOVNE RESITVE : UPRAVLJANJE IT : INFRASTRUKTURA IT : 
>> IZOBRAZEVANJE : PROGRAMSKA OPREMA
>> 
>> Visit our updated web page at http://www.agenda.si
>> 
>> OPEN SOURCE AND LINUX
>> SERVICES : BUSINESS SOLUTIONS : IT MANAGEMENT : IT INFRASTRUCTURE : TRAINING 
>> : SOFTWARE
>> 
>> "Windows is a 32-bit shell for a 16-bit extension to an 8-bit operating 
>> system designed for a 4-bit microprocessor by a 2-bit company that can't 
>> stand one bit of competition."
>> 
> 
> Karim Heraud
> kher...@gmail.com
> Mob: 06.31.21.24.27
> 

Karim Heraud
kher...@gmail.com
Mob: 06.31.21.24.27

------------------------------------------------------------------------------
RSA(R) Conference 2012
Save $700 by Nov 18
Register now
http://p.sf.net/sfu/rsa-sfdev2dev1
_______________________________________________
icinga-users mailing list
icinga-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/icinga-users

Reply via email to