Hi Evy,

Sadly, this doesn't work.   Both returning OK (0)  and Warn  (1) don't have
any impact on the existing services (user connections) that it can no
longer find.

( Specifically line 62  'return 0, "Client connection not found" ' in the
openvpn_clients script which shipped with 1.2.8p9)



Matt

On Wed, Sep 21, 2016 at 3:30 PM, Evy Bongers <lists+check...@evybongers.nl>
wrote:

> Hi Mathieu,
>
> To my knowledge, Check_MK doesn't offer this out of the box.
> Your best bet would be to modify the check script to have it return OK
> (or any other status), even when the item isn't found.
>
> You'll find the check scripts at $OMD_ROOT/local/share/check_mk/checks/.
>
> Regards,
>
> Evy
>
> On 21/09/16 21:21, Mathieu Levi wrote:
> > Hello,
> >
> > We use the OpenVPN Client plugin to monitor and keep statistics on our
> > VPN connections.   The issue is that when users log out, Check_MK
> > detects the service as having disappeared for that user (the OpenVPN
> > Client plugin likes having one service per user).  If the user logs back
> > in again before a re-inventory of the OpenVPN host, then all is good.
> > However, is there no way to tweak the configuration of the plugin so it
> > doesn't send anything into UNKNOWN status?  The stats/graphs being
> > generated are useful, so the continuity is nice to have (especially when
> > looking at connection issues and someone got disconnected).
> >
> > One potential approach would be to change the OpenVPN configuration
> > itself so it keeps entries in its log when a user disconnects, if that
> > is even possible, but I'd rather avoid that.
> >
> > Thanks
> >
> > Matt
> >
> >
> > _______________________________________________
> > checkmk-en mailing list
> > checkmk-en@lists.mathias-kettner.de
> > http://lists.mathias-kettner.de/mailman/listinfo/checkmk-en
> >
>
_______________________________________________
checkmk-en mailing list
checkmk-en@lists.mathias-kettner.de
http://lists.mathias-kettner.de/mailman/listinfo/checkmk-en

Reply via email to