Hi,

I think,  with Nagios livestatus module, connection is closed right 
after a successfull request, not after 5min of inactivity.

So , in a bash script, we can use something like 'cat query_file | nc 
nagioshost livestatusport' to interact with the livestatus module and 
get a response right away without waiting 5min.

To get the same behaviour with Shinken, I had to add 'close_it = True' 
in sourcecode.

Regards

Olivier

Le 08/05/2011 19:14, Gerhard Lausser a écrit :
> Hi,
>
>> I wanted to use the livestatus module from shinken the same way I was
>> using the one from Nagios,
> what does this mean exactly? How dows the client interact with the
> livestatus module?
>
>
>> connection after a successful query.
> With "KeepAlive: on" the connection will not be closed at all (ok, after 5
> minutes of inactivity). Otherwise after a succesfully handled request the
> state of the connection is set to "idle". This means that the connection is
> queued to be closed.
>
> Gerhard
>
>
> __________ Hinweis von ESET NOD32 Antivirus, Signaturdatenbank-Version 6105
> (20110508) __________
>
> E-Mail wurde gepruft mit ESET NOD32 Antivirus.
>
> http://www.eset.com
>
>
>
> ------------------------------------------------------------------------------
> WhatsUp Gold - Download Free Network Management Software
> The most intuitive, comprehensive, and cost-effective network
> management toolset available today.  Delivers lowest initial
> acquisition cost and overall TCO of any competing solution.
> http://p.sf.net/sfu/whatsupgold-sd
> _______________________________________________
> Shinken-devel mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/shinken-devel


------------------------------------------------------------------------------
WhatsUp Gold - Download Free Network Management Software
The most intuitive, comprehensive, and cost-effective network 
management toolset available today.  Delivers lowest initial 
acquisition cost and overall TCO of any competing solution.
http://p.sf.net/sfu/whatsupgold-sd
_______________________________________________
Shinken-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/shinken-devel

Reply via email to