[hobbit] Duration for one round of server side module

Ralph Mitchell ralphmitchell at gmail.com
Fri May 15 00:29:57 CEST 2009


On Thu, May 14, 2009 at 2:39 PM, Asif Iqbal <vadud3 at gmail.com> wrote:

>
>
> On Thu, May 14, 2009 at 3:09 PM, Ralph Mitchell <ralphmitchell at gmail.com>wrote:
>
>> Maybe I'm missing something, but...  Why not just grab the system
>> date/time at the start, again at the end, then subtract one
>
>
> How do I know the end? The clients are constantly feeding data to
> hobbitd_channel and they may not be coming
> in sequential order. I may receive data from one host twice who is right
> next to hobbit server before I receive
> client data for another host which is in different country
>

Looking at the ssmodule sample program, I think I would pick up the start
and end time in the 'processmessage' routine.  The hostname gets passed
through to that routine, so you could log a timestamp, the hostname and the
duration for each host.

Ralph Mitchell
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.xymon.com/pipermail/xymon/attachments/20090514/a72a0f50/attachment.html>


More information about the Xymon mailing list