Yes, ubic.ping reports cached status, the one you can obtain by running 'ubic cached-status my.service'.
This status is updated every minute by ubic.watchdog.
I don't think we can change that without risking breaking something. Some monitoring services, for example in Yandex, depend on /status/... urls being fast, and for the broken service, real status check can take a long time.
Also, ubic.ping implementation is currently single-threaded.
I'd accept the patch for ubic.ping which would add /real-status/service/... handle, if it'd include the solution for single-thread problem. But I'd also like to avoid extra dependencies (on AnyEvent, Dancer, or any other large library or framework), so it's not easy.
Alternatively, you could abandon ubic.ping entirely and write your own status-reporting http service, or become the maintainer for unfinished
https://github.com/berekuk/ubic-web. I'd like to remove ubic.ping from the core Ubic distribution eventually, anyway.
--
You received this message because you are subscribed to the Google Groups "Ubic" group.
To unsubscribe from this group and stop receiving emails from it, send an email to ubic-perl+...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.