Thanks all, it works like a charm
Karim
Le 9 nov. 2011 à 16:33, infos a écrit :
> Sorry for my bad english too :D
>
> I confirm
>
> Here is an example to monitor cups
>
> ---
> define service{
> use generic-service
> host_name host-1
> service_description cups_queue
> check_command check_nrpe!$HOSTADDRESS$!check_cups_queue!'-H
> X.X.X.X -T b -w 1 -c 2 -a 1'
> }
> ---
>
> It must be activated "dont_blame_nrpe = 1" with nrpe client and modify
> the basic command:
>
> ---
> command[check_cups_queue]=/usr/lib/nagios/plugins/check_cups_queue $ARG1$
> ---
>
> Alex
>
>
> On 09/11/2011 15:58, 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
>>
>> 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
>>>> [email protected] <mailto:[email protected]>
>>>> 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
>>>> [email protected]
>>>> <mailto:[email protected]>
>>>> 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
>> [email protected] <mailto:[email protected]>
>> 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
>> [email protected]
>> https://lists.sourceforge.net/lists/listinfo/icinga-users
>
> ------------------------------------------------------------------------------
> 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
Karim Heraud
[email protected]
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
[email protected]
https://lists.sourceforge.net/lists/listinfo/icinga-users