Hi Assaf!

Thank you very much! I will check it tomorrow.


Gergo

2016-05-03 10:39 GMT+02:00 Assaf Flatto <ici...@flatto.net>:

> You can use the negate plugin to alter the return code of the check.
> I am not sure it will give you what you want, but you may try and alter
> the UNREACHABLE to DOWN with that plugin.
>
> https://www.monitoring-plugins.org/doc/man/negate.html
> If it will work, then the state will remain as you want and allow you to
> track the downtime
>
> Assaf
>
>
>
> On 02/05/16 00:28, Szabó Gergő wrote:
>
> Hi!
>
> I have a problem with monitoring some devices. We have installed them at
> end users and of course, we want to monitor them too. But not all of these
> users are using devices as they should.
> Therefore, we want to know, how long are some devices disconnected from
> network. If elapsed downtime is greater than x days, we bring them back.
>
> So, the problem... installed devices are behind a router and when the
> router goes down, connected devices' state changes from DOWN to UNREACHABLE
> in Icinga. After fixing provider's problem, devices' state changes again to
> DOWN (because parent-child relationship). But when it happens, the downtime
> counter gets reset and then it seems that connected devices were used.
>
> It is possible to prevent counter reset when parent host goes DOWN
> (prevent child host to get UNREACHABLE)? Unfortunately, I can't delete
> parent-child configuration and caching is also not feasible.
>
> Thanks for any advice!
>
>
> Best regards,
> Gergo
>
>
> _______________________________________________
> icinga-users mailing 
> listicinga-users@lists.icinga.orghttps://lists.icinga.org/mailman/listinfo/icinga-users
>
>
>
> _______________________________________________
> icinga-users mailing list
> icinga-users@lists.icinga.org
> https://lists.icinga.org/mailman/listinfo/icinga-users
>
>
_______________________________________________
icinga-users mailing list
icinga-users@lists.icinga.org
https://lists.icinga.org/mailman/listinfo/icinga-users

Reply via email to